Skip to main content
Glama

Update a reservation

hostaway_update_reservation
Destructive

Change fields on an existing reservation — guest details and counts, dates, check-in/out hours, door code, host note or comment. Send only the fields to change. The listing cannot be changed, and this tool never cancels or reprices a booking. Date changes on channel bookings may be overwritten by the channel. Hostaway: PUT /v1/reservations/{reservationId}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
petsNoPets.
phoneNoGuest phone, e.g. +15125551212.
adultsNoAdults.
commentNoFree-text comment.
infantsNoInfants.
childrenNoChildren.
doorCodeNoDoor / lock code for this stay.
hostNoteNoInternal host note (not shown to the guest).
guestCityNoGuest city.
guestNameNoGuest full name.
guestNoteNoNote from the guest.
guestEmailNoGuest email.
arrivalDateNoNew arrival date (YYYY-MM-DD).
checkInTimeNoCheck-in time (hour of day, 0-23).
checkOutTimeNoCheck-out time (hour of day, 0-23).
guestAddressNoGuest street address.
guestCountryNoGuest country (ISO 3166 code, e.g. US).
guestZipCodeNoGuest ZIP / postal code.
departureDateNoNew departure date (YYYY-MM-DD).
guestLastNameNoGuest last name.
reservationIdYesHostaway reservation id.
doorCodeVendorNoLock vendor.
guestFirstNameNoGuest first name.
numberOfGuestsNoTotal number of guests.
doorCodeInstructionNoDoor-code instructions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Adds real behavioral context beyond the destructiveHint annotation: partial-update semantics, an immutable field (listing), an explicit statement that cancellation and repricing are out of scope, and a non-obvious warning that channel-driven date changes may be overwritten. It omits permission/auth requirements and any indication of what the response contains, so it is not a full 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences plus the endpoint reference, with the core action and the most important constraint (partial update) front-loaded. Every sentence carries a distinct fact: scope, patch behavior, restrictions/caveats.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 25-parameter mutation tool with no output schema and only destructiveHint for annotations, the description covers scope, partial-update behavior, and the key traps (immutable listing, channel overwrite). What remains thin is error/permission behavior and confirmation of what a successful partial update returns, which 25 params of write surface would benefit from.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is already 100%, so the baseline is 3, and the description earns an extra point by clarifying patch semantics (only send changed fields) and by stating that listing cannot be modified, which constrains what the caller should pass. It does not explain field interactions (e.g., adults/children vs numberOfGuests, arrival/departure pairing).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb + resource ('Change fields on an existing reservation') followed by an enumerated scope of what can be changed (guest details/counts, dates, check-in/out hours, door code, notes). It explicitly separates itself from create_reservation ('existing') and from cancel/repricing tools, so an agent can place it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear patch semantics ('Send only the fields to change') plus explicit exclusions ('the listing cannot be changed', 'never cancels or reprices a booking') and a caveat about channel overwrites. It stops short of naming a sibling tool to use for the excluded operations (cancellation/repricing), so 4 rather than 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.