Skip to main content
Glama
Browser MCP Server

Browser MCP Server

wait_for_network_idle

Pauses automation until pending network requests on a page finish, so you can interact after dynamic content loads. Prevents errors caused by acting before the page settles.

Instructions

Wait for network idle.

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

Input Schema

NameRequiredDescriptionDefault
pageIdNo
timeoutNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden and discloses nothing. It does not say whether the call blocks, what constitutes 'idle', whether it throws or returns a status on timeout, or whether it requires an attached page session.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single short sentence is front-loaded and free of padding, but its brevity comes from omission rather than efficiency. It is concise without being informative.

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

Completeness1/5

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

A blocking browser-automation tool with two undocumented parameters, no annotations, no output schema, and a sibling set of eight other wait_* tools needs far more context than five words. An agent cannot determine timing semantics or failure behavior from this definition.

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

Parameters1/5

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

Schema description coverage is 0% for both parameters. The description says nothing about pageId (which page/session to target) or timeout (units, default value, behavior on expiry), so an agent must guess at both.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Wait for network idle' is essentially a restatement of the tool name and adds no distinguishing detail. It does not clarify what 'idle' means (no in-flight requests for N ms?) or how this differs from the many sibling wait_for_* tools beyond the noun.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool versus wait_for_navigation, wait_for_request, wait_for_response, or get_network_log. No preconditions, no exclusions, and no mention of what happens if the network never goes idle.

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