Skip to main content
Glama

Wait for a call to end

callout_wait_for_call_completion
Read-onlyIdempotent

Waits until a call reaches a final status or the timeout is reached, and returns the status. Calls usually take 1 to 3 minutes.

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": {
      "call_id": "<call_id>"
    },
    "name": "callout_wait_for_call_completion"
  }
}

Input Schema

NameRequiredDescriptionDefault
call_idYes
timeout_secondsNo
poll_interval_secondsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds genuinely useful behavior beyond that: it blocks, it terminates on final status OR timeout, and typical duration is 1-3 minutes. It omits what happens when the timeout fires (error vs. returned non-final status), which is the key ambiguity for a blocking call.

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?

One sentence stating the contract followed by one short sentence of practical timing context. Nothing is wasted and the blocking behavior is front-loaded.

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?

An output schema exists, so return-shape explanation is rightly omitted, and the duration hint is valuable. Still, for a blocking tool with 0% parameter documentation, the description should say what happens on timeout expiry and what the poll interval affects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters, so the description bears the burden but only indirectly hints at a timeout via 'the timeout is reached'. Neither call_id nor poll_interval_seconds is explained, and no default (180s) or tuning advice is given beyond what the schema literals already show.

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?

States a specific verb and resource ('Waits until a call reaches a final status') plus the outcome ('returns the status'), so the agent knows exactly what the tool does. It does not name or distinguish itself from the closely related sibling callout_get_call_status / callout_get_call_result, which is the only real gap.

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?

The sentence 'Calls usually take 1 to 3 minutes' implicitly signals this is a blocking tool suited to short-lived calls, which nudges toward using it rather than manual polling. However, there is no explicit when-to-use/when-not-to-use statement and no naming of callout_get_call_status as the non-blocking alternative.

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