Skip to main content
Glama

Answer run

answer_run

Answer the question a paused run is waiting on (a human step or an approval), then wait for the run to finish or ask again. answer is text, or an object keyed by the question's field names; for an approval pass {"approve": true} or {"approve": false}. A run is answered once: a second answer is refused.

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": {
      "run_id": "<run_id>",
      "answer": "<answer>"
    },
    "name": "answer_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
answerYesThe answer: text, or an object keyed by the question's field names.
run_idYes
question_idNoWhich question, when the run asks several at once (a team step's members, listed in the run's `questions`). Leave out when it asks one.
wait_secondsNoSeconds to wait for the run to finish or ask a question (0-120, default 30). The run carries on after the wait either way; call get_run to pick it up again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Beyond the annotations the description adds real behavior: waiting blocks for up to wait_seconds, the run keeps going regardless, and a second answer is refused. The refusal corroborates idempotentHint=false, and the approve/deny shapes are useful. It still says nothing about return shape or what happens when the answer doesn't match the question's fields.

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

Conciseness5/5

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

Three sentences, front-loaded with the core action, then the accepted answer shapes, then the once-only constraint. Every sentence carries information an agent needs and none is wasted.

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?

For a 4-parameter mutation tool with no output schema, the definition covers the blocking behavior, the resume path via get_run, and the payload formats, so an agent can call it correctly. The gap is what the call returns from the wait and how to interpret a returned question.

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?

With 75% schema coverage the baseline is a 3, and the description earns above that: the schema does not document the approval payload, while the description supplies {"approve": true} / {"approve": false}. It also reinforces the field-name-keyed object form for `answer` and the single-vs-many condition on question_id. run_id is left to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource — 'Answer the question a paused run is waiting on' — and immediately scopes it to 'a human step or an approval,' which separates it from unrelated run tools like cancel_run. It does not explicitly name the near-identical sibling answer_tool_approval, so the agent must infer the boundary from the scope phrasing alone.

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?

It gives concrete routing: after the wait expires 'call get_run to pick it up again,' and it tells the caller to omit question_id 'when it asks one.' It also warns that a run accepts only one answer. What's missing is an explicit statement of when to prefer this over answer_tool_approval or run_orchestration.

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.