Tools: bookings

Find and read bookings, add one, change, cancel, answer a request, record a payment.

Overview

ToolKindWhat it does
list_bookingsreadFind bookings
get_bookingreadSee a booking
create_bookingpreviewAdd a booking
update_bookingpreviewChange a booking
set_booking_statuspreviewSet a booking status
cancel_bookingpreviewCancel a booking
answer_booking_requestpreviewAnswer a booking request
answer_change_requestpreviewAnswer a change request
record_paymentpreviewRecord a payment

Each entry is the tool as tools/list on https://mcp.hostemi.com/mcp lists it for a workspace without preview features, generated from the server. The description is the sentence your AI reads. Examples marked recorded are real answers from a test workspace (names changed); the others are calls checked against the schema, with the shape of the answer.

list_bookings

Find bookings. Reads. Changes nothing.

Finds bookings by dates, listing, status or guest, 20 at a time; status "requests" lists booking requests and guests' questions waiting for the host's answer. Use when the host asks who is coming, about a guest, or what waits for an answer. One booking in full: get_booking.

PropertyValue
Kindread
HintsreadOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false
Built onreservations_list, reservation_requests_list, reservation_request_get
ParameterTypeRequiredDescription
listingIdstringnoOnly this listing.
fromstringnoStays touching this day or later.
tostringnoStays touching this day or earlier.
statusenumnoDefault: all but cancelled. One of: requests, confirmed, checked_in, checked_out, cancelled, no_show, on_hold, question.
gueststringnoGuest name, e-mail or booking code.
limitintegernoDefault 20.
cursorstringnoFrom nextCursor.
Call (recorded 2026-11-19)
{
  "name": "list_bookings",
  "arguments": {
    "from": "2026-12-01",
    "to": "2026-12-31",
    "status": "confirmed"
  }
}
Answer (structuredContent)
{
  "ok": true,
  "summary": "2 bookings between 2026-12-01 and 2026-12-31.",
  "data": {
    "bookings": [
      {
        "id": "cmwkahsef000b2ikz2r939nf4",
        "code": "HST-2026-000012",
        "guest": "Anna Keller",
        "listing": {
          "id": "cmwhux6y60026somfhixjmcm8",
          "name": "Lake house"
        },
        "checkIn": "2026-12-27",
        "checkOut": "2026-12-30",
        "nights": 3,
        "status": "confirmed",
        "platform": "Added by you",
        "bookedOn": "2026-11-17",
        "total": {
          "amount": "360.00",
          "currency": "EUR",
          "display": "€360.00"
        },
        "due": {
          "amount": "360.00",
          "currency": "EUR",
          "display": "€360.00"
        }
      },
      {
        "id": "cmwhux70i002hsomfqyvycrsa",
        "code": "HST-2026-000001",
        "guest": "Lena Hoffmann",
        "listing": {
          "id": "cmwhux6y60026somfhixjmcm8",
          "name": "Lake house"
        },
        "checkIn": "2026-12-05",
        "checkOut": "2026-12-08",
        "nights": 3,
        "status": "confirmed",
        "platform": "Added by you",
        "bookedOn": "2026-11-15",
        "total": {
          "amount": "360.00",
          "currency": "EUR",
          "display": "€360.00"
        },
        "due": {
          "amount": "360.00",
          "currency": "EUR",
          "display": "€360.00"
        }
      }
    ],
    "requests": []
  },
  "nextCursor": null
}

Errors it raises itself: ONE_PAGE. Every tool can also answer the shared errors.

get_booking

See a booking. Reads. Changes nothing.

One booking: guest, stay, listing, guests, total and what is due, extras, a change the guest asked for, online check-in progress and its page in Hostemi. Use when the host asks about one booking. Contact details, payments and notes only when the host asks; door codes stay in Hostemi.

