Skip to main content
Glama
andy-qingcai

MHO98 MCP Server

by andy-qingcai

read_histogram_stats

Reads histogram statistics from a Rigol MHO98 oscilloscope, returning sum, peaks, max/min, mean, median, sigma, and bin width for signal analysis.

Instructions

Histogram analysis statistics (Sum, Peaks, Max, Min, Pk_Pk, Mean, Median, Mode, Bin width, Sigma, meanPlusSigma/2/3 ...).

Queries :HISTogram:STATistics:RESult? (manual 3.11.9) and falls back to the measurement-histogram variant :MEASure:HISTogram:STATistics:RESult? (manual 3.17.32). Values are parsed into a dict; 'raw' keeps the reply.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations, so the description carries the full burden. It does disclose useful behavior: the primary SCPI query, an automatic fallback to the measurement-histogram variant, and that the reply is parsed into a dict. It omits error/permission behavior and the phantom 'raw' option is never reconciled with the empty parameter schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, which is good, but the long parenthetical enumeration of statistics plus two SCPI command references and manual section numbers add bulk an agent likely does not need to select the tool. Efficient enough but not tight.

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?

An output schema exists, and the description nonetheless summarizes what the parsed dict contains, which is genuinely helpful. For a read-only zero-arg getter this is close to complete; only the 'raw' mismatch and missing prerequisite note hold it back.

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?

Zero parameters gives a baseline of 4, but the description advertises a 'raw' mode that keeps the raw reply while the input schema declares no parameters at all. That unexplained mismatch in a no-arg tool is a real ambiguity, so the score is docked below baseline.

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?

States a specific verb and resource ('Histogram analysis statistics') and enumerates the returned quantities (Sum, Peaks, Mean, Sigma, etc.), so the agent knows exactly what comes back. It is distinguishable from sibling set_histogram/get_histogram_config by being the results reader, though it never names a sibling 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?

Usage is only implied: read this after a histogram measurement is configured. There is no statement of when to prefer it over measure_statistics_item, get_histogram_config, or measure_batch, and no prerequisite conditions (e.g., histogram must be enabled) are given.

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