Skip to main content
Glama

book_appointment

Destructive

Book an appointment with a local service business. Creates a booking record and adds the appointment to the business calendar. Returns a reference number and a status field indicating the actual resulting state — 'pending' (the business reviews each booking), 'confirmed' (auto-approved by the business), or 'completed' (the business auto-finalizes). Use a dateTime returned by check_availability for the selected service so bookingStartPolicy is respected. For services with maxParticipants > 1, the start can be booked until remainingCapacity reaches 0. Read the status and statusDescription verbatim and relay them accurately: do NOT tell the customer 'confirmed' when the status is 'pending'. If the selected service has requiresCustomerAddress=true, ask the customer for their full service address before calling this tool and pass it as customerAddress. ONLY call this if the business has 'booking' in its enabledFeatures array.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe exact URL slug returned by search_businesses or get_business_info. Copy it verbatim.
dateTimeYesAppointment start date and time in ISO 8601 format (e.g. '2026-04-07T14:00:00+03:00')
serviceNameYesThe name of the service to book
customerNameYesFull name of the customer
customerEmailYesCustomer email address
customerPhoneYesCustomer phone number
jobDescriptionYesDetailed description of the job or reason for appointment. Include any visual details about the issue — damage, location, severity, photos described in text form.
clientRequestIdYesREQUIRED. Stable UUID identifying this booking attempt. Generate ONCE at the moment you decide to book; reuse the SAME value on every retry of the same logical attempt so the server can dedup. A fresh value on retry will mint a duplicate calendar event.
customerAddressNoCustomer's full service address. Required when the selected service has requiresCustomerAddress=true; omit or leave blank for services that do not need an address.

TDQS

A5/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses critical behaviors: the status field semantics ('pending', 'confirmed', 'completed'), the deduplication behavior of clientRequestId on retries, and the warning not to misreport 'pending' as 'confirmed'. It also details the address requirement condition, adding rich behavioral context.

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 front-loaded with the core purpose and then delivers dense, high-value guidance. Every sentence addresses an essential operational detail—status handling, feature gating, address requirements, and idempotency—without redundant filler.

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 compensates by explaining return fields (reference number and status). It covers prerequisites, conditional requirements, and error-prone customer messaging. For a complex mutation tool with 9 parameters, this description is remarkably complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Even though schema coverage is 100%, the description substantially enriches parameter semantics. It explains that clientRequestId must be generated once and reused on retries to avoid duplicate calendar events, that dateTime must come from check_availability to respect bookingStartPolicy, and that customerAddress is conditionally required.

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 function: 'Book an appointment with a local service business. Creates a booking record and adds the appointment to the business calendar.' This specific verb and resource combination distinguishes it from siblings like check_availability and send_inquiry.

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 provides explicit usage conditions: 'ONLY call this if the business has booking in its enabledFeatures array.' It also instructs to use a dateTime from check_availability and specifies when to provide customerAddress, giving clear when-to-use and prerequisite guidance.

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

Each tool targets a distinct action: discovery, refinement, business details, services, pricing, availability, booking, inquiry, and agent chat. Even the two availability tools are clearly separated by scope (specific business/service/date vs. cross-business soonest slots). No two tools appear to do the same thing.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern (search_businesses, get_business_info, book_appointment, etc.). Verbs are varied but each is semantically precise, and there are no punctuation or style inconsistencies.

Tool Count5/5

With 10 tools, the server is well-scoped for its purpose: covering the full local-business discovery-to-booking journey. Each tool earns its place and there is no redundancy or bloat.

Completeness5/5

The tool surface comprehensively covers the domain: search, refinement, info, services, pricing, availability (both specific and cross-business), booking, inquiry, and agent interaction. There are no missing critical operations for the stated purpose of discovering, contacting, and booking local service businesses.