Skip to main content
Glama

wait

Read-only

Pauses the current call for a bounded duration and returns elapsed time without changing device selection or state.

Instructions

Pause this call for a bounded duration. Returns the elapsed time and leaves device selection and device state alone.

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": {
      "duration_ms": "<duration_ms>"
    },
    "name": "wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeout_msNo
duration_msYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that by stating it returns the elapsed time and that device selection and device state are untouched — useful because there is no output schema. It stops short of disclosing bounds (the 120000 max is schema-only) or timeout failure behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences with the effect front-loaded and the side-effect guarantee second; nothing is padded. The wording "bounded duration" is slightly vague in a way that costs it the top score, since the bound is only discoverable in the schema.

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 simple two-parameter tool the description covers the effect and the no-side-effect guarantee, but with 0% schema coverage and no output schema it should explain the duration_ms versus timeout_ms distinction and what a timeout does. The most confusing part of the interface is left entirely undocumented.

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%, so the description must carry parameter meaning and it does not. Two integer millisecond parameters with nearly identical bounds (duration_ms min 0, timeout_ms min 1) are never distinguished, leaving an agent unable to tell what timeout_ms controls or whether exceeding it raises an error.

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?

"Pause this call for a bounded duration" gives a specific verb and effect, so an agent knows exactly what the tool does. It does not differentiate itself from the sibling "wait_for", which by name sounds like a related but distinct blocking primitive, leaving ambiguity about which pausing tool to pick.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The phrase "leaves device selection and device state alone" hints at a non-disruptive sleep, but it never states when a caller should sleep here versus using wait_for or simply retrying.

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