Skip to main content
Glama

wait

Pauses automation for a specified duration in milliseconds (max 5000) to let Android UI updates settle before continuing.

Instructions

Wait for a specified duration in milliseconds (max 5000ms).

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
msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden. It states the unit and the 5000ms cap, which is useful, but it does not say whether the call blocks, whether values above the cap are clamped or rejected, or whether the tool does anything besides sleep. For a timing primitive, the blocking semantics are the single most important behavior and are unstated.

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 short sentence with the resource, unit, and constraint front-loaded and no filler. Nothing can be trimmed without losing information.

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?

This is a trivial one-parameter tool with no output schema and no annotations, so the bar is low. Still, for a delay primitive the description should state that the call blocks and what happens beyond the cap, which it does not. It is adequate but leaves real questions unanswered.

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%, so the description must explain the lone parameter. It does name the unit ('milliseconds') and restates the cap, but the schema already encodes the default of 1000 and the maximum of 5000. It adds a little meaning over the bare property name 'ms' but nothing about rounding, negative values, or out-of-range behavior.

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 gives a specific verb ('Wait') plus the unit of measure ('milliseconds'), and the max 5000ms cap makes the scope concrete. It is not a tautology of the name. It lacks explicit differentiation from siblings, though no sibling in the list obviously overlaps with a sleep/pause primitive.

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 statement of when to use this tool, when to avoid it, or what alternatives exist. The only guidance is the implicit 5000ms ceiling, which is a limit rather than a usage rule. An agent gets no help deciding whether to pause between UI actions or how long is appropriate.

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