Skip to main content
Glama

Zestli

Set Booking Guest Answers

set_booking_guest_answers

Save or correct explicit guest answers on your unstarted booking proposal.

After initiate_booking, ask the exact guest_questions from the quote/review. Never infer dietary, accessibility or other answers. Send proposal_id, its current review fingerprint, and ALL answers to keep as supply_id, offer_id, question_id and answer. Empty clears an answer; omitted optional questions stay unanswered. Choice answers must exactly match an offered choice. This is a reversible save, never purchase consent. The result includes the new review fingerprint and exact answers. For a correction, use that new fingerprint. Started purchases and stale concurrent edits refuse. Required blanks can be saved, but block payment until answered. The user can also answer on hosted checkout; after saving ask for human booking approval.

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": {
      "request": "<request>"
    },
    "name": "set_booking_guest_answers"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesReplace all answers on the currently reviewed proposal, without purchasing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false and openWorld=true, so the description's contributions are incremental: whole-set replacement semantics, empty-string clears, stale-edit refusal, and the fact that required blanks can be saved but block payment. The stated non-idempotency (new fingerprint required for corrections) and reversibility align with the annotations rather than contradicting them. Missing are rate limits or auth requirements.

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?

Purpose is front-loaded in the first sentence, followed by ordering, constraints, and error behavior. It is dense but nearly every sentence carries a distinct rule; the closing human-approval nudge is slightly tangential but still actionable.

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 supplies the return shape (new review fingerprint plus exact answers), which is exactly what an agent needs to chain a correction. Edge cases (empty clears, unanswered optional, required blanks blocking payment, stale edits refusing) are all covered for a nested-object mutation tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description adds real meaning beyond it by explaining that all answers must be resubmitted as a set, that omitted optional questions stay unanswered, that empty clears an answer, and that expected_fingerprint must be the current one from the last result. Choice answers must exactly match an offered choice is extra constraint not visible in the schema.

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?

"Save or correct explicit guest answers on your unstarted booking proposal" gives a precise verb, resource, and lifecycle scope (unstarted proposal), which implicitly separates it from initiate_booking and set_booking_travelers. An agent can tell what object is mutated and at which stage.

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?

It names the prerequisite (after initiate_booking), the source of truth for questions (the quote/review), an explicit prohibition (never infer dietary/accessibility answers), and the alternative path (user can answer on hosted checkout, then request human booking approval). It also states the correction flow via the returned fingerprint and which conditions refuse (started purchases, stale concurrent edits).

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