Skip to main content
Glama

analyzer_clear

Discard buffered capture data only while no capture is running, clearing stale analyzer data before a new USB traffic capture.

Instructions

Discard the buffered capture. Refused while a capture is running.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior2/5

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

The description usefully discloses a precondition beyond the annotations: the call is refused while a capture is running. However, 'Discard the buffered capture' describes data loss, which conflicts with destructiveHint=false. The annotations do not cover the refusal condition, so this is the only behavioral detail provided, and it is partly at odds with the annotation profile.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, with the action stated first and the refusal condition second. There is no filler, hedging, or repetition, and the whole definition is front-loaded.

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

Completeness4/5

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

With zero parameters, an output schema, and annotations that already describe safety, the description needs only to state the action and any precondition. It covers both, though it could say what the buffer becomes after a clear, or whether the call is reversible.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters, so there is nothing for the description to disambiguate; the baseline for a zero-parameter tool applies. The description does not introduce spurious parameter-like concepts, which keeps the call unambiguous.

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 a specific verb and resource: 'Discard the buffered capture.' An agent immediately knows this resets the capture buffer rather than reading or stopping the analyzer. It does not explicitly contrast itself with nearby siblings such as analyzer_stop or analyzer_read, which keeps it just short of a 5.

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?

Usage is only implied. The clause 'Refused while a capture is running' gives a concrete when-not condition and implies the agent must stop first, but there is no guidance on when to clear instead of exporting or reading the buffer, and no pointer to an alternative for preserving data.

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