Skip to main content
Glama

Read network requests

read_network_requests
Read-only

Reads HTTP requests made by a browser tab, including cross-origin calls, to inspect network activity while connected. Filter by URL, limit results, and clear captured entries when needed.

Instructions

Read HTTP requests (documents, XHR/fetch, scripts, images, …) made by a tab, including cross-origin ones, captured while connected. Requests from a previous site are dropped when the tab navigates to another origin. Sensitive query values are shown as REDACTED.

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
clearNoClear the returned requests after reading.
limitNoMaximum requests (default 100, most recent).
tabIdYesTab ID from tabs_context / tabs_create.
urlPatternNoSubstring the URL must contain, e.g. "/api/".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses real behavior: cross-origin requests are included, requests from a previous site are discarded on cross-origin navigation, and sensitive query values are returned as REDACTED. It does not say whether reads are buffered from connection start or persist across reconnects, which is the remaining ambiguity an agent would face.

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 short sentences, zero repetition, with the core purpose front-loaded and the lifecycle caveat and redaction note following in priority order. Every sentence carries information an agent would otherwise have to discover by trial.

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 four-parameter, non-destructive read with no output schema, the description covers scope, retention semantics and redaction, which is enough to call the tool correctly. It leaves the per-request result shape and whether entries include timing/status to be discovered, but the schema covers all inputs.

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 tabId, limit, urlPattern and clear are already fully documented in the schema. The description adds no parameter-level meaning; the REDACTED note touches on URL content in results but not on the urlPattern filter or limit behavior.

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 ('Read HTTP requests ... made by a tab') and enumerates resource types (documents, XHR/fetch, scripts, images), so the agent knows exactly what data is returned. It does not name a sibling such as read_console_messages to route against, though the network-vs-console distinction is implicit in the resource.

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 context is implied rather than stated: 'captured while connected' hints at a precondition for data existing, but there is no explicit when-to-use or when-to-prefer-an-alternative guidance. The navigation-drop rule tells the agent about data lifetime, which indirectly informs when a read will be empty.

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