Skip to main content
Glama

network_clear

Starts network capture and clears the selected or focused tab's request buffer, letting you reset recorded requests before tracking new browser activity.

Instructions

Start capture and clear the tab request buffer.

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_clear"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdNoOptional browser tab id to act on instead of the focused tab.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

C2.8/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 burden; it does disclose one non-obvious side effect (capture is started as part of the call), which is genuinely useful. It does not state that clearing is destructive and irreversible, what happens to previously captured data, or whether an active capture must be stopped first.

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 short sentence with no filler. It is front-loaded with the action, though the 'Start capture and' clause creates slight ambiguity about which effect is primary.

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 tool with no annotations and no output schema, the definition is thin: it never explains what 'capture' means, whether the clear is destructive, or what the call returns. The one-parameter schema is simple, but the behavioral surface of a buffer-clearing operation is not covered.

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 100% and the single optional tabId is fully documented in the schema as an override for the focused tab. The description's phrase 'the tab request buffer' only echoes that scoping and adds no new semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete resource (the tab request buffer) and a concrete action (clear), which an agent can map to network_get/network_list as read counterparts. However, it bundles a second, unexpected action ('Start capture') into a tool named network_clear, so the tool's actual effect is ambiguous rather than crisp.

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?

There is no guidance on when to call this versus the sibling read tools (network_get, network_list), and no mention of prerequisites or ordering constraints. The agent must infer that clearing is a reset step before starting fresh capture.

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