Skip to main content
Glama

network.clear

Delete recorded requests for a browser to reset its network log before capturing or analyzing new activity.

Instructions

Delete recorded requests for a browser.

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
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the destructive framing is partly covered. The description adds real value by naming the exact target of deletion (recorded requests, not bodies, websockets, or cookies), but says nothing about irreversibility, whether clearing affects an in-progress recording session, or what happens if the browser is auto-launched as the schema permits.

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?

One front-loaded sentence with no filler and the destructive action stated first. It is efficient, though its brevity means there is no structure for cautions or sequencing.

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 one-parameter tool with full schema coverage and no output schema, the description does the minimum: it identifies the resource being cleared. It is not complete enough regarding what is permanently lost and whether later network.list_requests calls will return empty, which is exactly what an agent about to perform an irreversible clear needs.

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?

There is a single optional browser_id parameter with 100% schema coverage, so the schema already explains the br_* handle format and the omit-to-auto-launch behavior. The description adds no meaning beyond that, which meets the baseline-3 expectation when schema coverage is complete.

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 gives a concrete verb plus resource ("Delete recorded requests") and adds the scope "for a browser," which separates it from sibling clears such as console.clear or storage.clear_cookies that target different data. It does not, however, explicitly contrast itself with data-retrieval siblings like network.list_requests or network.export_har, so sibling differentiation is only implicit.

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 when-to-use or when-not-to-use guidance, no mention of what a user should do first (e.g., export the HAR before clearing if records are needed), and no reference to alternatives. The agent must infer the usage context entirely from the name.

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

Deploy Server

Other Tools