Skip to main content
Glama

Answer Task Request

alterlab_task_answer
Destructive

Reply to a request a task is waiting on, using the user's own words. For a question pass answer; for an approval pass decision approve or deny. An approval covers only the exact previewed batch, so retry it unchanged with alterlab_task_act. Only a question can be answered by this agent connection: a write approval must come from the user in their AlterLab dashboard or the AlterLab Connect extension, which approves through the user's own signed-in session (this call returns 403 approver_required otherwise). Find request ids in alterlab_task_status or alterlab_hands_pending.

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>",
      "request_id": "<request_id>"
    },
    "name": "alterlab_task_answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
answerNoFor questions
task_idYesTask the request belongs to
decisionNoFor approval requests
request_idYesId of the pending request

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, readOnlyHint=false), the description discloses that an approval is scoped to the exact previewed batch and must be retried unchanged via alterlab_task_act, and that answering an approval returns 403 approver_required. That failure mode and scoping constraint are non-obvious and materially change how an agent should call it.

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?

Four sentences, front-loaded with the action and the per-request-type branching before the constraints. Some clauses are densely stacked ('which approves through the user's own signed-in session'), and the 403 note could be folded tighter, but nothing is filler.

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 non-idempotent mutation with no output schema, the description covers the important unknowns: authority requirements, batch scoping, and the failure code. What it leaves out is what a successful call returns or how to confirm the request was consumed, which would matter for retry decisions.

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; the description earns a step up by stating the mutual exclusivity that the flat schema cannot express — answer applies only to question requests, decision only to approval requests, never both. It does not add format guidance for the 4000-character answer field, so it stops short of a 5.

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 opens with a specific verb and object: 'Reply to a request a task is waiting on,' and immediately branches on the two request kinds (question vs. approval). It is clearly distinguishable from siblings like alterlab_task_act (retry), alterlab_hands_answer, and alterlab_run_approve, because it names the request-id sources and the retry path explicitly.

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?

It gives explicit routing rules ('For a question pass answer; for an approval pass decision approve or deny') and an explicit exclusion: only questions may be answered over this connection, while write approvals must go through the dashboard or Connect extension. It also names where to find request ids (alterlab_task_status, alterlab_hands_pending), so the agent knows both when to use this tool and when not to.

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.