PropertyValue
Kindread
HintsreadOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false
Cardbooking
Built onreservations_get, reservations_finance, payments_list, charges_list, reservation_pending_changes, guests_get
ParameterTypeRequiredDescription
bookingIdstringyesA booking id (list_bookings).
showenum[]noWhat the host asked to see. One of: contact, payments, notes.
Call (recorded 2026-11-18)
{
  "name": "get_booking",
  "arguments": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4"
  }
}
Answer (structuredContent)
{
  "ok": true,
  "summary": "Anna Keller, Sun 27 to Wed 30 Dec 2026 (3 nights) at Lake house: confirmed, Added by you, total €360.00, €360.00 still due.",
  "data": {
    "booking": {
      "id": "cmwkahsef000b2ikz2r939nf4",
      "code": "HST-2026-000012",
      "status": "confirmed",
      "platform": "Added by you",
      "bookedOn": "2026-11-17",
      "listing": {
        "id": "cmwhux6y60026somfhixjmcm8",
        "name": "Lake house"
      },
      "stay": {
        "checkIn": "2026-12-27",
        "checkOut": "2026-12-30",
        "nights": 3,
        "display": "Sun 27 to Wed 30 Dec 2026 (3 nights)"
      },
      "guests": {
        "adults": 2,
        "children": 0,
        "infants": 0
      },
      "guest": {
        "id": "cmwkahsec00092ikz7wkxfv1a",
        "name": "Anna Keller",
        "email": "[email protected]",
        "phone": "+43 660 5550117",
        "country": "AT",
        "language": "en"
      },
      "conversationId": "cmwkahsfp00012it9mygk278a",
      "datesChangeableHere": true
    },
    "money": {
      "total": {
        "amount": "360.00",
        "currency": "EUR",
        "display": "€360.00"
      },
      "paid": {
        "amount": "0.00",
        "currency": "EUR",
        "display": "€0.00"
      },
      "due": {
        "amount": "360.00",
        "currency": "EUR",
        "display": "€360.00"
      },
      "paymentStatus": "not paid",
      "collectedBy": "the host"
    },
    "payments": [],
    "extras": [],
    "pendingChange": null
  }
}

Errors it raises itself: none of its own. Every tool can also answer the shared errors.

create_booking

Add a booking. Stores a preview with a change id (chg_…). Nothing changes until apply_change.

Adds a booking the host took themselves (phone, e-mail, a returning guest); its nights close wherever the listing is sold. Use when the host asks to add one; never for a platform's booking, which arrives on its own. Returns a preview to approve; may notify the host.

PropertyValue
Kindpreview
Approval classnormal
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false
Cardbooking
Built onreservation_create
ParameterTypeRequiredDescription
listingIdstringnoFrom get_context.
checkInstringyesArrival day, YYYY-MM-DD.
checkOutstringyesDeparture morning: 12 to 15 is 3 nights.
guestobjectyesA first and last name; nothing else is needed.
guest.firstNamestringnoFirst name.
guest.lastNamestringnoLast name.
guest.emailstringnoThe one the host gave.
guest.languagestringno"de", for their messages.
adultsintegernoDefault 2.
childrenintegernoDefault 0.
infantsintegernoUnder 2; default 0.
totalobjectnoAgreed total; omit for the listing price.
total.amountstringyes"135.00"
total.currencystringyes"EUR"
holdbooleannoHold the nights 48 hours, unconfirmed.
notestringnoThe host's note; guests never see it.
Example call
{
  "name": "create_booking",
  "arguments": {
    "listingId": "cmwhux6y60026somfhixjmcm8",
    "checkIn": "2027-03-03",
    "checkOut": "2027-03-06",
    "guest": {
      "firstName": "Marta",
      "lastName": "Novak",
      "country": "SI"
    },
    "adults": 2,
    "total": {
      "amount": "240.00",
      "currency": "EUR"
    }
  }
}
Answer shape
{
  "ok": true,
  "summary": "One sentence for the host.",
  "data": {
    "listing": "object",
    "stay": "object",
    "total": "object?",
    "priceFrom": "string"
  },
  "change": {
    "id": "chg_…",
    "state": "preview",
    "risk": "NORMAL | RISKY",
    "expiresAt": "ISO time"
  },
  "next": [
    {
      "tool": "a tool name",
      "args": {},
      "why": "Why this is the next step."
    }
  ]
}

Errors it raises itself: GUEST_REQUIRED, INVALID_DATE. Every tool can also answer the shared errors.

update_booking

Change a booking. Stores a preview with a change id (chg_…). Nothing changes until apply_change.

