Skip to main content
Glama

wait

Read-onlyIdempotent

Pause browser automation for a specified duration in milliseconds to handle animations or cases where no element change can be detected.

Instructions

[Agent Browser] Hard wait for a duration in milliseconds. Avoid when possible - prefer wait_for, wait_for_text, or wait_for_url. Only use for animations or when no element change can be detected.

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
duration_msNo

Output Schema

NameRequiredDescriptionDefault
dataNo
hintsNo
messageNo
successNo
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile needs no restating. The description adds the behavioral nuance that matters here: the wait is 'hard' (unconditional, time-based) and is a fallback rather than a default choice. It stops short of stating blocking effects or an upper duration bound, but covers the key trait.

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?

Three short lines, front-loaded with the definition and followed immediately by the caution and the narrow use case. No filler, no redundancy, and the most important steering information is not buried.

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

Completeness4/5

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

With an output schema present and only a single optional integer parameter, almost nothing else is required. The definition supplies the whole decision context (what it does, why to avoid it, when it is acceptable); only edge details like the default value and any maximum duration are missing.

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?

There is one parameter with 0% schema description coverage, so the description must carry the meaning; it clarifies the unit ('in milliseconds'), which is the essential semantic. However, it does not mention the 1000 ms default or any valid range, and the property name duration_ms plus title 'Duration Ms' already signal the unit, so the added value is small.

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?

States a specific verb and resource ('Hard wait for a duration in milliseconds') and immediately distinguishes the tool from the smarter wait_for family. An agent can tell this is an unconditional blocking sleep, not a condition-based wait, without opening any schema.

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

Usage Guidelines5/5

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

Explicitly says to avoid it when possible, names three concrete alternatives (wait_for, wait_for_text, wait_for_url), and gives the narrow conditions where it is appropriate ('animations or when no element change can be detected'). This is a textbook when/when-not/alternative statement.

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