Skip to main content
Glama

browser_wait

Waits a specified duration or until target text or selector appears, enabling agents to synchronize browser actions with page state.

Instructions

Espera ms, o hasta que aparezca un texto o selector.

Input Schema

NameRequiredDescriptionDefault
msNo
textNo
timeoutNo
selectorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Without annotations, the description must carry the full burden of behavioral disclosure. It fails to clarify how the four parameters interact, specifically whether the 'timeout' applies only to condition checks or also to the 'ms' waits.

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?

The description is extremely concise and efficient, communicating the two operational modes (time-based vs. condition-based) in a single, short sentence.

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 4-parameter tool with two distinct waiting modes, the description is incomplete. It does not detail the scope of the wait or the expected success/failure behaviors, especially regarding the timeout limit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description offers no semantic meaning for any of the four parameters. It relies entirely on the agent knowing what 'ms', 'text', or 'selector' represent.

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 clearly identifies the tool's function as waiting ('Espera') and states the resource scope (browser context). It successfully distinguishes this temporal function from most action-based sibling tools by focusing on waiting time or conditions.

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?

The description provides no guidance on when to use this tool versus alternatives. For instance, it does not explain if this is better used than, say, a polling mechanism like 'browser_watch' for specific use cases.

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