Skip to main content
Glama

网络请求列表(抓包)

browser_network_requests
Read-onlyIdempotent

List captured HTTP network requests of the active tab—id, method, status, type, size, duration, and URL—with filters by method, status, type, or URL. Capture starts automatically on first use.

Instructions

List captured network requests of the active tab (HTTP-level packet capture): id, method, status, type, size, duration, URL. Capture starts automatically on first use. Use browser_network_detail with a request id to inspect headers and response 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_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax entries (default 50, newest last)
tabIdNoTab id (default: active tab)
methodNoFilter by HTTP method, e.g. GET/POST
statusMaxNoMaximum HTTP status
statusMinNoMinimum HTTP status (e.g. 400 for errors)
urlContainsNoOnly requests whose URL contains this (case-insensitive)
resourceTypeNoFilter by type: Document/Script/XHR/Fetch/Image/Stylesheet/…

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds one genuinely useful behavioral fact not in the annotations: capture starts automatically on first use, meaning calling this has a recording side effect. It says nothing about ordering guarantees, retention/clearing of the buffer, or whether capture is scoped per tab.

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 tight sentences: what it returns first, then the auto-capture behavior, then the routing to the detail sibling. No filler, and the most decision-relevant information is front-loaded.

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?

With no output schema, the description usefully enumerates the returned fields, and the annotations carry the safety profile, so an agent can call this correctly without more. The only residual gap is lifecycle behavior of the capture buffer (retention, clearing), which a 7-parameter capture tool arguably should mention.

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% and all seven parameters are optional and self-documented (limit, tabId, method, statusMin/statusMax, urlContains, resourceType). The description adds no parameter-level meaning beyond that; the field list it gives refers to return values, not inputs. Baseline 3 is appropriate.

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 captured network requests of the active tab") and enumerates the returned fields (id, method, status, type, size, duration, URL), so an agent knows exactly what it gets. It also names the sibling it is distinguished from (browser_network_detail) and what that sibling adds.

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: use this to list, use browser_network_detail with a request id for headers and response body. That is a clear when-to-use / where-to-go-next handoff. It stops short of exclusions against other observability siblings like browser_har or browser_performance.

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