Skip to main content
Glama

book

Destructive

Book an option (showtime, ticket class, etc.).

If a partner API is connected, completes the booking inline with a confirmation code. Otherwise returns an affiliate deep link the agent should hand to the user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
locationNoFor affiliate fallback.
verticalYesThe vertical (e.g. "movies", "events").
option_idYesshowtime_id or ticket_id from find_options.
item_titleNoFor affiliate fallback / logging.
party_sizeNoNumber of tickets/seats. Default 2.
venue_nameNoFor logging.
agent_clientNoOptional — name of the calling agent (Claude, ChatGPT, etc.).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already set destructiveHint=true. The description adds value by detailing the two outcomes (inline booking vs. affiliate link), clarifying that no actual booking may occur if no partner API is connected. No contradiction with annotations.

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 sentences, front-loaded with purpose, conditional behavior, and no wasted words. Highly concise.

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 tool with 7 parameters (2 required) and an output schema, the description covers the main behavioral branches (inline vs. affiliate). It doesn't detail return format (output schema handles that) and assumes domain knowledge (option_id from find_options). Adequate but not exhaustive.

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?

Schema coverage is 100% (all 7 parameters described). The description adds minimal extra meaning beyond schema; the only addition is explaining affiliate fallback behavior, which is not parameter-specific. Hence baseline 3.

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 starts with 'Book an option (showtime, ticket class, etc.)' clearly stating the verb and resource. It distinguishes from sibling tools like find_options (which finds options) and request_unsupported_booking (handles unsupported cases).

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 explains two scenarios: if partner API connected, completes inline; otherwise returns affiliate deep link. This guides when to expect a confirmation vs. a link, but doesn't explicitly state when not to use or alternatives beyond implicit sibling differentiation.

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

A3.9/5.0
Disambiguation5/5

Each tool has a clear, distinct role: discovery (search, search_all, list_verticals, list_venues), options (find_options), booking (book), and user feedback (request_unsupported_booking). No two tools perform the same function.

Naming Consistency3/5

Some tools follow verb_noun (list_venues, list_verticals, find_options, request_unsupported_booking), while others are single verbs or verb_adverb (book, search, search_all). The inconsistency in pattern may confuse an agent.

Tool Count5/5

Seven tools is well-scoped for a booking discovery service. Each tool covers a necessary step in the user journey without being overwhelming or sparse.

Completeness4/5

The set covers the core workflow: discover verticals, search, get options, book, and flag unsupported requests. Minor gaps exist (e.g., no tool to view or cancel bookings), but these are beyond the stated purpose.

Resources