Skip to main content
Glama

Jet Cab AMS: Amsterdam & Schiphol chauffeur

Cancel a booking

cancel_booking
DestructiveIdempotent

Cancels a booking at the customer's explicit request. Requests not yet confirmed by the driver and unpaid tours are cancelled at once (the customer gets an email). Confirmed or paid bookings are passed to the business as a cancellation request, which it handles under the Terms (free until 24 hours before transfers, 48 hours before tours). Needs the bookingId and the customer's email. Ask the customer to confirm before calling.

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>",
      "email": "<email>"
    },
    "name": "cancel_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesThe customer's email address used for the booking (proves it is their booking).
reasonNoOptional reason from the customer.
bookingIdYesThe bookingId returned by request_booking.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the destructive/openWorld/idempotent annotations, the description discloses what actually happens: immediate cancellation plus a customer email for unconfirmed/unpaid bookings, a request passed to the business for confirmed/paid ones, and the Terms-based free-cancellation windows (24h transfers, 48h tours). The instruction to get customer confirmation before calling is exactly the kind of pre-flight context annotations cannot convey.

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?

Four sentences, front-loaded with the action and the confirmation gate, then the branch behavior and terms. Every sentence carries decision-relevant information with no padding.

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, open-world mutation with no output schema, the description covers the key gaps: the two outcome paths, the customer notification, the fee-free window, and the confirmation requirement. An agent has enough to call it responsibly.

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 100%, so bookingId and email are already fully documented (including that email proves ownership). The description only restates that both are needed and never mentions the optional 'reason' parameter, so it adds little beyond the schema — baseline 3.

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?

The description opens with a specific verb and resource ('Cancels a booking') and scopes it to the customer's explicit request, which separates it from request_booking and change_booking. An agent can tell immediately what this tool does and what it is not.

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?

It clearly says when to call (customer-initiated cancellation, after asking the customer to confirm) and describes the two behavioral branches — auto-cancel for unconfirmed/unpaid vs. a forwarded cancellation request for confirmed/paid. It stops short of naming sibling alternatives such as change_booking for modifications, so it is strong but not exhaustive.

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