Skip to main content
Glama

Confirm Booking

confirm_booking
Destructive

Confirm a reservation made with reserve_slot. The customer received a 6-digit confirmation code at their own email or phone when the slot was reserved — the agent never generates or sees this code itself, only relays what the customer reads back. Confirming is what actually claims the slot: two people can hold overlapping pending reservations, but only the first to confirm keeps it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe 6-digit confirmation code the customer received at their contact (email or SMS) and read back to the agent
slugYesBusiness slug identifier
reservation_idYesThe reservation id returned by reserve_slot

TDQS

A4.4/5.0
Behavior5/5

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

The description goes beyond the annotations by explaining the real behavioral consequence: "Confirming is what actually claims the slot" and that only the first confirmation preserves the reservation. It also clarifies the agent never generates or sees the code itself, which is important operational context that the Boolean hints alone do not provide.

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 concise and organized around two purposeful sentences: the first explains the prerequisite and code visibility, and the second explains the claiming semantics. There is no extraneous content; 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?

The description captures the essential context for correct use: it is the claiming/finalizing step, the code comes from the customer, and overlapping pending reservations are resolved by first confirmation. It does not detail response or error behavior, but in the absence of an output schema, the core action semantics are sufficiently complete.

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?

All three parameters are fully described in the schema (slug, reservation_id, and code), including the format and origin of reservation_id and code. The description reinforces the code's customer-only origin, but it does not meaningfully add beyond what the schema already states, so a baseline of 3 is appropriate.

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 a specific verb and resource: "Confirm a reservation made with reserve_slot." It also distinguishes itself from the sibling reserve_slot by explaining that confirming is what actually claims the slot, making its role unambiguous.

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 gives strong context for when to use the tool: after a reserve_slot conversation, when the customer reads back a 6-digit confirmation code. It even highlights the competitive race between two overlapped pending reservations, but it does not explicitly name alternatives or state when not to use this 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 targets a distinct action or resource: searching, quoting, reserving, confirming, payment handoff, callback, subscription, and business queries. Even related tools like reserve_slot and confirm_booking have clearly separated roles (holding vs. claiming). No overlapping purposes or ambiguous boundaries.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (e.g., search_businesses, get_quote, reserve_slot, confirm_booking). The verbs are varied but each is intuitive and fits the action. There are no mixed naming conventions or vague verb choices.

Tool Count5/5

13 tools cover the core booking and business-intelligence workflow without redundancy. The scope is well-defined—discovery, pricing, reservation, confirmation, payment, handoff, and subscription—so each tool earns its place. Not too thin, not overloaded.

Completeness3/5

The surface covers search, pricing, reservation, confirmation, payment, and handoff, but missing explicit cancellation or modification tools for bookings. A user asking to cancel a reservation would have no direct tool; get_cancellation_policy only provides text. Also no way to list a customer's existing bookings. This leaves notable gaps for a booking-focused server.