Changes one booking, one kind of change per call: dates or guest numbers, a move to another listing of the same place, or the host's own note (guests never see it). Use when the host asks to change a booking. A platform's booking changes its dates on the platform; status: set_booking_status. Returns a preview to approve; may notify the host.

PropertyValue
Kindpreview
Approval classnormal
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false
Cardchange
Built onreservation_modify
ParameterTypeRequiredDescription
bookingIdstringyesA booking id (list_bookings).
checkInstringnoNew arrival day, YYYY-MM-DD.
checkOutstringnoNew departure morning, YYYY-MM-DD.
adultsintegernoNew number of adults.
childrenintegernoNew number of children.
infantsintegernoNew number of infants.
listingIdstringnoMove it to this listing of the same place.
notestringnoReplaces the host's note (guests never see it).
Example call
{
  "name": "update_booking",
  "arguments": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4",
    "adults": 3
  }
}
Answer shape
{
  "ok": true,
  "summary": "One sentence for the host.",
  "data": {
    "bookingId": "string",
    "kind": "string"
  },
  "change": {
    "id": "chg_…",
    "state": "preview",
    "risk": "NORMAL | RISKY",
    "expiresAt": "ISO time"
  },
  "next": [
    {
      "tool": "a tool name",
      "args": {},
      "why": "Why this is the next step."
    }
  ]
}

Errors it raises itself: NOTHING_TO_CHANGE, ONE_CHANGE, OTHER_PLACE. Every tool can also answer the shared errors.

set_booking_status

Set a booking status. Stores a preview with a change id (chg_…). Nothing changes until apply_change.

Marks one booking confirmed, checked in, checked out or a no-show. A no-show is reported to a platform that takes it (Booking.com), which may charge its fee unless waived; Hostemi charges nothing. Use when the host says a guest arrived, left or did not come. Returns a preview to approve; may notify the host.

PropertyValue
Kindpreview
Approval classnormal; risky for a no-show
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false
Cardchange
Built onreservation_confirm, reservation_check_in, reservation_check_out, reservation_no_show
ParameterTypeRequiredDescription
bookingIdstringyesA booking id (list_bookings).
statusenumyesIts new state. One of: confirmed, checked_in, checked_out, no_show.
noShowFeeenumnoOnly with no_show. Default: the platform's setting. One of: platform_setting, charge, waive.
Call (recorded undefined)
{
  "name": "set_booking_status",
  "arguments": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4",
    "status": "checked_in"
  }
}
Answer (structuredContent)
{
  "ok": true,
  "summary": "Preview, nothing has changed yet. Anna Keller's booking at Harbor Loft is marked checked in.",
  "data": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4",
    "kind": "checked_in"
  },
  "change": {
    "id": "chg_cmexample3",
    "state": "preview",
    "risk": "NORMAL"
  }
}

Errors it raises itself: INVALID_INPUT. Every tool can also answer the shared errors.

cancel_booking

Cancel a booking. Stores a preview with a change id (chg_…). Nothing changes until apply_change.

Cancels one booking the host named; its nights go back on sale. Cannot be undone, tells the guest nothing, refunds nothing; a platform's booking may need cancelling there too. Use only when the host asks to cancel it. Returns a preview to approve; may notify the host.

PropertyValue
Kindpreview
Approval classrisky
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false
Cardchange
Built onreservation_cancel
ParameterTypeRequiredDescription
bookingIdstringyesA booking id (list_bookings).
reasonstringnoWhy, for the host's own records.
Example call
{
  "name": "cancel_booking",
  "arguments": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4",
    "reason": "The guest called to cancel."
  }
}
Answer shape
{
  "ok": true,
  "summary": "One sentence for the host.",
  "data": {
    "bookingId": "string"
  },
  "change": {
    "id": "chg_…",
    "state": "preview",
    "risk": "NORMAL | RISKY",
    "expiresAt": "ISO time"
  },
  "next": [
    {
      "tool": "a tool name",
      "args": {},
      "why": "Why this is the next step."
    }
  ]
}

Errors it raises itself: none of its own. Every tool can also answer the shared errors.

answer_booking_request

Answer a booking request. Stores a preview with a change id (chg_…). Nothing changes until apply_change.

