Skip to main content
Glama

analyzer_capture

Capture USB traffic for a set duration, then return status and summary with optional pcap export. Automatically loads analyzer gateware if needed.

Instructions

Bounded one-shot capture: start, wait seconds (with progress), stop, and return status + summary (optionally exporting a pcap). Loads the analyzer gateware if needed.

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": {
      "seconds": "<seconds>"
    },
    "name": "analyzer_capture"
  }
}

Input Schema

NameRequiredDescriptionDefault
speedNoBus speed to capture.auto
secondsYesCapture duration in seconds.
export_pcap_pathNoIf set, also export the capture to this pcap path.
auto_load_gatewareNoLoad the analyzer gateware first if needed.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish that this is not read-only, not destructive, and closed-world. Beyond that, the description usefully discloses the start-wait-stop workflow, progress reporting, return of status and summary, optional pcap export, and automatic gateware loading if needed.

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?

The description is a single, front-loaded sentence that names the bounded capture workflow, its duration, its outputs, and the gateware dependency without unnecessary wording. It is appropriately sized for a composite operation.

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?

The description covers the main workflow, waiting behavior, optional pcap export, and gateware loading, and an output schema exists so return values need not be fully explained. It could still clarify how this interacts with an already-running capture or whether existing analyzer state is interrupted.

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%, so the schema already documents `speed`, `seconds`, `export_pcap_path`, and `auto_load_gateware`. The description reinforces the meaning of `seconds`, pcap export, and gateware loading, but does not add substantive semantics beyond the schema, so the baseline 3 is appropriate.

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 states a specific composite action: start, wait for `seconds`, stop, and return status plus summary, optionally exporting a pcap. The phrase 'bounded one-shot capture' helps distinguish it from the separate start/stop/status siblings, but it does not explicitly name or route against those alternatives.

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 implied by 'bounded one-shot capture' and the fixed wait duration, suggesting this tool is for a complete short capture rather than manual start/stop control. However, it gives no explicit when-to-use guidance, when-not-to-use guidance, or named alternatives such as analyzer_start or analyzer_stop.

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