Skip to main content
Glama

Update booking status

update_booking_status
Idempotent

Update a booking's status (requested|approved|rejected|picked_up|returned|cancelled).

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>",
      "status": "<status>"
    },
    "name": "update_booking_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
statusYes
target_tenant_idNoPlatform super-admins only: operate on this tenant instead of your own.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so safety is partly covered. The description adds the closed set of allowed status values, which is genuinely useful behavior information not present in the schema (0 enum-typed parameters). It says nothing about side effects such as notifications, audit trail entries, or whether arbitrary transitions are rejected, which matters for a status-mutation tool.

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?

A single front-loaded sentence with no filler; the parenthesized value list is compact and high-signal. Nothing is wasted, though the brevity leaves room for one more clause on preconditions.

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 small three-parameter mutation whose annotations cover idempotency and safety, the definition is minimally adequate. Missing are permission implications beyond the tenant override, transition validity, and any observable effect of the update, which an agent would want before calling it.

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 33% with only target_tenant_id documented, so the description must carry meaning for id and status. It does supply the valid status vocabulary, partially compensating, but 'id' (a required booking identifier) is left completely undefined in both places.

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 plus resource ('Update a booking's status') and enumerates the six legal status values, so an agent knows precisely what is modified. It does not differentiate this from sibling update tools (e.g. update_event, update_calendar_event), leaving the booking-vs-event boundary implicit.

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?

There is no guidance on when to use this tool versus alternatives, nor any stated preconditions such as which status transitions are permitted or who may change what. Usage must be inferred entirely from the name and the status list.

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