Skip to main content
Glama

updateBooking

Destructive

Change a booking: move it to another time or to another resource of the same location, or change its seats, title, memo, attendees, or how a repeating booking repeats. Returns the updated booking. Pass only the fields to change; omitted fields keep their current values, and attendees replaces the whole list. For one occurrence of a repeating booking, pass its id from getBookings with singleBookings "true", and set updateRepeatingScope to "thisAndNext" to change it and every later occurrence. Changing the time or seats of a paid booking reprices it: an extension is charged to the customer, and a shortening is not refunded. Do not change the time, seats, or resource of a booking paid by card (paymentCategory "paymentGateway"): the customer has to pay the difference, so they change it in the member app. Get bookingId from getBookings. Never invent UUIDs; only use values from prior tool responses.

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": {
      "bookingId": "<bookingId>",
      "booking": "<booking>"
    },
    "name": "updateBooking"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookingYesBooking fields to update. Fields left out keep their current value.
bookingIdYesID of the booking. For a single occurrence of a repeating booking, append the occurrence date: `<bookingId>_<ISO date>`.
updateRepeatingScopeNoFor a repeating booking, whether to update only the addressed occurrence or that one and every later occurrence.singleOccurrence

Output Schema

NameRequiredDescriptionDefault
bookingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / properties / booking / properties / request / properties / ticketRef
      Removed value: -{
      -  "description": "ID of the ticket that holds the conversation between the person and the administrators.",
      -  "format": "uuid",
      -  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -  "type": "string"
      -}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / booking / properties / payments / items / properties / method / properties / paymentGateway / properties / inPerson
      Added value: +{
      +  "description": "Present and true when an administrator took the payment in person with Tap to Pay on their phone, which has no checkout page to complete.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / booking / properties / scheduledPayment / properties / method / properties / paymentGateway / properties / inPerson
      Added value: +{
      +  "description": "Present and true when an administrator took the payment in person with Tap to Pay on their phone, which has no checkout page to complete.",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / properties / booking / properties / orderRef / description
      Previous value: -"ID of the shop order for the add-ons bought with the booking. Omitted when the caller has no access."New value: +"ID of the shop order for the cross-sells bought with the booking. Omitted when the caller has no access."
  4. Changed1 schema field changed
    • addedOutput schema / properties / booking / properties / partialRefunds
      Added value: +{
      +  "description": "Shares of the payment refunded when the booking is canceled after refundThreshold has passed, copied from the resource's refund policy when the booking was made. Omitted when there are none.",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "percent": {
      +        "type": "number"
      +      },
      +      "value": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "percent",
      +      "value"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  5. Changed1 schema field changed
    • addedOutput schema / properties / booking / properties / orderRef
      Added value: +{
      +  "description": "ID of the shop order for the add-ons bought with the booking. Omitted when the caller has no access.",
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
  6. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true and readOnlyHint=false; the description goes far beyond by disclosing the repricing rule (extensions charged, shortenings not refunded), merge vs. replace semantics for omitted fields and attendees, recurrence detachment behavior, and the admin-only nature of metadata via the schema. These are exactly the side effects an agent must know before mutating a paid booking.

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-loaded with the purpose and dense with substance, but delivered as one long paragraph with no structure, and a few statements repeat what the schema already says (omitted fields keep current values appears twice, once in the description and once in the schema). The reference to getBookings' singleBookings "true" flag is slightly cryptic without that tool's schema in view.

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, nested-schema mutation tool, the description covers prerequisites, targeting, side effects, pricing consequences, unsupported cases, and states the return value ("Returns the updated booking") — with an output schema present, nothing material is left to inference.

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

Parameters5/5

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

Schema coverage is already 100%, yet the description still adds cross-field meaning the schema cannot express: omitted fields retain values, attendees replaces the entire list, recurrence requires updateRepeatingScope=thisAndNext, and resourceRef targets must share location, interchangeable type, and accept the booking's payment method. The bookingId occurrence-suffix format is also explained.

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?

Opens with a specific verb and resource ("Change a booking") and immediately enumerates the mutable dimensions (time, resource, seats, title, memo, attendees, recurrence). This is clearly distinguishable from getBookings/getBooking/cancelBooking in the sibling list.

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?

Gives explicit when-to-use routing (get bookingId from getBookings, never invent UUIDs) and an explicit when-NOT-to: do not change time/seats/resource of a paymentGateway booking, because the customer must pay the difference in the member app. It also states how to target a single occurrence of a repeating booking and that scope must be set to thisAndNext for series edits.

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.

Resources