Skip to main content
Glama
Pagewright (browser-mcp)

Pagewright (browser-mcp)

by zamansheikh

browser_network

Read-only

Lists network requests from the current page with filters for URL, resource type, and failures, helping you locate the JSON API behind a page before reading its response body.

Instructions

List network requests made by the current page (method, status, type, size, timing). Filter by URL substring, type ("xhr,fetch", "document", "script", "image"…), or failedOnly. Great for finding the JSON API behind a page when scraping — then read it with browser_network_body.

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_network"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo
clearNo
limitNoDefault 100 (most recent).
tabIdNoTab to act on. Defaults to the tab last opened/selected by an agent, else the active tab.
filterNo
failedOnlyNo
includePreviousNoInclude requests from pages before the last navigation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.9/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is safe, non-mutating observation, so the description is not carrying the safety burden. It adds useful behavioral context about what the listing contains and how filtering narrows it, but says nothing about the 'clear' flag (which presumably resets the captured buffer), retention across navigations, or whether uncaptured/pre-navigation traffic is visible.

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 sentences with no filler: the capability and returned fields come first, filtering next, and the scraping use case plus sibling hand-off last. Every clause carries information an agent would otherwise have to guess.

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

Completeness3/5

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

Because there is no output schema, the parenthetical field list is doing necessary work, but it is thin — no indication of ordering beyond the `limit` default, or the shape of timing/size values. Combined with an undisclosed `clear` flag and no mention of buffering/retention semantics, the definition is serviceable but not complete for a 7-parameter tool.

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?

With schema coverage at 43%, the description compensates for the filter-related parameters: URL substring for `filter`, concrete values for `type` ('xhr,fetch', 'document', 'script', 'image'), and the purpose of `failedOnly`. It leaves `clear`, `includePrevious`, `limit`, and `tabId` entirely to the schema, so the state-affecting and scope-affecting parameters remain ambiguous.

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?

States a specific verb and resource ('List network requests made by the current page') and enumerates what each entry carries (method, status, type, size, timing). It also names the sibling browser_network_body and its distinct role (reading the body), so an agent can separate the two tools without opening either schema.

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?

Gives a concrete scenario — 'finding the JSON API behind a page when scraping' — and an explicit next step via browser_network_body. It stops short of stating when this tool should NOT be used (e.g. cached/service-worker traffic, or when a static snapshot suffices), but the routing guidance is clear.

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