Skip to main content
Glama
saleae-mso-mcp

saleae-mso-mcp

get_waveform

Read-only

Return time and voltage points for an analog channel, using min/max decimation on long windows to preserve spikes and glitches; narrow the window for full resolution.

Instructions

Return [time_s, volts] points for an analog channel.

Long windows are reduced with min/max decimation so spikes and glitches are kept. Narrow the window to see full resolution.

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": {
      "capture_id": "<capture_id>",
      "channel": "<channel>"
    },
    "name": "get_waveform"
  }
}

Input Schema

NameRequiredDescriptionDefault
stop_sNoWindow end, seconds. Omit for capture end.
channelYesChannel name as shown in the capture summary.
start_sNoWindow start, seconds. Omit for capture start.
capture_idYesCapture id from a capture call or list_captures.
max_pointsNoUpper bound on returned points.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuinely useful behavior beyond that: long windows are min/max decimated and spikes are preserved, so the agent knows returned data may be downsampled. It stops short of noting error behavior for unknown channels or how max_points interacts with decimation.

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?

Three short lines, front-loaded with the return format, then the decimation caveat, then the actionable remedy. No redundant or filler sentences.

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?

For a read-only tool with a fully described schema and no output schema, the description supplies the return format and the resolution behavior an agent needs to interpret results. Minor gaps remain around failure modes for invalid channel names and the effect of max_points.

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?

Schema coverage is 100%, so the baseline is 3, but the description earns extra credit by explaining the trade-off that governs start_s/stop_s and max_points: wide windows trigger decimation, narrow windows give full resolution. That is meaningfully more than the field-level descriptions provide.

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 names a specific verb and resource ('Return [time_s, volts] points for an analog channel') and even specifies the return shape. The word 'analog' implicitly separates it from digital-signal siblings like get_digital_transitions, but no alternative is named explicitly.

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?

It gives real guidance on how to get better fidelity ('Narrow the window to see full resolution'), which implies a usage pattern. However, it never states when to prefer this over get_capture_summary, measure, or export_csv, and offers no when-not conditions.

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