Skip to main content
Glama

Update Booking

update_booking
Destructive

Update a booking: project, price, is_quote, comments (print on the contract), manager_notes (internal, do not print), headcount (participants/volunteers), event type (project_type_id, applied to all its dates), deposit (whole percent 0-100), contact_id (which of the client's existing contacts the contract and signing/payment emails go to), and client_id to reassign the booking to a different client.

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": {
      "id": "<id>"
    },
    "name": "update_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe record's numeric id, from the matching list/get/search tool.
priceNoAn amount in US dollars, e.g. 250 or 250.00.
depositNo
projectNo
commentsNoFree-text comments.
is_quoteNo
client_idNoA client's id (from search or list_clients).
contact_idNoA client contact's id (from get_client).
volunteersNo
participantsNo
manager_notesNo
project_type_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / client_id / description
      Added value: +"A client's id (from search or list_clients)."
    • addedInput schema / properties / comments / description
      Added value: +"Free-text comments."
    • addedInput schema / properties / contact_id / description
      Added value: +"A client contact's id (from get_client)."
    • addedInput schema / properties / id / description
      Added value: +"The record's numeric id, from the matching list/get/search tool."
    • addedInput schema / properties / price / description
      Added value: +"An amount in US dollars, e.g. 250 or 250.00."
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already disclose that this is non-read-only, destructive, and not idempotent, so the description is not required to restate those safety traits. It adds useful behavioral context: comments print on the contract, manager_notes are internal and not printed, contact_id controls contract and signing/payment email routing, project_type_id applies to all dates, and client_id reassigns ownership. It stops short of explaining partial-update semantics or what happens to omitted fields.

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?

The description is front-loaded with the action and resource, then lists the relevant fields with clarifying parentheticals. It is dense and written as one long sentence, but there is little wasted wording and every field mention generally earns its place.

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

Completeness3/5

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

For a 12-parameter destructive update tool with no output schema, the description covers many field meanings but omits important operational context such as whether omitted fields remain unchanged and what the call returns. The annotations cover the safety profile, but an agent still has gaps around update semantics.

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 low at 42%, so the description needs to compensate, and it does for several fields: deposit is a whole percent from 0-100, comments are printed on the contract, manager_notes are internal, project_type_id applies to all dates, contact_id selects the contract/email contact, and client_id reassigns the booking. Some parameters remain thinly explained, especially is_quote, project, and the distinction between volunteers and participants.

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

Purpose4/5

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

The description states a specific verb and resource, 'Update a booking', and enumerates the fields it can modify, so the agent knows it is a booking mutation rather than a create/delete/get operation. It does not explicitly differentiate itself from related update tools such as update_date or update_event_type, so it falls short of the top score.

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

Usage Guidelines2/5

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

The description implies use for changing an existing booking, but gives no explicit when-to-use guidance, prerequisites, or when-not-to-use alternatives. It also does not warn when to choose this over sibling tools like update_date or update_event_type.

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