Skip to main content
Glama

browser_network_requests

Lists HTTP network requests observed in a browser session, with optional resource type and URL substring filters to inspect and troubleshoot web traffic.

Instructions

List HTTP network requests observed in the target browser session, with optional resource type and URL substring filters.

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

Input Schema

NameRequiredDescriptionDefault
clearNoClear buffered network requests after reading.
sessionIdNoOptional target browser session ID. If omitted, uses the currently active session (or auto-launches one).
urlContainsNoOptional case-insensitive URL substring filter.
includeStaticNoInclude static assets (images, stylesheets, fonts, media).
resourceTypesNoOptional filter of Playwright resource types (e.g. ['xhr', 'fetch', 'document']).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, and it discloses little: it does not confirm the operation is read-only, does not say whether results are buffered/capped or reset on navigation, and does not mention that omitting sessionId may auto-launch a session. The 'observed' wording weakly implies a buffer but nothing about limits, ordering, or permissions is stated.

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 front-loaded sentence with the verb and resource first and the filter caveats trailing; no filler or redundancy. It is perhaps too terse for the behavioral information it omits, but nothing present is wasted.

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?

Five parameters, no annotations, and no output schema, so the description should say more about the returned request records (URL, method, status, timing) to let an agent use the results. As written it is minimally sufficient to call the tool but incomplete for interpreting output.

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 all five parameters (clear, sessionId, urlContains, includeStatic, resourceTypes) are already documented in the schema. The description only restates the resource-type and URL-substring filters, adding no matching semantics (case sensitivity, how static assets are excluded by default) beyond the schema.

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 and resource ('List HTTP network requests') plus the scope ('observed in the target browser session') and the two filter axes. The sibling browser_network_details is not named or contrasted, so the agent must infer that this tool lists while the other details one request.

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: the phrase 'observed in the target browser session' hints that requests must already be captured before calling. There is no explicit when-to-use, no mention of when to prefer browser_network_details, and no note about navigation being required first.

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