Skip to main content
Glama

Read page network requests

read_network_requests

Read captured fetch and XHR requests from a browser tab to inspect method, URL, status, and duration; filter by URL substring or result limit.

Instructions

Read fetch/XHR requests captured on the page (from page load onward): method, URL, status, duration. Filter with urlPattern (substring) or limit. Note: captures fetch + XMLHttpRequest only (not document/image/CSS subresource loads). If capture isn't active, reload the page after loading the extension.

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": {
      "tabId": "<tabId>"
    },
    "name": "read_network_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax requests (default 100, max 500)
tabIdYesTarget tab ID (must be in the MCP group)
urlPatternNoOnly requests whose URL contains this substring

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.24.1

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full disclosure burden and does well: it states the capture start point (page load onward), the exact capture scope (fetch + XMLHttpRequest only, not document/image/CSS), and the setup precondition for an inactive capture. It does not say whether captured data resets on navigation, whether results are ordered, or how truncation beyond the limit behaves, which keeps it short of a 5.

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?

Three sentences, front-loaded with what the tool returns, then filtering, then the caveat. Every sentence carries distinct information — returned fields, filter mechanism, capture-scope limit, recovery step — with no repetition of the title.

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

Completeness5/5

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

A simple 3-parameter read tool with no output schema, and the description compensates by naming the returned fields and the capture boundary. Combined with full schema coverage, an agent has everything needed to call it correctly and interpret the result.

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

Parameters5/5

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

Schema coverage is 100% and every parameter is documented in-schema (including the 100 default / 500 max and the substring semantics of `urlPattern`), so the schema already does the heavy lifting. The description's restatement of substring filtering and the limit is consistent but adds no meaning beyond structured data, which is acceptable at this coverage level.

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 opens with a specific verb and resource ('Read fetch/XHR requests captured on the page') and enumerates the returned fields (method, URL, status, duration), so the agent knows exactly what data comes back. It scopes the capture window ('from page load onward') and excludes subresource loads, but never contrasts itself with nearby read tools like read_console_messages, so sibling differentiation is left implicit.

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?

It gives concrete operating guidance: filter via `urlPattern` or `limit`, and a prerequisite/troubleshooting rule ('If capture isn't active, reload the page after loading the extension'). What's missing is a when-to-prefer-this-over-alternatives statement, e.g. versus console messages or javascript_tool, so the agent must infer the routing decision.

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