Skip to main content
Glama

browser_wait_for_url

Wait for a tab's URL to match a JavaScript regex pattern, so agents can continue only after navigation reaches the expected address.

Instructions

Wait until the tab's URL matches a JS regex pattern.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tab_idNo
patternYes
timeoutNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and does not meet it. It says nothing about timeout behavior (error vs. false return), polling interval, whether the call blocks the tab, or what happens if the tab is closed mid-wait.

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 tight sentence with the condition front-loaded and no filler. It is appropriately sized, though the brevity comes at the cost of the missing behavioral detail noted elsewhere.

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?

With no annotations, no output schema, and zero schema description coverage on three parameters, the description is too thin for a blocking wait primitive. An agent cannot tell what the timeout returns, which tab is targeted by default, or whether the call throws.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters, so the description must compensate and largely does not. It usefully specifies that 'pattern' is a JS regex (beyond the schema's bare 'string'/'Pattern'), but tab_id (default null — presumably the active tab) and timeout semantics are left entirely undocumented.

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 until') and resource ('the tab's URL') with the matching condition (JS regex). It implicitly distinguishes itself from browser_wait_for_title and browser_wait_for_element by naming URL as the watched signal, but it never explicitly routes the agent away from those siblings.

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?

No when-to-use guidance at all: nothing about what to do after the wait succeeds, whether a timeout raises or returns, or how this compares to browser_wait_for_title / browser_wait_for_network_idle in the same family.

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

Deploy Server

Other Tools