Skip to main content
Glama

chrome_wait

Waits for a selector or fixed time before continuing browser automation, synchronizing actions with page state and element availability.

Instructions

Wait for a selector or fixed time

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": "chrome_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeoutNo
selectorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

C2.8/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 burden, but it discloses almost nothing: it does not say what happens when the timeout expires (throw, return false, continue), whether waiting on a missing selector fails immediately, or whether an element must already exist. A wait tool's failure semantics are exactly what an agent needs to know, and none are stated.

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

Conciseness3/5

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

Five words with zero waste and fully front-loaded, but the brevity is under-specification rather than efficiency; it saves space at the cost of the information an agent needs.

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 tool with no annotations, no output schema, and 0% parameter documentation, the description leaves too much unstated: units, timeout behavior, precedence when both parameters are passed, and return value. Only the broad shape of the tool is conveyed.

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 coverage is 0%, so the description must compensate, and it does the minimum by implying the two modes (selector-based versus time-based) and casting timeout as the time. It does not state that timeout is in milliseconds (the default of 5000 hints at it), what happens if both parameters are supplied, or which mode takes precedence; given only two parameters, the gap is modest.

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?

"Wait for a selector or fixed time" states a verb (wait) and names both wait modes, so the purpose is immediately clear. It does not mention related operations such as snapshot or click sequencing to differentiate, but no sibling overlaps in an obvious way.

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?

It does not say when to use this wait instead of directly calling a tool, or which mode is appropriate for common cases (that is, whether to wait for a selector before acting or just to pause). There is no mention of prerequisites, typical call sites in a workflow, or caveats.

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