Skip to main content
Glama
andresolbach

nodriver-mcp-server

List network requests

list_network_requests
Read-only

List a page's network requests with filters to find the JSON API calls it makes. Use the request ID to fetch full response bodies, avoiding DOM scraping.

Instructions

List the network requests the selected page has made.

Collection is automatic — unlike console capture, nothing needs enabling.

The main use is finding the JSON API a page calls: filter with resource_types=["XHR", "Fetch"], then pass the id from the square brackets to get_network_request to read the actual response body. That is usually far cheaper and more reliable than scraping the rendered DOM.

Only the most recent 1000 requests are retained, and each URL is truncated to 150 characters in this listing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idxNo0-based page number, used together with page_size.
page_sizeNoMaximum number of requests to return. Omit to return all.
url_filterNoOnly return requests whose URL contains this substring (plain text, not a regex), e.g. "/api/" or "graphql".
resource_typesNoOnly return these resource types. ["XHR", "Fetch"] is the useful filter for finding a page's own API calls. Matching is case-insensitive. Omit for all types.
include_preserved_requestsNoAlso include requests from before the last navigation — the server keeps the previous 3 navigations. Default false: current page only.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations already declare read-only and non-destructive. The description adds critical behavioral constraints: automatic collection, retention limited to 1000 requests, URL truncation to 150 characters, and the presence of ids in square brackets. This goes beyond the annotations and helps the agent understand the tool's limits.

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?

The description is a compact paragraph of four sentences. Each sentence serves a purpose: purpose, automatic collection, main use case, and retention/truncation limits. No redundant noise.

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?

Given the tool's moderate complexity and the rich schema (5 params, all described) plus an output schema, the description covers the core purpose, usage patterns, and key behavioral limits. It also links to the companion tool get_network_request for the full workflow. Nothing essential is missing.

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

Parameters4/5

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

The input schema already has 100% coverage with descriptions. The description adds usage patterns, such as the recommended resource_types filter and how to use the output id to call get_network_request. This gives the agent practical parameter guidance beyond the schema, though it doesn't elaborate on pagination (which the schema already covers).

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?

The description opens with a clear verb ('List') and resource ('network requests the selected page has made'). It distinguishes from sibling 'get_network_request' by explaining that this tool lists requests while the other reads response bodies. The phrase 'main use is finding the JSON API a page calls' further clarifies its specific role.

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

Usage Guidelines5/5

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

The description explicitly tells the primary use case (finding JSON API calls) and how to execute it (filter with resource_types=['XHR','Fetch'], then pass id to get_network_request). It also contrasts with DOM scraping and mentions that collection is automatic, unlike console capture, guiding when this tool is appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/andresolbach/nodriver-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server