Skip to main content
Glama

network

Records a tab's XHR/fetch calls, reads one with credential headers masked, and replays it with changed method, URL, headers, or body to call the site's API directly.

Instructions

Record the tab's XHR/fetch calls, read one (credential headers masked), and replay it with changes. Replay calls the site's own API as the user, often one call instead of many clicks.

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": "network"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoRequest # from list
allNolist: include documents, scripts, images
maxNo
tabNoTab id. Default: your own target tab (each agent session gets its own)
urlNoreplay: another URL
bodyNoreplay: new body (string or JSON)
queryNolist: only matching lines
actionNostart (reload:true catches page-load calls), list (default), get id, replay id, stop
methodNoreplay: another method
reloadNo
browserNochrome, edge, ... (only when several browsers are connected)
headersNoreplay: headers to add or override

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does deliver two useful facts: credential headers are masked on read, and replay authenticates as the user against the real site API. It omits the risk profile of replay (outbound state-changing requests), persistence of the capture, and lifecycle/stop behavior.

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?

Two dense sentences with the three core capabilities front-loaded and the replay rationale second. No filler, though the enumeration of actions could be made to align more cleanly with the five action values.

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

Completeness3/5

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

For a 12-parameter tool with no annotations and no output schema, the description is thin on several fronts: it never says what a list returns, doesn't describe the stop action, and doesn't warn that replay issues real requests against the site. It covers the headline workflow but leaves real complexity unaddressed.

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%, so the schema already documents most parameters including the action enum and defaults. The description only echoes the get/replay concepts with the masking qualifier and does not explain body/method/headers override semantics beyond 'with changes'. Baseline 3 is appropriate.

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 uses concrete verbs and a concrete resource: record XHR/fetch calls, read one, replay it with changes. That is specific enough to distinguish it from siblings like click or snapshot. It stops short of mapping to the full action enum, since 'stop' and the plain 'list' mode are only implied by 'Record' and never named.

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?

The second sentence gives a genuine usage rationale for replay — calling the site's own API as the user instead of clicking through the UI. But there is no guidance on when to start recording versus when to list or stop, and no alternatives are named among the other capture/inspection tools.

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