Skip to main content
Glama

Book a CANOPY tour (two steps)

book_tour

Books a tour time from get_tour_slots. Step 1, without confirm_token: returns a preview of the details and a confirm_token (valid 10 minutes); nothing is saved. Show the preview to the person. Step 2, with the same details and the confirm_token: books the tour (status 'booked'; Calendly emails the person a confirmation and calendar invite) and passes the details to CANOPY's sales team. At a location that can't take direct bookings yet, step 2 instead returns a Calendly link with the details filled in (status 'link_issued') for the person to confirm. Only call step 2 after the person agrees.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "location_id": "<location_id>",
      "slot_start": "<slot_start>",
      "name": "<name>",
      "email": "<email>",
      "company": "<company>",
      "team_size": "<team_size>"
    },
    "name": "book_tour"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
emailYes
notesNo
phoneNo
companyYes
team_sizeYes
tour_typeNoin_person
slot_startYes
leave_emptyNo
location_idYes
confirm_tokenNo
conversation_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

Adds substantial behavior beyond the annotations: step 1 saves nothing, the confirm_token expires in 10 minutes, step 2 triggers a Calendly confirmation email plus calendar invite and forwards details to CANOPY's sales team, and a fallback 'link_issued' status applies at locations without direct booking. It also exposes the privacy consequence of passing details to sales. Remaining gaps are minor, such as whether step 2 can fail after the token expires or how retries behave given idempotentHint=false.

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?

Front-loads the action and the two-step contract in the first clause, then adds each behavioral detail once with no repetition. Every sentence carries information an agent needs to avoid a premature write.

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?

An output schema exists and the description still usefully names both statuses, so return handling is covered. For an open-world, non-idempotent mutation it omits prerequisite/auth information (e.g. whether Calendly must be connected) and does not contrast itself with request_tour, which would complete the picture.

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 description coverage is 0% across 12 parameters, so the description carries a heavy burden and only partly meets it: it clarifies confirm_token's purpose and 10-minute lifetime and implies the same 'details' must be resent in step 2. Critical parameters including location_id, slot_start format, tour_type, conversation_id, and leave_empty get no explanation at all.

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?

States a specific verb and resource ('Books a tour time from get_tour_slots') and lays out the two-step preview-then-book flow, so an agent knows exactly what the tool does and where the slot input comes from. It also distinguishes the preview phase ('nothing is saved') from the commit phase, which a sibling like request_tour could not be confused with once the flow is read.

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?

Gives explicit call sequencing: step 1 without confirm_token, show the preview to the person, and 'Only call step 2 after the person agrees.' That is strong when-and-how guidance. It stops short of naming a sibling alternative (e.g. request_tour) or stating when to prefer that route over booking.

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