Skip to main content
Glama

Thmenu

Cancel a reservation request

cancel_reservation
DestructiveIdempotent

Cancel a reservation using the 6-character confirmation code the GUEST received by email/SMS (the code is the authorisation; ask the guest for it — this tool never issues or reveals codes). Thin wrapper over the venue's own cancellation endpoint, which answers uniformly: status is "cancelled" or "noop" (unknown code · already cancelled · seated/completed · less than 30 minutes away — it does not say which). Only report a cancellation to the guest when cancelled is true. PUBLIC tool, no auth.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmation_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations. It discloses that the endpoint answers uniformly with `status` = cancelled or noop, that noop conflates four distinct causes (unknown code, already cancelled, seated/completed, <30 min away) without saying which, and that cancellation should only be reported on `cancelled`. It also states this is a PUBLIC tool with no auth.

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?

Information-dense and front-loaded: the core action and required input lead, then the response-semantics and reporting caveats follow. No sentence is filler despite the parenthetical density.

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 fully covers what the agent needs: the required input, the exact response shape and its ambiguity, the auth profile, and the reporting rule. Nothing material is missing for correct invocation or interpretation.

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 parameter meaning, and it does: it explains the code is 6 characters and comes to the guest by email/SMS, and that the tool cannot reveal or issue codes. The '6-character' claim sits slightly awkwardly against the schema's maxLength of 12, a minor imprecision.

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 (cancel) and resource (reservation) and pins down the exact input needed: the confirmation code the guest received. It is clearly distinguishable from sibling reservation tools such as request_reservation or get_reservation_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?

Gives clear operational context — the code is the authorisation, the agent must ask the guest for it, and the tool never issues codes. It also states the report-to-guest rule. It stops short of naming explicit alternatives for cases where no code exists, 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