Skip to main content
Glama
duquesnay

mcp-chromium-cdp

by duquesnay

chrome_wait_for

Wait for UI conditions—text, elements, URL, or network idle—to appear. Returns success or current state on timeout, allowing next-step decisions.

Instructions

Wait for UI state changes after actions. Returns success status, which conditions were met, actual state, and time elapsed. On timeout, returns current state (not error) so agent can decide next action. Can chain multiple conditions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoURL pattern to wait for (regex pattern, waits until URL matches)
textNoText content to wait for (waits until text is visible on page)
elementNoCSS selector for element to wait for (waits until element appears and is visible)
timeoutNoMaximum time to wait in milliseconds (default: 5000ms, max: 30000ms)
networkIdleNoWait for network idle (milliseconds of no network activity)
Behavior5/5

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

Since annotations are absent, the description carries full burden. It discloses return format (success status, conditions met, actual state, time elapsed), timeout behavior (returns current state instead of error), and chaining capability, providing valuable behavioral context beyond what annotations would offer.

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 sentences, each with a distinct purpose: purpose, return behavior, timeout/chaining. No unnecessary wording, and the most important information (purpose) is front-loaded.

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

Completeness5/5

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

Given 5 parameters all documented in schema and no output schema, the description compensates by explaining return values and timeout behavior. It covers the key aspects: what it does, what it returns, and how it behaves on timeout, making it complete for the tool's complexity.

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

Parameters4/5

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

Input schema has 100% coverage with detailed parameter descriptions, so baseline is 3. Description adds the chaining concept, indicating multiple conditions can be combined, and clarifies that the tool returns which conditions were met—modest but useful addition 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?

Description states 'Wait for UI state changes after actions' with a clear verb and resource. It distinguishes from sibling chrome_* tools by focusing on waiting for conditions rather than navigation or interaction.

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

Usage Guidelines4/5

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

Description states contextual use 'after actions' and notes 'Can chain multiple conditions,' giving user guidance on when to use. It doesn't explicitly name alternatives or exclusions, but the context is clear enough for typical workflows.

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/duquesnay/mcp-chromium-cdp'

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