Accepts or declines one booking request, or declines a guest's question before booking; the guest hears nothing until it is applied. Use when the host decides on a request. Inviting a guest to book (pre-approval, an offer): in Hostemi. Returns a preview to approve; may notify the host.

PropertyValue
Kindpreview
Approval classrisky
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false
Cardchange
Built onreservation_request_resolve, inquiry_resolve
ParameterTypeRequiredDescription
requestIdstringyesFrom list_bookings with status "requests".
answerenumyesThe host's decision. One of: accept, decline.
declineReasonenumnoOnly with decline. One of: dates_not_available, not_a_good_fit, waiting_for_better, not_comfortable.
messagestringnoA short message with the answer.
Example call
{
  "name": "answer_booking_request",
  "arguments": {
    "requestId": "cmwn2q8vx0004so7k1d3h5a9e",
    "answer": "accept",
    "message": "Welcome, see you in May!"
  }
}
Answer shape
{
  "ok": true,
  "summary": "One sentence for the host.",
  "data": {
    "requestId": "string",
    "answer": "string"
  },
  "change": {
    "id": "chg_…",
    "state": "preview",
    "risk": "NORMAL | RISKY",
    "expiresAt": "ISO time"
  },
  "next": [
    {
      "tool": "a tool name",
      "args": {},
      "why": "Why this is the next step."
    }
  ]
}

Errors it raises itself: INVALID_INPUT, IN_HOSTEMI. Every tool can also answer the shared errors.

answer_change_request

Answer a change request. Stores a preview with a change id (chg_…). Nothing changes until apply_change.

Accepts or declines a change a guest asked for on a booking (get_booking shows it), or withdraws one the host asked for. Use when the host decides on it. Returns a preview to approve; may notify the host.

PropertyValue
Kindpreview
Approval classrisky
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false
Cardchange
Built onreservation_change_resolve
ParameterTypeRequiredDescription
bookingIdstringyesThe booking with the change request.
answerenumyesThe host's decision. One of: accept, decline, withdraw.
Call (recorded undefined)
{
  "name": "answer_change_request",
  "arguments": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4",
    "answer": "accept"
  }
}
Answer (structuredContent)
{
  "ok": true,
  "summary": "Preview, nothing has changed yet. The change Anna Keller asked for is accepted: she stays 12 to 15 May.",
  "data": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4",
    "answer": "accept"
  },
  "change": {
    "id": "chg_cmexample4",
    "state": "preview",
    "risk": "RISKY"
  }
}

Errors it raises itself: NOTHING_PENDING. Every tool can also answer the shared errors.

record_payment

Record a payment. Stores a preview with a change id (chg_…). Nothing changes until apply_change.

Notes money the host received for a booking (cash, a transfer, a card terminal): a record only, nothing is charged or sent. Use when the host says a guest paid. Refunds: in Hostemi. Returns a preview to approve; may notify the host.

PropertyValue
Kindpreview
Approval classnormal
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false
Cardchange
Built onpayment_record
ParameterTypeRequiredDescription
bookingIdstringyesA booking id (list_bookings).
amountobjectyesWhat was received.
amount.amountstringyes"135.00"
amount.currencystringyes"EUR"
methodenumnoDefault: cash. One of: cash, card, bank_transfer, voucher, other.
paidOnstringnoThe day it arrived. Default: today.
notestringnoA short note for the host.
Example call
{
  "name": "record_payment",
  "arguments": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4",
    "amount": {
      "amount": "360.00",
      "currency": "EUR"
    },
    "method": "bank_transfer"
  }
}
Answer shape
{
  "ok": true,
  "summary": "One sentence for the host.",
  "data": {
    "bookingId": "string",
    "amount": "object"
  },
  "change": {
    "id": "chg_…",
    "state": "preview",
    "risk": "NORMAL | RISKY",
    "expiresAt": "ISO time"
  },
  "next": [
    {
      "tool": "a tool name",
      "args": {},
      "why": "Why this is the next step."
    }
  ]
}

Errors it raises itself: INVALID_AMOUNT. Every tool can also answer the shared errors.

Something missing from this page? Write to [email protected], or use the form on the Help page.