Skip to main content
Glama

question_answer

Record a human's answer to a pending or defaulted project question, with optional notes, and queue a wake so the asker can act on the response.

Instructions

Record the human's answer to a pending or defaulted question in this project, plus optional notes. The answer may be a picked option label or free text, including text outside the offered labels. The answer update comes first; the answer and any wake commit together, and the answer stays readable with question_get. Repeating the stored answer succeeds with already_answered: true when notes are absent or match the stored notes; a different answer or notes conflicts. A withdrawn question refuses with QUESTION_STATE_CONFLICT. A queued wake carries the question, answer and notes verbatim. When you are the asker, skip with wake_id: null and wake_skipped; otherwise, queue a wake to the running asker or, if the asker has no running row, to the project's running lead with wake_rerouted_to. Skip that fallback with wake_id: null and wake_skipped if no lead runs or the lead is the answerer. wake_id means queued, not delivered.

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": {
      "question_id": "<question_id>",
      "answer": "<answer>"
    },
    "name": "question_answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
answerYes
question_idYes

Output Schema

NameRequiredDescriptionDefault
wake_idYes
hive_noticeNo
question_idYes
wake_skippedNo
already_answeredNo
wake_rerouted_toNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.15.2
    • addedOutput schema / properties / already_answered
      Added value: +{
      +  "type": "boolean"
      +}
  2. Addedv1.11.5

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent mutation, so the description only needs to add nuance, which it does: order of operations ("answer update comes first"), conflict/refusal codes, verbatim wake payloads, and the reroute-to-lead fallback. One tension worth noting: the replay-succeeds-with-already_answered semantics reads as near-idempotent while idempotentHint is false, but this is explained by the conflicting-notes case rather than a flat contradiction.

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?

The core action is correctly front-loaded in the first sentence, and the backtick-quoted status codes aid scanning. However, the wake discussion is a dense multi-clause block that consumes about half the text and describes a field the schema does not expose, so not every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 restated, and the description does cover failure modes and replay behavior. Completeness is undermined by the phantom wake parameters and the absence of any explanation of question_id, leaving the agent with a partly inaccurate model of the callable surface.

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?

With 0% schema description coverage the description must carry all three parameters. It does well on `answer` (option label or free text, including text outside the offered labels) but leaves `question_id` and `notes` largely unelaborated. Worse, roughly half the description discusses `wake_id` and `wake_skipped`, which do not appear in the schema (additionalProperties: false), so an agent may attempt a parameter the tool will reject.

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?

Opens with a specific verb and resource ("Record the human's answer to a pending or defaulted question") and adds scope (this project, optional notes). It also explicitly contrasts with the read path ("the answer stays readable with `question_get`"), so an agent can tell it apart from question_get and question_update without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete conditional guidance: replaying the same answer returns already_answered, a differing answer or notes conflicts, a withdrawn question refuses with QUESTION_STATE_CONFLICT, and the asker should skip via wake_id null / wake_skipped. What is missing is an explicit statement of when to prefer this tool over question_update or question_ask; the routing is inferred from the conflict rules rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.