Skip to main content
Glama

wait_ms

Pause execution for a requested duration (max 10000ms) to wait for page loads or UI draws. Reports actual wait time and if the duration was clamped.

Instructions

Wait (e.g. for a page to load or an app to draw) — capped at 10000 ms.

Returns {"ok", "action", "requested_ms", "waited_ms", "clamped"} — "clamped": true means you asked for more than the cap and only waited_ms elapsed. Prefer settle_ms on the action itself when you also want to observe the result in the same call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
msYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations provided, but description fully discloses behavior: cap at 10000 ms, returns {'ok', 'action', 'requested_ms', 'waited_ms', 'clamped'}, explains 'clamped' flag meaning when cap exceeded. No contradictions.

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 sentences: first defines purpose and cap, second explains return structure and alternative. No redundant words, information is front-loaded and efficient.

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

Completeness5/5

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

For a simple wait tool, description covers return values, behavior at cap, and alternative (settle_ms). No output schema visible but description provides details. Complete for its complexity.

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?

Only one parameter 'ms' (integer) with 0% schema description coverage. Description adds the cap constraint (10000 ms) but does not explicitly state the parameter represents milliseconds. The tool name 'wait_ms' implies milliseconds, but description could be clearer.

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?

Clearly states it's a 'wait' tool for page load or app draw. The verb 'wait' and resource implied (time) with specific use cases. Differentiates from siblings by mentioning 'settle_ms' as an alternative for observing results in the same call.

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?

Provides clear context: wait for page load or app draw, capped at 10000 ms. Suggests preferring 'settle_ms' on the action to observe the result simultaneously. Lacks explicit when-not-to-use but covers key usage guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/segentic-lab/glovebox-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server