Skip to main content
Glama

answer-agent

Provide answers to pending agent questions and resume paused execution. Supports single or multi-question responses.

Instructions

Submit an answer to a pending question from an agent. When an agent pauses because it asked a question, use this to respond and resume execution.

When to call: Read task:///all — tasks with status waiting_answer have a "Pending Questions" section showing the question, choices, and an example answer-agent call.

Single-question flows (Copilot / Claude): Use the answer field.

  • Choice by number: "1", "2", "3" — selects the corresponding option

  • Choice by text: Exact text of a choice option

  • Custom answer: "OTHER: your custom text" — for freeform responses when choices don't fit

Multi-question flows (Codex): Use the answers field with a map of question IDs to answers. Read task:///{id}pending_question.structured_questions to get question IDs.

Examples:

answer-agent { "task_id": "abc123", "answer": "2" }
answer-agent { "task_id": "abc123", "answer": "OTHER: Use TypeScript instead" }
answer-agent { "task_id": "abc123", "answers": { "q_build_system": "1", "q_language": "TypeScript" } }

Find pending questions: Read task:///all — look for the "Pending Questions" section.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
answerNoSingle answer for single-question flows (Copilot/Claude): choice number (1, 2, 3...), exact choice text, or "OTHER: your answer". Mutually exclusive with answers.
answersNoMulti-question answer map for Codex flows: { "<questionId>": "<answer>" }. Read task:///{id} → pending_question.structured_questions[].id to get question IDs. Mutually exclusive with answer.
task_idYesTask ID with pending question. Find via task:///all — look for waiting_answer status.
Behavior4/5

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

The description discloses that the tool modifies agent state by resuming execution, complementing the annotations which are all false. It explains the effect (resume execution) but doesn't detail side effects or error behavior, which would warrant a 5.

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?

The description is well-structured with bolded sections, examples, and front-loaded purpose. It's longer but each section earns its place; slightly verbose but not excessive.

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?

The description fully explains when and how to use the tool, including finding pending questions and formatting answers. However, it omits any indication of the tool's return value or error handling (no output schema), leaving a notable gap in completeness.

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% with descriptive parameter descriptions, but the tool description adds valuable examples for the answer and answers fields, including the 'OTHER:' prefix and the flow-specific formatting. This goes beyond the schema.

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?

The description explicitly states 'Submit an answer to a pending question from an agent' and clarifies it resumes execution. This distinguishes it from sibling launch/message/cancel-agent tools.

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?

Provides clear 'When to call' guidance: tasks with status waiting_answer, and differentiates between single-question (Copilot/Claude) and multi-question (Codex) flows. Also explains how to find pending questions via task:///all.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yigitkonur/mcp-supersubagents'

If you have feedback or need assistance with the MCP directory API, please join our Discord server