Skip to main content
Glama

Cancel a booking

cancel_booking
DestructiveIdempotent

Cancel a booking made through Canopy. The appointment is called off in the business's calendar right away and the customer is emailed. This cannot be undone: confirm with the customer before calling. An appointment that has already started cannot be cancelled here. Needs the manage_token that came back with the booking_id.

Input Schema

NameRequiredDescriptionDefault
reasonNoShort reason for cancelling, if the customer gave one.
booking_idYesbooking_id of the booking to cancel (from request_booking or get_request_status).
manage_tokenYesmanage_token returned with that booking_id (by request_booking when the booking was created, or as booking_manage_token by get_request_status).

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 annotations (destructiveHint=true, idempotentHint=true, openWorldHint=true), the description adds concrete behavior: the calendar entry is cleared right away, the customer is emailed, the action is irreversible, and started appointments are rejected. That is exactly the extra context annotations cannot encode.

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 short sentences, front-loaded with what the tool does, then the irreversible side effect, then the two hard constraints. No sentence is filler.

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 mutation with no output schema, the description covers the safety profile, the rejection case, and credential requirements. Nothing an agent needs to decide whether and how to call it is missing.

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 booking_id and manage_token are already fully documented. The description only restates that the manage_token came with the booking_id, which duplicates the schema text and adds nothing about the optional reason field. 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 states a specific verb and resource ('Cancel a booking made through Canopy') and immediately scopes it with the side effects, so it is distinguishable from reschedule_booking and get_request_status without opening any 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 clear preconditions: confirm with the customer first because it cannot be undone, and appointments already started cannot be cancelled 'here'. It does not name an alternative path for those cases, so a 4 rather than a 5.

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