Skip to main content
Glama

chrome_wait

Waits for a CSS selector to appear, page navigation to complete, or a fixed delay to elapse, with a configurable timeout for browser automation.

Instructions

Wait for a condition: selector appears, navigation, 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
delayNoFixed delay in ms
tabIdNo
timeoutNoMax wait time in ms (default: 5000)
selectorNoWait for this CSS selector to appear

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and does not meet it: it never says what happens when the wait times out (throw, return false, continue), whether the call blocks the session, or what the result looks like. The only behavioral detail, the 5000 ms default, already lives in the schema, and the unexplained 'navigation' mode adds ambiguity rather than clarity.

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?

A single front-loaded sentence with no filler, and the three supported modes are easy to scan. It is under-specified rather than bloated, so brevity is a virtue here even though content is thin.

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?

Four optional parameters, no annotations, and no output schema mean success and failure semantics matter a lot, yet the description says nothing about either. For a synchronization primitive whose entire job is to resolve a timing race, the agent needs to know timeout behavior and which mode takes precedence when selector and delay are both supplied.

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 75%, so the schema already documents delay, timeout, and selector; the description adds only a loose mapping of conditions to those parameters. tabId is undocumented in both places, and the 'navigation' mode maps to no parameter at all, which is actively confusing rather than clarifying.

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?

States a specific verb ('wait') with an enumerated set of conditions: selector appearance, navigation, or fixed time. That distinguishes it from siblings like chrome_find_elements or chrome_navigate, which act rather than wait. It loses a point because the 'navigation' condition has no corresponding parameter in the schema, leaving the agent unsure how to trigger it.

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?

Lists wait conditions but gives no guidance on when to prefer this over alternatives such as polling with chrome_find_elements, when it is required after chrome_navigate, or when a fixed delay is inappropriate. There are no exclusions or prerequisites, so the agent must infer usage from the name alone.

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