Skip to main content
Glama

network_capture

Start, stop, or clear traffic capture for a browser tab—covering iframes, WebSockets, and SSE—to inspect requests and optionally save response bodies.

Instructions

Inicia, detiene o limpia la captura de tráfico de una pestaña. Incluye iframes, WebSocket y SSE.

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

Input Schema

NameRequiredDescriptionDefault
tabIdNoPestaña objetivo. Por defecto la pestaña actual del agente.
actionYes
captureBodiesNoGuarda respuestas al terminar, hasta 2 MB cada una.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 only states which traffic types are captured. It omits whether capture persists across navigations, performance or permission implications, what a clear operation destroys, and what a status check returns.

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 tight sentences with the operations front-loaded and the protocol scope trailing as useful qualifier. Nothing is wasted, though the description could have spent a few of those words on the missing status action.

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?

For a stateful capture tool with no annotations and no output schema, the definition is thin: it never explains the capture lifecycle, whether stop is required before reading data, what clear removes, or how status behaves. The omission of the status action is the clearest completeness gap.

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 67%: tabId and captureBodies are already documented in the schema, including the 2 MB body cap. The description adds the meaning of the action values for start, stop, and clear, but silently omits the fourth enum value, status, which an agent can only discover by reading the schema.

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?

States specific verbs and a concrete resource: start/stop/clear traffic capture for a tab, plus the protocol scope (iframes, WebSocket, SSE). This lets an agent distinguish it from lighter-weight siblings like network_get or network_export_har, though no sibling is named explicitly.

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?

No when-to-use guidance: nothing says capture must be started before data can be read, whether it survives navigation, or when to prefer network_export_har instead. The four-way choice among start/stop/clear is implied by the verbs, but no ordering or prerequisite is stated.

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