Skip to main content
Glama

wait_for_approval

Wait until an approval is no longer pending, or the timeout elapses. timeout_seconds defaults to 30.

Input Schema

NameRequiredDescriptionDefault
approval_idYes
identity_idNoIdentity to use. Omit when the account has exactly one identity.
timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the key blocking behavior and both exit conditions, plus the 30-second default, which is genuinely useful. However, it omits what happens on timeout (error vs. a 'still pending' result) and whether the call holds a session or has side effects, which are the details an agent most needs before blocking on it.

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?

Two short sentences, zero filler, and the behavioral contract is front-loaded before the parameter detail. Every clause carries information.

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?

For a simple three-parameter blocking tool this is close to adequate, but with no output schema and no annotations the description should state what the call yields on success versus timeout. That missing outcome contract is the main gap for an agent deciding how to branch afterward.

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 coverage is only 33%, and the description compensates for exactly one gap by stating that timeout_seconds defaults to 30 — a value absent from the schema. It says nothing about approval_id (the required parameter) or its relationship to request_approval, so the low-coverage burden is only partially met.

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 names a specific verb and resource ('wait until an approval is no longer pending') and states both termination conditions, so the operation is unambiguous. It does not explicitly differentiate itself from the sibling request_approval, though the pairing is inferable from the names.

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

Usage Guidelines3/5

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

Usage is only implied: the agent can infer this should be called after request_approval to block until a decision arrives. There is no explicit 'use this when...' statement, no guidance on when not to call it (e.g., polling vs. blocking), and no mention of the sibling alternatives such as list_events for non-blocking checks.

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.

Resources