Skip to main content
Glama

cancel_booking

Cancel a Wanaka Haus booking under the published policy (full refund to 14 days before arrival, 50% to 7 days, none inside 7). Requires the guest email the booking was made with.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
guest_emailYesMust match the email the booking was made with

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Since no annotations are provided, the description carries the full burden. It discloses key behavioral traits: the cancellation refund schedule (full refund, 50%, none) and the requirement for the guest email. It does not mention potential side effects or idempotency, but the disclosed traits are significant.

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 consists of two short, front-loaded sentences that convey essential information without any wasted words. Every sentence adds value.

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?

Given the tool's complexity (2 parameters, no output schema), the description covers the cancellation policy and required email. It could mention that the booking must exist, but the information provided is largely sufficient for an 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 input schema covers 2 parameters with partial description (guest_email has pattern and description; id lacks description). The description adds some meaning by stating the guest email requirement but provides little beyond the schema. With 50% schema description coverage, the description does not fully compensate.

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 clearly states the action ('Cancel') and resource ('Wanaka Haus booking') using a specific verb plus resource, and it distinguishes itself from sibling tools like create_booking or get_booking by focusing on cancellation.

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 provides explicit context on when to use the tool (under the published policy with a detailed refund schedule) and a prerequisite (requires guest email). However, it does not include when not to use the tool or explicitly mention alternatives among sibling tools.

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/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: searching availability, getting a quote, creating a booking, checking booking status, and canceling. No overlap or ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (e.g., search_availability, create_booking, cancel_booking), making them predictable and easy to understand.

Tool Count5/5

With 5 tools covering the core booking workflow (search, quote, create, status, cancel), the count is well-scoped and appropriate for the server's purpose.

Completeness5/5

The tool surface covers the essential lifecycle of a booking: checking availability, pricing, creation, status retrieval, and cancellation. No obvious gaps for typical booking operations.

Resources