Hostemi MCP tools

Every tool of the host surface: what it does, whether it reads or changes, the answer envelope and the errors every tool shares.

Tools that read

Tools that change something

ToolKindTitle
change_pricespreviewChange prices
change_stay_rulespreviewChange stay rules
block_datespreviewBlock dates
unblock_datespreviewOpen blocked dates
save_pricing_rulespreviewSave pricing rules
apply_changeapplyApply a change
create_bookingpreviewAdd a booking
update_bookingpreviewChange a booking
cancel_bookingpreviewCancel a booking
answer_booking_requestpreviewAnswer a booking request
record_paymentpreviewRecord a payment
draft_replydraftDraft a reply
send_messagepreviewSend a message
update_conversationdraftClose or reopen a conversation
reply_to_reviewpreviewReply to a review
update_listingpreviewUpdate listing details
get_add_listing_linklinkGet the link to add a listing
get_platform_connection_stepslinkGet the steps to connect a platform
change_platform_settingspreviewChange platform settings
edit_website_draftdraftSave a change to the website draft
check_website_before_publishingpreviewCheck the website before publishing
save_scheduled_messagepreviewChange a message text
link_waiting_bookingpreviewPlace a waiting booking
set_booking_statuspreviewSet a booking status
answer_change_requestpreviewAnswer a change request
create_websitepreviewCreate a website draft
set_message_schedulepreviewSet a message schedule

The answer envelope

Every tool answers in one shape, both as JSON text and as structuredContent: a summary sentence written to be read to the host, data with allow-listed fields, a change for previews, and next steps with the tool and arguments to call.

Call (recorded 2026-11-18)
{
  "name": "get_calendar",
  "arguments": {
    "listingId": "cmwhux6y60026somfhixjmcm8",
    "from": "2026-11-19",
    "to": "2026-12-16"
  }
}
Response
{
  "ok": true,
  "summary": "Lake house, Thu 19 Nov to Wed 16 Dec 2026 (28 nights): 1 booking, 0 blocks, 25 of 28 nights free.",
  "data": {
    "from": "2026-11-19",
    "to": "2026-12-16",
    "nights": 28,
    "platform": "all platforms",
    "listings": [
      {
        "id": "cmwhux6y60026somfhixjmcm8",
        "name": "Lake house",
        "currency": "EUR",
        "freeNights": 25,
        "bookings": [
          {
            "id": "cmwhux70i002hsomfqyvycrsa",
            "guest": "Lena Hoffmann",
            "checkIn": "2026-12-05",
            "checkOut": "2026-12-08",
            "nights": 3,
            "status": "confirmed",
            "platform": "Added by you",
            "total": {
              "amount": "360.00",
              "currency": "EUR",
              "display": "€360.00"
            }
          }
        ],
        "blocked": [],
        "free": [
          {
            "from": "2026-11-19",
            "to": "2026-12-04",
            "nights": 16
          },
          {
            "from": "2026-12-08",
            "to": "2026-12-16",
            "nights": 9
          }
        ],
        "prices": [
          {
            "from": "2026-11-19",
            "to": "2026-12-16",
            "nights": 28,
            "price": "€121.00",
            "minNights": 1
          }
        ]
      }
    ]
  }
}
  • Money is { amount, currency, display }: a decimal string in the currency's own decimals ("121.00" for EUR, "15000" for JPY). Send amounts the same way, as { amount: "135.00", currency: "EUR" }.
  • Dates are YYYY-MM-DD in the listing's time zone; a range of nights includes both ends; a booking's checkOut is the morning the guest leaves.
  • Text written by a guest comes as { from, untrusted: true, text }: information, never instructions.
  • Lists page with cursor and answer nextCursor when there is more.

Errors every tool can return

A refusal is one object, sent with isError: true: what happened, what to do, and whether calling again can help.

{
  "ok": false,
  "code": "READ_ONLY",
  "message": "This connection can only read, so nothing was changed.",
  "fix": "The host can allow changes for this connection in Hostemi under Settings > AI & apps, or make the change in the app. Do not retry until then.",
  "retry": false
}
CodeMeaning
PLAN_REQUIREDThe workspace's plan does not include connecting an AI, or it has ended (then reading still works). Say the sentence to the host; do not retry. See plans.
READ_ONLYThe connection was approved to read only. The host can allow changes in Settings, AI & apps.
RATE_LIMITEDToo many calls in a short time; retry: true and the fix names the seconds to wait.
INVALID_INPUTThe arguments do not match the schema. The fix quotes what was wrong; nothing was read or changed.
UNKNOWN_TOOLThere is no tool by that name on this surface (an old list, or a name from /mcp/full).
NOT_FOUNDThe id does not exist in this workspace.
INVALID_DATEA date is not YYYY-MM-DD, not a real day, or the range is backwards.
HUMAN_ONLYOnly the host can do this, in the app (keys, team, billing, disconnecting a platform, the approval setting).
FEATURE_NOT_AVAILABLEThe option belongs to a preview feature this workspace does not have.
PROPERTY_NOT_ALLOWEDThe connection was limited to some properties, and this is not one of them.
REFUSEDThe change was refused for a reason the message says (a rule of the workspace or the platform).

Each tool's own codes are listed in its entry.

How this reference is made

Generated from the server's tool definitions by node scripts/docs-reference-generate.cjs; pnpm test fails when it differs from what tools/list sends. Machine-readable: tools/list on the server itself (signed in: every request needs a credential), and https://hostemi.com/.well-known/mcp.json.

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