Skip to main content
Glama
andy-qingcai

MHO98 MCP Server

by andy-qingcai

set_histogram

Configure histogram analysis on a Rigol MHO98 oscilloscope: set type, source channel, range, height, reset statistics, or save data to CSV.

Instructions

Histogram analysis display and statistics.

type: HORIzontal|VERTical; source: CHANnel1..CHANnel4; height: histogram height, 1..4 divisions; range_left/right: horizontal display limits in s (left < right); range_top/bottom: vertical display limits in V (bottom < top); reset: clear the histogram statistics; save_csv: save the histogram data to a file on the instrument (e.g. 'C:/hist.csv'); boundary: sigma boundary shown (u1S|u2S|u3S) - not documented in the current Programming Guide, kept for backward compatibility.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNo
resetNo
enableNo
heightNo
sourceNo
boundaryNo
save_csvNo
range_topNo
range_leftNo
range_rightNo
range_bottomNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses that reset clears histogram statistics and save_csv writes a file to the instrument, and it flags the boundary parameter as undocumented and kept for backward compatibility. However, it omits overall mutation semantics, whether changes persist, and any side effects on measurements or display, and it does not mention the enable parameter at all.

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 appropriately sized for an 11-parameter tool, using compact semicolon-separated entries that front-load the parameter semantics. The opening sentence is vague but short, and no sentence is wasted, though the structure is more reference-style than narrative.

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?

An output schema exists so return values need not be explained. Still, with no annotations, 11 parameters at 0% schema coverage, and no usage guidance, the description should do more: it misses the enable parameter entirely and does not state when this tool is appropriate relative to its histogram-related siblings.

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 description coverage is 0% with 11 parameters, so the description must compensate. It documents 10 of 11 parameters with useful detail: type values, source channel range, height in divisions, range units and ordering constraints, reset semantics, save_csv example path, and boundary enum. Only the enable parameter is left unexplained, keeping it from a 5.

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

Purpose3/5

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

The description opens with a noun phrase, 'Histogram analysis display and statistics,' without a clear verb, so the action is implied by the tool name rather than stated. It gives a detailed parameter breakdown that clarifies the tool's scope, but it does not explicitly say it sets or configures histogram display/statistics, nor does it distinguish itself from siblings like get_histogram_config or read_histogram_stats.

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

Usage Guidelines2/5

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

The description provides no when-to-use context, no prerequisites, and no guidance on when to choose this tool over alternatives such as get_histogram_config or set_measure_histogram. It simply lists parameter meanings with no usage framing.

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

Deploy Server

Other Tools