Skip to main content
Glama
sandraschi

logic-analyzer-mcp

la_device

Discover, connect, and manage USB logic analyzer devices by listing available hardware, checking status and capabilities, and selecting simulator or sigrok backends for captures.

Instructions

Discover, connect, and manage USB logic analyzer devices.

Return Format

{"success": bool, "operation": str, "data": {...}}

Examples

  • la_device(operation="list")

  • la_device(operation="connect", device_id="sim-la-001")

  • la_device(operation="status")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
backendNoForce backend: simulator or sigrok.
device_idNoDevice ID for connect (e.g. sim-la-001, sigrok:fx2lafw:...).
operationYesDevice management operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the agent knows this is a state-mutating but non-destructive tool. The description adds a return-format contract {"success", "operation", "data"}, which is useful, but it never explains what connect/disconnect actually change in session state or backend selection behavior.

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-line purpose is front-loaded, and the return-format plus example block is compact and skimmable. Nothing is redundant enough to waste space, though the examples only re-demonstrate schema-known arguments.

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?

There is no output schema, so the short return-format contract is a valuable addition. However, the six-value operation enum (capabilities, backends, disconnect) is only demonstrated for three values, leaving the agent to guess at the remaining operations' behavior.

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 backend, device_id, and operation are already documented in the schema, including the device_id format example. The description merely echoes device_id in an example call, adding no meaning beyond the schema baseline.

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 opens with a specific verb set and resource ('Discover, connect, and manage USB logic analyzer devices'), which clearly separates it from capture/configure/decode/trigger siblings. It doesn't name a sibling explicitly, but the device-management scope is unambiguous.

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 through three example invocations (list, connect, status); there is no statement of when to prefer this tool over la_capture or la_configure, nor any prerequisites. An agent can infer the shape of calls but not the routing conditions.

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