Skip to main content
Glama
playwright-mcp-router

playwright-mcp-router

by huangzt

browser_network_requests

Read-only

Lists numbered network requests from the current page or session, with optional URL filtering, so you can identify a request and fetch its full details by number.

Instructions

Returns a numbered list of network requests since loading the page. Use browser_network_request with the number to get full details.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "session": "<session>",
      "static": "<static>"
    },
    "name": "browser_network_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoReturn all network requests since the beginning of the session, not just since the last navigation. Defaults to false.
colorNoOptional Chrome tab group color override for a newly created session.
filterNoOnly return requests whose URL matches this regexp (e.g. "/api/.*user").
staticYesWhether to include successful static resources like images, fonts, scripts, etc. Defaults to false.
accountNoChrome account profile to use (defaults to 'default'). Configured accounts: 'default' (Isolated Browser).default
sessionYesRequired isolated session name (also displayed as the Chrome tab group title), e.g. "T1867-api-debug" or "home-css". Use a unique, descriptive task name per conversation so concurrent agents never hijack each other's active tab.
filenameNoFile name to save the network requests to. Relative file names are resolved against the workspace root. If not provided, requests are returned as text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds the useful fact that the return is a numbered index that feeds another tool, but says nothing about truncation, pagination, or how large request sets are handled despite 7 parameters including an `all` scope switch.

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 short sentences, zero filler, with the core behavior front-loaded and the follow-up routing sentence immediately after. Nothing could be removed without losing information.

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 read-only listing tool with a fully documented 7-parameter schema and no output schema, the description covers what is returned (a numbered list) and how to consume it. It leaves the filtering and file-saving modes entirely to the schema, which is acceptable but means an agent must read the schema to discover them.

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 100%, so defaults, the regexp filter syntax, session naming, and the filename-save behavior are all already documented. The description mentions none of them, adding no meaning beyond the schema; baseline 3 applies when the schema carries the full parameter burden.

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 ("Returns a numbered list of network requests") plus a scope qualifier ("since loading the page"), which is exactly what separates it from the full-detail sibling. An agent can tell this is the enumeration/index tool versus the detail lookup without opening a 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?

Explicitly routes the agent to browser_network_request for full details once a request number is known, which is the main sequencing decision for this tool. It stops short of saying when not to use it (e.g. use browser_evaluate or console_messages for other data), so it is clear context rather than a complete decision rule.

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