Skip to main content
Glama

Cancel a booking

cancel_booking
DestructiveIdempotent

Cancel a Bookd booking for the guest. First call with confirm=false to see the refund under the property's policy and tell the guest; only call with confirm=true after the guest explicitly agrees. Needs the booking_id and the email used to book. confirm=false changes nothing. confirm=true cancels for good (it cannot be undone): it releases any card hold or refunds under the policy on the property's own Stripe account, frees the dates (and cancels it in the property's booking system when it is connected), and emails the property and the guest.

Input Schema

NameRequiredDescriptionDefault
confirmNo
booking_idYes
guest_emailYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructive=true and idempotent=true, but the description adds substantial detail beyond them: confirm=false is a pure preview that changes nothing, confirm=true is irreversible, releases card holds/refunds via the property's own Stripe account, frees the dates, cancels in the connected booking system, and notifies property and guest. This is exactly the extra behavioral context the 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action and the safe-call protocol, and every clause adds operational meaning (refund preview, irreversibility, side effects). The final sentence is long and packs many effects together, but no sentence is wasted.

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?

With no output schema and only 3 params, the description covers the call protocol, prerequisites, and all side effects of the destructive path, which is everything an agent needs to invoke it 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 0%, so the description must carry the load, and it does: confirm is explained as preview-vs-commit, and both required parameters are named ('Needs the booking_id and the email used to book'), with the email disambiguated as the one used at booking time. It does not give formats or edge cases (e.g., email mismatch handling), keeping it below a 5.

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?

States a specific verb+resource ('Cancel a Bookd booking') with scope ('for the guest'), and no sibling tool offers cancellation, so it is unambiguous against booking_status/request_booking/search_stays.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit two-step protocol: call with confirm=false first to see the refund under the property's policy, then only confirm=true after the guest explicitly agrees. This is a clear when-to-use and when-not-to-use instruction with a named prerequisite (guest consent).

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