Skip to main content
Glama

wait

Read-only

Pauses execution until delegated tasks finish and returns their results, using task IDs, notification IDs, or a timeout in seconds.

Instructions

task_id、tasks、notification_id 三选一。提醒用 seconds=0。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
tasksNo
secondsNo
task_idNo
since_revisionNo
notification_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

C2.5/5.0
Behavior2/5

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

Annotations only cover readOnlyHint=true and openWorldHint=false, so the behavior burden falls on the description. It discloses none of the traits that matter for a blocking call: that it blocks, that seconds is capped at 25, what happens on timeout, or whether it returns immediately when the target is already resolved.

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?

Two short clauses with no filler, which is good for brevity. However the sizing is achieved by omission rather than economy - the sentence is not front-loaded with what the tool does, so the reader must piece the purpose together from parameter constraints.

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

Completeness2/5

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

For a 5-parameter, zero-coverage, no-output-schema tool with blocking semantics, the definition is thin. It should at minimum say what a wait resolves on, what the seconds window bounds, and what a caller receives when the wait ends, none of which is present.

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 0% across 5 parameters, so the description must compensate. It does clarify the mutual exclusivity of three ID parameters and attaches a concrete rule to seconds ('0 for reminders'), but since_revision is never mentioned and the fields inside the tasks objects (turn_id, operation_id) are entirely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states what the tool does. It only declares that task_id, tasks and notification_id are mutually exclusive plus a special case for seconds=0, leaving the actual action (block until a task completes or a notification arrives) to be inferred from the one-word name 'wait'.

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?

It does give real selection guidance among the tool's own input modes ('三选一' - choose exactly one of the three) and one special case ('for reminders use seconds=0'). It gives no guidance about when to call this instead of siblings such as status, result or tasks, so the broader when-to-use decision is left implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.