Skip to main content
Glama

Book a viewing

book_tour
Destructive

Book a viewing of an advertised home for the connected account. starts_at must be copied exactly from list_tour_slots. The visitor is always the connected account — you cannot book on somebody else's behalf. Confirm the home and the time with the user before calling this.

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": {
      "listing": "<listing>",
      "starts_at": "<starts_at>"
    },
    "name": "book_tour"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoAnything the owner should know before the visit.
budgetNo
listingYesA listing id or its public slug.
starts_atYesAn ISO-8601 instant copied verbatim from list_tour_slots.
party_sizeNo
move_in_dateNoISO date they would want to move in.
visitor_nameNoDefaults to the name on the account.
visitor_phoneNoDefaults to the phone on the account.

Output Schema

NameRequiredDescriptionDefault
idNoThe created or updated record's id, when the write was applied rather than staged.
noteNoWhy the result was truncated, when it was.
stagedNoTRUE means nothing has changed yet — the write is queued in the account holder's Approvals queue in Seayora. Say it is waiting for approval; never report it as done.
draft_idNoThe staged proposal's id, when it was queued rather than performed.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=false and openWorldHint=true, so the write/repeatability profile is covered. The description adds real behavior beyond that: the identity constraint on who the booking belongs to and a mandatory user confirmation before the call. It stops short of saying what the booking does to the owner's calendar or whether it can be undone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, zero filler, with the identity constraint and slot-provenance rule front-loaded before the confirmation instruction. Slightly terse, but every sentence carries a distinct constraint.

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, so return values need not be described, and the mutation's safety profile is covered by annotations. The remaining gap is the three optional parameters whose purpose is unexplained anywhere, which matters somewhat for an 8-parameter booking call.

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 75%, so the baseline is 3. The description reinforces the critical provenance of starts_at (verbatim from list_tour_slots) and the account-defaulted visitor fields, but budget, party_size and move_in_date carry no meaning in either the schema or the description, so no compensation occurs.

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 ('Book a viewing of an advertised home') plus the acting scope ('for the connected account'), which distinguishes it cleanly from the slot-listing sibling. An agent knows exactly what will happen without opening the schema.

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 explicit prerequisites ('starts_at must be copied exactly from list_tour_slots'), an explicit exclusion ('you cannot book on somebody else's behalf'), and a pre-call confirmation step with the user. That is when-to-use, when-not-to-use, and a named upstream tool all in one.

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