Skip to main content
Glama
Sept-7-Qi

BrowserPilot MCP

by Sept-7-Qi

wait_for

Wait for a visible element matching a CSS selector to appear. For script conditions, use evaluate_script explicitly.

Instructions

Wait for a visible element matching a CSS selector. JavaScript conditions are not supported; use evaluate_script explicitly when script execution is intended.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoOptional page/tab ID to use
timeoutNoTimeout in milliseconds (default: 30000)
selectorYesCSS selector to wait for; required because condition-based waiting is not supported.
conditionNoUnsupported. Passing a condition will make the extension reject the request; use evaluate_script explicitly instead.
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It discloses that condition-based waiting is unsupported and rejects requests, but does not describe timeout behavior, return values, or side effects beyond waiting.

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 focused sentences front-load the core action, immediately state the key restriction, and point to the alternative without redundancy.

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?

For a wait tool with fully described parameters, the description covers the essential behavior and constraint. It lacks explicit timeout outcome details but is otherwise sufficient given schema richness.

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 descriptions already cover all parameters (100% coverage), including the condition constraint. The description reinforces the unsupported condition but adds little beyond the schema.

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?

The description clearly identifies the tool's action: waiting for a visible element matching a CSS selector. It also distinguishes itself from evaluate_script by stating JS conditions are not supported, which differentiates it from sibling tools.

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 states when not to use it (for JavaScript conditions) and provides the alternative (evaluate_script), giving clear guidance on tool selection.

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/Sept-7-Qi/BrowserPilot-MCP'

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