Skip to main content
Glama

Wait for a call result

wait_for_call
Read-only

Keep waiting for a call that call_business / modify_booking / call_person / call_me reported as in_progress. Returns the flat result once the call ends, or in_progress again — just call it again.

Input Schema

NameRequiredDescriptionDefault
task_idYesTask ID returned by a phone tool.
wait_secondsNoSeconds to wait for the call result before returning a task ID.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly/safe and non-open-world, so the description's job is to add semantics: it does, disclosing the long-poll pattern, the two possible return states, and the required re-invocation loop. It does not state what happens if the call never ends or whether repeated polling has cost/rate implications, leaving one behavioral gap.

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, front-loaded with the trigger condition, then the return/retry contract. No filler and nothing repeated from the schema.

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?

With an output schema present, return values need not be detailed, and the description still usefully summarizes the two outcomes. The main omission is timeout/never-terminating behavior and any guidance on polling cadence beyond "call it again".

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 100% and both parameters (task_id, wait_seconds with default 55) are documented in the schema itself. The description adds no syntax, format, or tuning guidance beyond pointing at task_id implicitly, so the baseline 3 applies.

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 states a specific action (keep waiting/poll for a call result) and ties it directly to the sibling tools that produce the prerequisite state (call_business, modify_booking, call_person, call_me). An agent can immediately tell this is the follow-up/polling tool rather than a call initiator, and the two possible return states are named.

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 clearly states the trigger condition (a call reported as in_progress by one of four named tools) and the retry protocol ("just call it again"). It does not explicitly say when NOT to use it — e.g. that it must not be called before a task id exists — but the context is unambiguous.

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