Skip to main content
Glama

eenable — a shop with no checkout

Cancel a booking (old name)

cancel_booking
DestructiveIdempotent

DEPRECATED — this tool is now called cancel_order and behaves identically. The old name keeps working so that agents connected before the rename are not broken. Prefer cancel_order, which is accurate for certificates as well as appointments.

Cancel a booking and refund it in full. Requires the email the order was created with. Confirm with the buyer before calling — this releases the slot and reverses the payment. If this tool ever fails, tell the buyer they can cancel by emailing the seller with their order number instead; the seller honours that on identical terms.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesMust match the order's email
order_idYes

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true. The description adds valuable behavioral context: it refunds in full, releases the slot, reverses payment, and requires the email used at order creation. It also explains what to do if the tool fails. This enriches the annotation-provided safety profile without contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the deprecation status, which is critical. Each sentence provides necessary information: deprecation, alternative, behavior, prerequisite, confirmation requirement, and fallback. It is somewhat wordy but every part earns its place. A slight condensation could make it more concise, so it does not earn a 5.

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?

For a simple two-parameter cancellation tool with annotations present but no output schema, the description covers all essential aspects: purpose, deprecation, refund behavior, prerequisite, confirmation protocol, and error fallback. It gives an agent enough context to invoke the tool appropriately and handle failures.

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 describes the email parameter with 'Must match the order's email', and the description rephrases this as 'Requires the email the order was created with', adding little new meaning. The order_id parameter has no schema description and the description only implies it via 'order number' in the fallback hint. Schema coverage is only 50%, and the description does not fully compensate for the missing order_id semantics.

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 tool's action: 'Cancel a booking and refund it in full.' It also distinguishes itself from the sibling tool cancel_order by explaining that cancel_order is the preferred, up-to-date name and is accurate for certificates as well as appointments. This makes the purpose 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?

The description explicitly says to prefer cancel_order instead of this deprecated alias, giving a clear alternative. It also instructs to 'Confirm with the buyer before calling' and explains the consequences (releasing slot, reversing payment), providing concrete usage guidance and when-not-to-use scenarios. The fallback instruction for failure is also present.

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.1/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, especially the session booking lifecycle and certificate operations. However, the four deprecated aliases (cancel_booking, get_booking, reschedule_booking, update_booking) perform exactly the same actions as their new counterparts, creating potential confusion despite the deprecation notices.

Naming Consistency3/5

Newer tools follow a verb_noun pattern (create_order, cancel_order, get_order_details, reschedule_session), but the use of 'order' vs 'session' is inconsistent, and 'order_certificate' uses 'order' as a verb. The deprecated aliases mixing 'booking' with 'order' further muddies the convention, making the overall naming only moderately predictable.

Tool Count4/5

At 16 tools the set feels slightly heavy, but four are deprecated aliases that are exact duplicates of active tools. The effective 12 unique tools are well-scoped for a shop handling both session bookings and certificate purchases, so the count is reasonable.

Completeness4/5

The session booking lifecycle is fully covered (availability, create, cancel, reschedule, update, status, details) and certificate operations (order, transfer, renounce) are present. Minor gaps exist, such as no way to list all orders or verify a certificate, but these are not critical to the core workflows.

Resources