Skip to main content
Glama

Invoke Human Tool

Wait for the answer

wait_for_handoff
Read-onlyIdempotent

Wait up to 25 seconds for one handoff on this account to be submitted. Returns the completed result, or status pending. Pending is success. Call it again to keep waiting. This does not change the handoff. Use it when the client does not declare the MCP Tasks extension. With Tasks, pass await_answer on send instead.

Input Schema

NameRequiredDescriptionDefault
idYesHandoff id, hnd_...
timeout_msNoHow long to wait, from 0 to 25000. Default 20000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly and idempotent annotations, the description explains the waiting behavior, the 25-second wait cap, the meaning of a pending return, and that pending is success. It also explicitly states that the call does not change the handoff, which is valuable behavioral context.

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?

The description is short and front-loaded with the core wait behavior. Every sentence adds useful operational detail: return semantics, pending success, retry behavior, non-mutation, and when to prefer the Tasks extension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read-only tool with no output schema, the description covers the important return semantics and retry behavior. It also explains when to use it versus the Tasks-based approach, leaving no major operational gap.

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 the id and timeout_ms parameters are already documented in the input schema. The description mentions the 25-second wait window but adds little parameter-specific guidance beyond the schema's range and default for timeout_ms.

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: wait up to 25 seconds for one handoff on this account. It clarifies that it returns the completed result or a pending status, which distinguishes it from simple status/result retrieval. However, it does not explicitly name get_handoff_result or get_handoff_status as alternatives, so sibling differentiation is implied rather than fully explicit.

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 an explicit usage condition: use it when the client does not declare the MCP Tasks extension. It also names the alternative behavior with Tasks: pass await_answer on send instead, and explains that repeated calls are needed to keep waiting.

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.