Skip to main content
Glama

Answer a business's questions

answer_request
Destructive

Adds the user's answers to a request that send_request returned with status needs_info, by its public_ref. The request was held because the business asks questions it needs answered before it can reply; nothing was sent to anyone. The answers are the user's own answers to the questions in open_questions, passed on as the user's words: a guessed answer reaches the business as if the user gave it. Once every required question is answered the request goes on as send_request describes, and next_step describes what happens next for the user. Answers can be added only through the address the request was sent on, and only while it is held. reply, with the same public_ref, passes on the user's reply, in their words, to a follow_up that get_request_status shows: a question the business asked about the request before answering. For a request_match, a business's follow_up is in match.replies, and a reply with that business's request_ref goes to it alone. choose, with the public_ref request_match returned, passes on the business the user chose, as the user's own choice; it cannot be undone. Each call takes exactly one of answers, reply and choose.

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": {
      "public_ref": "<public_ref>"
    },
    "name": "answer_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
replyNoThe user's reply to the business's question about this request (follow_up in get_request_status), in their words, at most 500 characters. It goes to that one business only, as the user's own words.
chooseNoFor a request_match: the slug of the business the user chose, one of those in match.replies with may_choose true. That business is then given the user's name and contact as the user's own choice, the others are told they were not chosen, and it cannot be undone.
answersNoAnswers to the business's questions (request.questions in get_business), keyed by each question's id: a number for a number question, one of the options for a choice, YYYY-MM-DD HH:MM for a date and time, true or false for yes or no, and words for text. They are the user's own answers, sent to the business as the user's words: a guessed answer reaches the business as if the user gave it.
public_refYesThe public_ref send_request returned. With reply to one business of a request_match, that business's request_ref from match.replies in get_request_status. With choose, the public_ref request_match returned.

Output Schema

NameRequiredDescriptionDefault
statusNo
bookingNo
confirmNo
outcomeYesnot_connected: the business has not joined, so nothing was sent. The user's name, contact details and words were not kept; we count only that someone asked.
fallbackYesOther ways for the user to reach the business directly.
duplicateNoTrue when this request already existed and was returned instead of a new one.
next_stepYesPlain words describing what happens next for the user.
public_refNoThe reference for get_request_status.
respond_byNo
status_urlNoA page where the user can follow the request.
alternativesNoWhen outcome is not_connected: businesses with one of the same labels, in the same place, that can take a request now, found by an ordinary search. Nothing has been sent to any of them.
slot_outcomeNoWhen slot_start was given: booked when the time was booked as the request reached the business; not_available when it was not (taken by then, or the business no longer offers open times) and the business will answer as usual; pending until the request reaches the business.
open_questionsNoWhen status is needs_info: the required questions still unanswered. answer_request adds the user's answers to them.
confirmation_sent_byNo"email" when a link to confirm was emailed. We never text one: "sms" is not used.
needs_customer_confirmationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say this is a non-idempotent, destructive, open-world write; the description adds the substantive behavior: nothing was sent to anyone, answers go out as the user's own words (so a guess is indistinguishable from a real answer), answers can only be added via the address the request was sent on and only while the request is held, and choose 'cannot be undone' - directly reinforcing destructiveHint.

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

Conciseness3/5

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

Front-loaded with the primary answers mode, but the single dense paragraph crams three modes together and repeats the 'as the user's own words / guessed answer' caution already present in the answers schema description. The sentence 'Once every required question is answered the request goes on as send_request describes, and next_step describes what happens next for the user' is convoluted and references a next_step field not visible here.

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 can lean on it, yet it still explains the held-request lifecycle, the follow_up/match.replies routing, and the irreversibility of choose. It stops short of explaining what happens when only some required questions are answered or what an invalid public_ref produces.

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, but the description adds meaning the schema does not: public_ref is the send_request ref for answers, the business's request_ref from match.replies for reply, and request_match's public_ref for choose. It also supplies the mutual-exclusion rule that the schema's flat properties list does not express.

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 plus the exact precondition: 'Adds the user's answers to a request that send_request returned with status needs_info, by its public_ref.' It also names the sibling tools that produce or consume the refs (send_request, get_request_status, request_match, get_business), so an agent can place it in the workflow without opening other schemas.

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 per-mode routing: use answers while the request is held with needs_info, use reply to answer a follow_up that get_request_status shows, and use choose with the public_ref request_match returned. The closing rule 'Each call takes exactly one of answers, reply and choose' settles the selection between the three parameters explicitly.

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