Skip to main content
Glama
Playwright DevTools MCP Server

Playwright DevTools MCP Server

by ariangibson

network_get_requests

Retrieve HTTP requests and responses to debug and analyze web app network activity, with filters for status, URL, resource type, and time.

Instructions

Get HTTP network requests and responses for debugging and analysis

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": {
      "contextId": "<contextId>"
    },
    "name": "network_get_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of requests to return
sinceNoOnly return requests after this timestamp (milliseconds)
statusNo
contextIdYesBrowser context ID from browser_launch
urlContainsNoFilter URLs containing this text (case insensitive)
resourceTypeNoFilter by resource type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, and it discloses little: it implies a read operation and that both requests and responses are returned, but says nothing about buffer size limits, whether capture starts at page load, whether response bodies are included, or what permissions/context state are required.

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 no filler, so nothing is wasted. It is efficient but borders on under-specified rather than genuinely concise, since the brevity comes at the cost of missing behavioral detail.

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

Completeness2/5

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

There is no output schema, so the description should convey the return shape, yet it never says what fields each request entry contains or how ordering/pagination works. For a six-parameter retrieval tool with zero annotations, the definition leaves too much for the agent to infer.

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 coverage is 83% with per-parameter descriptions and an enum for status and resourceType, so the schema does the heavy lifting. The description adds no parameter meaning beyond that (e.g., how since interacts with limit or what status="failed" covers), so the baseline of 3 applies.

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?

Specific verb plus resource: "Get HTTP network requests and responses" tells the agent exactly what is retrieved, and "for debugging and analysis" frames intent. It does not differentiate itself from siblings like network_get_failed_requests or network_clear_requests, and its status filter can also return failed requests, leaving overlap unaddressed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only guidance is the vague phrase "for debugging and analysis." There is no when-to-use versus alternatives (e.g., use network_get_failed_requests for failures only), no indication of prerequisites such as needing an active browser context, and no note about when the request buffer should be cleared first.

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