Skip to main content
Glama

Bookd

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 emails the property and the guest.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNo
booking_idYes
guest_emailYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description adds substantial context beyond them: confirm=false is a true no-op dry run, confirm=true is irreversible, and it details the side effects (card hold release, refund via the property's own Stripe account, date release, emails to both parties). This is exactly the behavioral detail an agent needs before an irreversible action.

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 tight sentences, front-loaded with the action and then the safety protocol, followed by side effects. No filler; every sentence carries operational meaning.

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, the description still tells the agent what confirm=false returns (the refund under the property's policy) and what confirm=true does across every affected system, which is sufficient to invoke correctly.

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 description coverage is 0%, so the description must compensate, and it does for 'confirm' — explaining both modes and the default-false preview behavior — and confirms booking_id/guest_email are needed. It does not explain formats or where to obtain the booking_id (maxLength 20), a minor remaining gap.

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 and resource ('Cancel a Bookd booking for the guest') and clearly distinguishes itself from siblings like booking_status and request_booking. The scope (guest-side cancellation) is unambiguous.

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?

Prescribes an explicit two-step protocol: call with confirm=false first to preview the refund, then call with confirm=true only after the guest explicitly agrees. It also gates when cancellation should happen at all, leaving nothing to inference.

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