Skip to main content
Glama

browser_wait_for_load

Waits for a browser tab to finish loading by checking its readyState is 'complete', so agents can continue only after the page is ready.

Instructions

Wait until the tab's readyState is 'complete'. tab: the handle browser_new_tab returned ("t3"). Pass it on every call: several agents can share this server, and the tab is how each one keeps to its own page.

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

Input Schema

NameRequiredDescriptionDefault
tabNo
timeoutNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose genuinely useful context beyond the schema: the server is shared by several agents and the tab handle is the mechanism for isolating each agent's page. However, it says nothing about what happens when the wait times out (error, false return, or silent success) or whether the call blocks, which matters for a wait primitive.

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?

The content is front-loaded with the core behavior in the first sentence, followed by parameter guidance. The multi-agent explanation earns its space because it explains why the tab must always be passed. Slightly dense second sentence but no filler.

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 two-parameter, no-annotation, no-output-schema wait tool, this is close to sufficient: the goal state and the tab lifecycle are clear. The one real gap is timeout behavior, which an agent needs in order to interpret a failed or hung wait. Return value need not be described since no output schema exists, though the outcome of a timeout still would help.

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 description coverage is 0%, so the description must compensate. It explains the `tab` parameter well, including its origin from browser_new_tab, the ('t3') format, and the requirement to pass it on every call. The `timeout` parameter is never mentioned, so its units, semantics, and default of 15 are undocumented in both the schema and the description.

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?

The description states a specific verb and resource: wait until the tab's readyState is 'complete'. That is concrete and unambiguous, and the readyState wording implicitly separates it from element-level waits. It stops short of naming the sibling browser_wait_for_element, so the differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

Usage is only implied by the readyState condition: you call it when you need the page fully loaded. There is no explicit guidance on when to prefer this over browser_wait or browser_wait_for_element, nor any statement of prerequisites or when not to call it. The instruction to pass the tab on every call is present, which is useful operational guidance.

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