Skip to main content
Glama
saleae-mso-mcp

saleae-mso-mcp

measure

Read-only

Compute analog and digital channel metrics—including RMS, frequency, duty cycle, pulse width, and edge counts—over a chosen time window from a Logic capture.

Instructions

Measure one channel over a time window.

Analog: min/max/mean/RMS/AC-RMS, peak-to-peak, frequency, period, duty cycle, rise/fall (10-90%). Digital: edge counts, frequency, duty cycle, min/max pulse width.

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

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 the safety profile is covered. The description adds the useful behavioral fact that available measurements depend on channel class (analog vs digital). It does not disclose return shape or units (volts, hertz, seconds, percent), which matters for a measurement tool with no output schema.

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 with zero waste: the core action is front-loaded, then the analog and digital measurement sets are given as compact parallel lists. Nothing repeats the schema or the annotations.

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?

With no output schema, the description carries the burden of explaining what comes back, and it does not: it never says whether a result is a single number, a labeled set, or what units are used, nor what happens if a requested measurement is invalid for the channel type. For a measurement tool whose whole value is the returned numbers, that is a meaningful gap.

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 all four parameters, including the start_s/stop_s window defaults, are already documented in the schema. The description's phrase 'over a time window' reinforces the windowing concept but adds no syntax, format, or boundary details beyond that. Baseline 3 is appropriate when the schema does the heavy lifting.

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 first sentence gives a specific verb and resource with scope: 'Measure one channel over a time window.' The two following lines enumerate exactly which measurements are available for analog vs digital channels, so an agent knows the tool's capability envelope. It stops short of naming sibling alternatives such as get_waveform or get_digital_transitions, which would have made differentiation explicit.

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 rather than stated: the analog/digital split tells the agent which measurement families are valid for a given channel type, which is real selection help. But there is no explicit when-to-use versus when-to-use-a-sibling guidance, and no statement of prerequisites such as needing an existing capture or a released device.

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