Skip to main content
Glama

Final POS – Custom POS Builder

Cancel a booking

hub_cancel_booking
Destructive

Release a booked window. The order stays as it is — cancelling a booking is not a refund, and money is never moved here; if the customer is owed money, do that on the order. Confirm with the merchant before cancelling a booking somebody already paid for.

Input Schema

NameRequiredDescriptionDefault
holdIdYesThe booking to release

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the write semantics are known. The description still adds real value beyond them: the order is left untouched, no money moves, and human confirmation is advised for paid bookings. It does not say whether the released slot is freed for rebooking or whether the cancellation is reversible.

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?

Three short sentences, front-loaded with the action, then the boundary condition, then the operational caution. Every sentence carries distinct information; nothing is redundant with the title or schema.

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?

For a single-parameter destructive mutation with no output schema, the description covers the important non-structural facts: side-effect boundary (order unchanged, no money), and the human-confirmation prerequisite. Minor gaps remain around reversibility, freed-slot behavior, and required permissions.

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?

Only one parameter (holdId) and schema description coverage is 100% ("The booking to release"), so the schema already carries the semantics. The description adds no format, sourcing, or lookup guidance for holdId, making this the standard baseline case where structured fields do the work.

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 concrete verb and resource ("Release a booked window") and, more importantly, delimits scope: it is not a refund and does not touch the order. That scope statement lets an agent separate it from sibling tools like hub_confirm_booking, hub_hold_booking, and the refund/order tools without opening any schema.

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 an explicit when-not: money movement and refunds belong on the order, not here. It also states a precondition (confirm with the merchant before cancelling a booking somebody already paid for). It stops short of naming the exact alternative tool (e.g. hub_get_refunds / order-level refund), so routing is clear but not fully enumerated.

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.