Skip to main content
Glama

Answer tool approval

answer_tool_approval

Allow or refuse a tool call an agent stopped on: in a conversation (chat_with_agent's awaiting_approval, an app's or a phone call's), or in a scheduled run. Name where it waits with session_id or schedule_id; list_waiting shows each with its ids. Allowed, the turn carries on and this waits for its reply. A question is answered once.

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": {
      "approve": "<approve>"
    },
    "name": "answer_tool_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNoThe agent whose question it is, when several wait.
reasonNoWhy, told to the agent (optional).
approveYestrue to let the call run, false to refuse it.
session_idNoThe conversation that waits.
approval_idNoThe call this answers, so an older question is never answered by mistake.
question_idNoWhich team member's question, when several wait.
schedule_idNoThe schedule whose run waits.
wait_secondsNoSeconds to wait for the resumed turn's reply. It carries on after the wait.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true and idempotentHint=false; the description adds the meaningful behavior on top: that an allowed call resumes the turn, that the response is the resumed turn's reply delivered within a bounded wait, and that 'a question is answered once', which explains the non-idempotent flag in operational terms. It does not cover failure modes (expired approval, unknown id) or what happens if the wait times out beyond the schema's note.

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?

It is front-loaded and short in word count, with no filler sentences. However the phrasing is heavily clipped and parenthetical ('in a conversation (chat_with_agent's `awaiting_approval`, an app's or a phone call's), or in a scheduled run'), which costs readability for an agent parsing it. Tightening the nested parentheses would earn a higher score.

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 an 8-parameter, non-read-only tool with no output schema, the description covers the essentials: what it acts on, how to locate the waiting item, and that the reply arrives after a wait. The main remaining gap is disambiguation from answer_run and any note on failure or expired approvals, which an agent could hit in practice.

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?

Schema description coverage is 100%, so every parameter is self-documenting and the 3 baseline applies. The description adds modest routing meaning by saying the waiting location is named with session_id or schedule_id, which clarifies that these are alternative locators, but it does not explain approve/reason/question_id/approval_id interactions beyond what the schema already states.

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 first clause gives a specific verb pair and resource: 'Allow or refuse a tool call an agent stopped on', and it enumerates the contexts where such a call can wait (conversation, app, phone call, scheduled run). It is clearly separable from list_waiting, which it positions as the discovery tool. It stops short of 5 because the sibling answer_run covers scheduled runs and the description never says how this differs from it.

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 when-to-use context: use this when an agent stopped on a tool call, in a chat, an app, a phone call, or a scheduled run, and it routes the agent to list_waiting to discover the ids. It also states the post-call expectation ('this waits for its reply') so the agent knows the call blocks. The gap is the absence of an explicit exclusion against answer_run for the scheduled-run case.

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.