Skip to main content
Glama

MenuNode

Change the time or party size of a reservation

change_reservation
DestructiveIdempotent

Move a reservation to another time on the same day and/or change the party size, on the guest's behalf, using its confirmation code; the date cannot change (cancel and book again for another day). The reservation is kept if the new time has no room: then changed is false, result "unchanged" with a reason, and nothing was touched; look for another time with check_availability or list_available_slots. Where the restaurant confirms bookings by hand, a new time or a bigger party goes back to status "pending". Fails with call_restaurant once the guest said they are running late (the guest must call the restaurant), with reservation_closed when the booking time has come or it is no longer live, with commerce_disabled while the restaurant takes no online reservations (cancel_reservation still works), and with change_limit (details.retryAfterSeconds) after 4 changes of one booking in an hour. Repeating a change that already happened (e.g. after a timeout) is safe: result "already_booked" with the booking as it stands. To find a time first, pass confirmation_code to check_availability so the guest's own table is not counted.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "confirmation_code": "<confirmation_code>"
    },
    "name": "change_reservation"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNoNew time, HH:MM (24h, restaurant local time). Omit to keep the time.
party_sizeNoNew party size. Omit to keep it.
confirmation_codeYes

Output Schema

NameRequiredDescriptionDefault
dateYesYYYY-MM-DD (never changes here)
timeYesHH:MM, restaurant local time
quietNoOnly when changed: the new table time falls in the quiet hour the restaurant declares (get_restaurant_info.quiet_hours; declared by the restaurant, not checked by MenuNode)
reasonYesWhy nothing changed (full, notice, past, not_a_slot, party_size…, already_booked); null when changed
resultYesalready_booked = the booking already has that time and party size (e.g. a repeated call after a timeout): treat it as done
statusYes
changedYesfalse = nothing was written: no room at that time (result unchanged; look for another time with check_availability) or the booking already is like that (result already_booked)
manage_urlYes
party_sizeYes
table_releasedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint, idempotentHint) by disclosing atomic no-partial-change behavior, the 'unchanged'/'already_booked' result semantics, status regression to 'pending' for manually confirmed restaurants, a 4-per-hour change limit with details.retryAfterSeconds, and four named error conditions. The idempotency claim is consistent with idempotentHint=true and nothing contradicts the destructive or readOnly flags.

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

Conciseness4/5

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

Front-loads the core action and the date constraint, then layers failure modes in a compact run-on enumeration. It is dense but nearly every clause carries operational information; the error list could have been tightened, but no sentence is filler.

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

Completeness5/5

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

For a destructive mutation with conditional side effects and a rate limit, the description covers the failure modes, the no-op outcome, retry safety, and where to look next. With an output schema present, the remaining return-value detail is appropriately left to structured fields.

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 coverage is 67% and already documents time, party_size, and the omit-to-keep behavior, so the description's main added meaning is the hard constraint that the date portion cannot change and that confirmation_code identifies the booking on the guest's behalf. It also explains passing confirmation_code to check_availability so the guest's own table is not double-counted, which is genuine semantic value beyond the bare schema.

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?

States a specific verb and resource ('Move a reservation to another time on the same day and/or change the party size') and scopes it precisely with the key constraint that the date cannot change. An agent can immediately distinguish this from cancel_reservation and create_reservation without opening any schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent to alternatives: cancel and rebook for a different day, check_availability or list_available_slots to find another time, and call_restaurant once the guest reports running late. It also names the exclusions (date changes, late guests) rather than leaving them inferable.

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.