Skip to main content
Glama

Cancel Booking

cancel-booking
Destructive

Cancel an existing booking using the management token returned by create-booking. This action is irreversible; confirm with the guest before calling it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesThe booking management token returned by create-booking.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already mark destructiveHint=true, and the description goes further by stating the action is irreversible and instructing to confirm with the guest. This adds meaningful context about consequences beyond the annotation, though it doesn't detail other potential side effects.

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?

The description is two sentences, front-loaded with the core action, and every clause contributes meaning. It efficiently conveys purpose, prerequisite, and warnings without redundancy.

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?

Given this is a simple destructive tool with one parameter and no output schema, the description is fully complete. It covers what the tool does, where the input comes from, the irreversible nature, and a required user confirmation, making it sufficient for an AI agent to invoke correctly.

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?

The schema provides 100% coverage for the token parameter, including its origin from create-booking. The description repeats this without adding extra semantic detail, so it provides no value beyond the schema baseline.

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 uses the specific verb 'Cancel' with the resource 'an existing booking', making the action unambiguous. It also specifies the required management token from create-booking, distinguishing it from sibling tools like get-booking-info or list-available-slots.

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?

The description clearly states the prerequisite (token from create-booking) and advises confirming with the guest before calling, which acts as a usage guardrail. It doesn't explicitly name alternatives or exclusions, but the sibling context makes it evident this is the sole cancellation tool.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool has a clear, distinct role: find-company for lookup, list-available-slots for availability, create-booking for reservations, get-booking-info for retrieval, and cancel-booking for cancellation. No overlapping purposes.

Naming Consistency5/5

All tool names follow a consistent verb-noun pattern with lowercase hyphenated style (cancel-booking, create-booking, find-company, get-booking-info, list-available-slots). Perfectly predictable.

Tool Count5/5

Five tools are well-scoped for a booking system, covering the essential guest-facing operations without unnecessary additions. The count feels appropriate and focused.

Completeness4/5

The core booking lifecycle (create, read, cancel) is covered, along with prerequisites like company lookup and slot listing. An update/modify booking operation is missing, which is a minor gap but not critical for the primary use case.

Resources