Skip to main content
Glama

monitor_network

Capture and inspect network requests while navigating to a URL, then view buffered results to test extensions that block, redirect, or modify traffic.

Instructions

Monitor, capture, and inspect network requests. Useful for testing extensions that block, redirect, or modify requests (e.g. ad blockers, header modifiers).

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": {
      "action": "<action>"
    },
    "name": "monitor_network"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoURL to navigate to (required for navigate_and_capture)
actionYesnavigate_and_capture: go to a URL and record all requests; get_captured: return buffered results; clear: empty the buffer
include_typesNoFilter by resource type: document, script, stylesheet, image, xhr, fetch, etc. (optional)
filter_patternNoOnly show requests whose URL contains this string (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the disclosure burden and it omits key traits: the tool is stateful (a buffer persists between calls), 'clear' discards recorded data destructively, and monitoring only starts after navigate_and_capture. Those semantics are partially recoverable from the action enum descriptions in the schema, but the description itself adds only the extension-testing framing.

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 sentences, front-loaded with the core capability and followed by the motivating context. Nothing is redundant, though the parenthetical examples are slightly illustrative rather than instructional.

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 four-parameter, multi-action, stateful tool with no annotations and no output schema, the definition covers purpose but not the invocation sequence or what captured results look like. The schema fills parameter gaps, but an agent must infer the capture-then-retrieve workflow.

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%, including a fully documented action enum, so the schema does the heavy lifting. The description adds no param-level detail such as how filter_pattern interacts with include_types or what URL means for non-navigate actions, warranting the baseline score.

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 names a specific verb set and resource: 'Monitor, capture, and inspect network requests.' An agent knows this is a request-recording tool. It does not, however, distinguish itself from siblings like get_service_worker_logs or inspect_dom, leaving the agent to infer boundaries from names alone.

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 concrete use case (testing ad blockers, header modifiers), which implies when the tool is appropriate. There is no explicit when-not guidance, no mention of ordering (capture before retrieving), and no pointer to alternative tools for related debugging tasks.

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