Skip to main content
Glama

Record a human's answers

answer_questions

Record the human's answers to a task's questions, or change answers they already gave.

These are their decisions, not yours: only call this tool after their explicit confirmation in the conversation, reading back to them the answer you are about to record. Never answer a question on your own, least of all a question you asked: an answer unblocks an agent.

For a question with options, choices repeats the labels from get_task. To change an answer, pass the version you read (expected_version). All or nothing: an error records no answer. Every answer goes to the task's log, under your name.

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": {
      "task_id": "<task_id>",
      "answers": "<answers>"
    },
    "name": "answer_questions"
  }
}

Input Schema

NameRequiredDescriptionDefault
answersYes
task_idYes

Output Schema

NameRequiredDescriptionDefault
editedYesChanged answers.
task_idYes
answeredYesQuestions that received their first answer.
unchangedYesChanges identical to the existing answer: nothing was written.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / $defs / AnswerIn / properties / choices / description
      Previous value: -"Libellés des options choisies (ceux de get_task), sans casse ; vide pour une réponse libre."New value: +"Labels of the chosen options (as in get_task), case-insensitive; empty for a free-text answer."
    • changedInput schema / $defs / AnswerIn / properties / expected_version / description
      Previous value: -"Pour modifier une réponse déjà donnée : sa version (answer.version de get_task). Omise pour une question en attente."New value: +"To change an answer already given: its version (answer.version in get_task). Omit it for a pending question."
    • changedInput schema / $defs / AnswerIn / properties / text / description
      Previous value: -"Réponse libre ou précision, telle que dite."New value: +"Free-text answer or clarification, as stated."
    • changedOutput schema / properties / answered / description
      Previous value: -"Questions qui ont reçu leur première réponse."New value: +"Questions that received their first answer."
    • changedOutput schema / properties / edited / description
      Previous value: -"Réponses modifiées."New value: +"Changed answers."
    • changedOutput schema / properties / unchanged / description
      Previous value: -"Modifications identiques à la réponse en place : rien n'a été écrit."New value: +"Changes identical to the existing answer: nothing was written."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses all-or-nothing atomicity ('an error records no answer'), that every answer is written to the task's log under the caller's name, and the human-confirmation precondition. The annotations only declare the mutation profile, so this added context is substantive rather than redundant.

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?

Front-loaded with the action, then constraints, then parameter notes; every sentence carries information. Slightly discursive in the emphatic aside about answering your own question, which could be tightened without loss.

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?

For a non-idempotent mutation with an output schema, the description covers the essentials an agent could get wrong: consent precondition, atomic failure semantics, version-based update, and audit logging. Nothing material is missing.

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?

Adds meaning for the two semantically loaded parameters: `choices` must repeat labels from get_task, and `expected_version` is the version previously read, used only to modify an existing answer. Some of this overlaps the schema's own field descriptions, and task_id/answers get no explanation, so it is strong but not exhaustive given the reported 0% schema description coverage.

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 ('Record the human's answers to a task's questions') and explicitly covers the update path ('or change answers they already gave'), which distinguishes it from ask_questions and get_task without the agent needing to inspect 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 explicit when-to-use ('only call this tool after their explicit confirmation, reading back the answer') and when-not ('Never answer a question on your own, least of all a question you asked'), plus routes to get_task for the labels used in `choices`. This is close to a complete decision rule.

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