Skip to main content
Glama

Reservation Chauffeur — Paris chauffeur prices

Cancel a booking (with e-mailed code)

cancel_booking
Destructive

Cancel a booking under the terms and conditions: free more than 24 hours before pick-up, 50% charged between 24 and 2 hours (or a 100% credit instead), no refund within 2 hours. First call with booking_ref and email: returns the fee and refund, and e-mails a 6-digit code to the booking address. Second call with confirmation_code (after the customer agrees): cancels, refunds the card automatically and sends the confirmation e-mail.

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

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of notes and booking link (default en).
emailYes
choiceNoAt the 50% stage only: refund (50%) or credit (100%, valid 12 months).
booking_refYes
confirmation_codeNoSecond call only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, but the description goes further by disclosing concrete consequences: the fee/refund amounts, the 6-digit code e-mailed to the booking address, automatic card refund, and the confirmation e-mail. It doesn't cover failure modes such as an expired or wrong confirmation code, or what happens if the first call is repeated, which keeps it below the top mark.

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?

Two sentences carry policy, quoting and invocation flow with no filler, and the policy constraint is front-loaded. The sentences are long and pack fee tiers, first call and second call into dense prose, so a short break or list would improve scannability, but nothing is redundant.

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 destructive, non-idempotent, open-world mutation with no output schema, the description covers policy, the confirmation gating, the side effects (e-mail, card refund) and which parameters apply to which call. Missing are error/retry behavior and what the first call returns beyond fee and refund amounts, which are the main remaining gaps for an agent to call this safely.

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 coverage is only 60%, so the description has real work to do, and it does it: it maps booking_ref and email to the first call, confirmation_code to the second, and explains that choice applies only at the 50% stage with the 100%/12-month credit alternative. That sequencing meaning is not derivable from the flat schema, though lang handling is left entirely to the schema.

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 ('Cancel a booking') and immediately scopes it to the cancellation policy, which cleanly separates it from siblings like change_booking or get_booking_status. It also spells out the two-call shape of the operation, so an agent knows what the tool will do at each invocation without opening the 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?

It gives explicit sequencing guidance: the first call takes booking_ref and email, and confirmation_code is used only on the second call after the customer agrees. What it lacks is any explicit exclusion or routing to alternatives (e.g. change_booking for modifications, get_booking_status for read-only checks), so the agent must infer when cancellation is not the right choice.

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