Skip to main content
Glama

Answer a booking's questions (invitee)

answer_booking

Saves the invitee's answers to questions the host asks (questions on the booking, those not yet in answers). Questions are answered when booking, in create_booking's answers. This is for an answer the invitee wants to add or change afterwards: don't ask them again after booking. A new answer to a question replaces the old one. Returns the booking.

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": {
      "id": "<id>",
      "token": "<token>",
      "answers": "<answers>"
    },
    "name": "answer_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe booking id from create_booking, or its manageUrl
tokenYesthe token from create_booking, or the manageUrl
answersYesthe answers, as [{ id, value }]

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare a non-destructive, non-open-world write, so the safety profile is covered; the description adds genuine behavior on top by disclosing replace semantics ('A new answer to a question replaces the old one') and that it returns the booking. It does not mention auth/token requirements or whether partial answers are persisted, which are the remaining gaps for a mutation tool.

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?

Four short sentences, front-loaded with the action and scoping, then the alternative, then the replacement rule and return value — nothing is filler. The phrasing is slightly compressed (parenthetical about `questions`/`answers`), but it stays readable and wastes no space.

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?

No output schema exists, and the description compensates by stating 'Returns the booking'; annotations cover the destructive/read profile, and the schema covers all three parameters. The only shortfall is that it says nothing about authorization or what happens if an unknown question id is supplied, minor for a tool this simple.

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 100% and already documents id/token sourcing from create_booking or manageUrl, question id provenance, and value formats per question type. The description only adds the scoping note that the answers map to questions not already present in `answers`, which is marginal over the schema. Baseline 3 is appropriate given the schema carries the load.

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 ('Saves the invitee's answers to questions the host asks') and pins it to a concrete data source ('`questions` on the booking, those not yet in `answers`'). It also distinguishes itself from the sibling that handles the same data at booking time, so an agent can tell the two apart without opening a 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?

Explicitly names the alternative path ('Questions are answered when booking, in create_booking's `answers`') and the condition that selects this tool instead ('an answer the invitee wants to add or change afterwards'). It even adds a negative instruction ('don't ask them again after booking'), closing the loop on when not to use it.

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