Skip to main content
Glama

scope_waveform

Downloads one channel’s on-screen waveform from a Rigol oscilloscope, returning summary statistics and evenly spaced time/voltage samples, with optional full CSV export.

Instructions

Download the on-screen waveform of one channel (1200 samples) and return summary stats plus up to max_points evenly spaced [time_s, volts] samples (0 = stats only, 1200 = every sample). include_csv=True also returns every sample as CSV text (~30 KB). Each download is saved with a timestamp; see scope_waveform_history.

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

Input Schema

NameRequiredDescriptionDefault
channelYes
max_pointsNo
include_csvNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose a real side effect: 'Each download is saved with a timestamp.' It also quantifies the payload (~30 KB CSV) and fixes the acquisition size at 1200 samples. It omits permission/authorization needs, channel validity rules, and failure behavior for a read from hardware.

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 dense sentences with the core action and payload size front-loaded, then parameter semantics, then the side-effect/pointer. No filler or redundancy; every clause conveys actionable information.

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?

There is no output schema, and the description compensates by describing returns (summary stats plus [time_s, volts] pairs, optional CSV text). Remaining gaps are channel addressing and error/empty-data behavior, which matter for a hardware acquisition tool but are secondary.

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 0%, so the description must compensate, and it does for two of three parameters: max_points is defined with its full range and endpoints (0 = stats only, 1200 = every sample) and even spacing, and include_csv is defined with its cost (~30 KB). The channel parameter gets no meaning beyond 'one channel' — no range, indexing base, or invalid-channel behavior.

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 — 'Download the on-screen waveform of one channel (1200 samples)' — plus the return shape, so the agent knows exactly what it gets. It partially differentiates from siblings by pointing to scope_waveform_history for saved downloads, but leaves the boundary with scope_measure/scope_query implicit.

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?

'see scope_waveform_history' routes the agent away from this tool when historical downloads are wanted, and the max_points explanation (0 = stats only, 1200 = every sample) implicitly guides sizing choices. There is no explicit statement of when to prefer this over scope_measure or scope_query, so usage is only implied.

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