Skip to main content
Glama

Find and book a local service pro

Book a visit

book_visit
Idempotent

Book a visit with a company from find_pros. Only when the customer clearly asked to book, using their own name, phone and address. Confirm the company, day and time window with the customer first. The company confirms by text or a call.

Input Schema

NameRequiredDescriptionDefault
zipNoZIP code
cityNo
dateYesYYYY-MM-DD, one of the open days from get_availability
nameYesCustomer full name
emailNoCustomer email (optional)
notesNoWhat is wrong, in the customer’s words
phoneYesCustomer phone number
stateNo2-letter state
windowYesTime window id from get_availability
addressNoStreet address of the visit
serviceYesOne of the services from get_availability
booking_idYesbooking_id from find_pros

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 declare readOnly=false, idempotent=true, openWorld=true and destructive=false, so the safety profile is covered. The description adds genuinely new behavior: the booking is not final at call time because 'the company confirms by text or a call', which tells the agent the result is a pending request rather than a confirmed appointment.

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?

Four short sentences, front-loaded with the action, then the precondition, then the confirmation requirement, then the outcome. No sentence is redundant and nothing is buried.

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 12-parameter mutation with no output schema, the description covers the workflow chain (find_pros → get_availability → book), the prerequisites, and the post-call confirmation behavior. It does not say what a failed or rejected booking looks like, but the essential calling context is present.

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 92%, so the schema already documents nearly every field, including the booking_id/date/window provenance. The description only reinforces that name, phone and address must be the customer's own, adding little beyond the structured data. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Book a visit with a company from find_pros') and anchors it to the sibling tool that supplies the company. It is clearly distinguishable from find_pros and get_availability, though the differentiation is implied by the workflow rather than stated as an explicit contrast.

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?

Gives an explicit gating condition ('Only when the customer clearly asked to book'), a data-provenance rule (their own name, phone and address), and a required pre-step ('Confirm the company, day and time window with the customer first'). An agent knows exactly when to call this and what must happen before it does.

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.

Resources