Skip to main content
Glama
zinntikumugai

rigol-oscilloscope-mcp

configure_reference

Configure a reference waveform slot to store a known-good trace and compare live signals against it. Adjust source, scale, offset, color, label, or save and reset captures.

Instructions

Configure a reference waveform slot. Omitted items are left unchanged.

A reference waveform is a copy of a trace stored inside the instrument and drawn over the live one, so a signal can be compared against a known-good capture. This only changes what the instrument displays and computes: the acquisition is untouched and no output is driven. ref is the slot 1-10 (see get_capabilities ref_channels). Read the result back with get_reference_state.

source is what the slot shows and saves: "CH1"-"CH4", a math trace "MATH1"-"MATH4", or a digital channel "D0"-"D15". The programming guide says only a channel that is currently displayed may be selected, but this firmware accepts a channel whose display is off as well (measured), so the source is not restricted here.

scale is the vertical scale per division and offset_v the vertical offset in volts, both of the stored trace. color is gray / green / blue / red / orange. label is the text drawn next to the trace (letters, digits, '_', '.', '+' and '-'; no spaces).

label_display turns the labels on or off for EVERY reference waveform at once - it is a single global switch on the instrument, not a per-slot setting, so it is reported identically for every slot.

save=true stores the current waveform of the source into this slot. It is sent last, after the settings in the same call, so the source is already selected. IT IS IRREVERSIBLE: whatever that slot held before is overwritten and lost, there is no undo, and there is no way to check beforehand whether the slot already holds a capture. Ask the human user before overwriting a slot they may still need.

reset=true restores the slot's default vertical scale and offset. It is sent first, before the settings in the same call, so scale and offset_v given together with it survive. It does not erase a stored waveform.

Specify at least one item to change. The device may snap values, so trust applied (the read-back value), not requested.

Reference waveforms cannot be downloaded: :WAVeform:SOURce does not accept them. To compare numerically on the host, subtract with configure_math(operator="subtract", source1="CH1", source2="REF1") and fetch the result with capture_waveform(channel="MATH1").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNo
saveNo
colorNo
labelNo
resetNo
scaleNo
sourceNo
offset_vNo
label_displayNo
Install Server

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden, and it excels. It discloses irreversibility of save=true, no undo, no way to check before overwriting, reset ordering, label_display being a global switch, and that the firmware accepts non-displayed sources despite the programming guide. It also notes the device may snap values and that applied should be trusted. This is exceptionally transparent.

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?

The description is long but dense and well-organized, with each paragraph covering a coherent aspect: slot semantics, source, display settings, global switch, save/reset behavior, and alternatives. It is front-loaded with the core concept and safety-relevant warnings. A small amount of trimming could improve brevity, but every sentence carries meaningful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and 0% schema coverage, the description leaves little unknown. It explains operation ordering, irreversibility, global side effects, read-back via get_reference_state, and even covers limitations (cannot be downloaded) with a numeric comparison alternative. The agent has enough context to call the tool correctly and safely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must define all parameters itself, and it does. It explains ref (slot 1-10), source ('CH1'-'CH4', 'MATH1'-'MATH4', 'D0'-'D15'), scale and offset_v (vertical scale/offset of stored trace), color and label (with allowed characters), label_display (global switch), save (stores source waveform, sent last), and reset (restores defaults, sent first). No parameter is left undefined.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool configures a reference waveform slot, defines what a reference waveform is (a stored trace drawn over the live one), and distinguishes it from simple capture or math operations. The scope is explicit: it only changes display/computation, not acquisition or output. This fully separates it from sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool and when not to, pointing to alternatives: use get_reference_state to read back, use configure_math with subtract and capture_waveform for host-side numerical comparison. It also gives operational conditions such as 'Specify at least one item to change' and warns to ask the human before overwriting a slot. This is exemplary routing and usage context.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zinntikumugai/rigol-oscilloscope-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server