Skip to main content
Glama

Update booking

update_booking
Idempotent

Update a booking's status/notes (admin only — for self-service cancellation use cancel_booking instead).

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

Input Schema

NameRequiredDescriptionDefault
notesNo
statusNo
booking_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is structured. The description adds genuinely new behavioral context: an admin-only authorization requirement and a bounded mutation scope limited to status/notes. It omits side effects of status transitions (does setting 'cancelled' trigger refunds or notifications?), which keeps it below a 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?

One sentence, front-loaded with the action and scope, with the alternative routed in a parenthetical. No filler and nothing redundant with the title.

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 non-destructive, idempotent mutation with no output schema, the description supplies the essentials: what changes, who may do it, and where to go for the self-service path. The remaining gap is what a status transition triggers downstream, which a fuller definition would mention.

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

Parameters3/5

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

Schema coverage is 0%, so the description carries the burden, and it does identify that only 'status' and 'notes' are updatable. However, it adds no meaning to the enum values (e.g. when 'expired' vs 'no_show' should be set) and says nothing about booking_id beyond it being the target. Partial compensation for a three-parameter schema with no field documentation.

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?

Names a specific verb and resource ('Update a booking') and narrows the editable surface to 'status/notes', so the agent knows precisely what the tool mutates. It also explicitly distinguishes itself from cancel_booking, so an agent can choose between them without opening either 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?

The parenthetical gives a concrete exclusion: self-service cancellation goes to cancel_booking instead, and the 'admin only' note signals a prerequisite. It stops short of explaining when this tool is preferred over other booking siblings like delete_booking, but the key routing decision is covered.

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