Skip to main content
Glama
andy-qingcai

MHO98 MCP Server

by andy-qingcai

get_waveform

Capture oscilloscope waveform data from a selected source and save it to a local CSV or NPY file, returning metadata and statistics while keeping large sample arrays out of context.

Instructions

Acquire waveform data and SAVE it to a local file.

Returns metadata (preamble + statistics) and the file path only — sample arrays are never inlined, to protect the caller's context window.

source: CH1..CH4 or MATH1..MATH4 (MATH only in NORMal mode). mode: NORMal (screen, 1000 pts) | MAXimum | RAW (full memory; the instrument is stopped first). fmt: BYTE|WORD|ASCII. start/stop: 1-based inclusive point range (RAW/MAX). points: alternative window selector — number of points to read (:WAVeform:POINts, manual 3.28.4); when given, the RAW full-memory start/stop default is skipped and start/stop are only sent if explicitly provided. save_format: csv | npy (npy recommended for RAW ≥ 1M points; CSV is refused above max_csv_points=2M unless force_csv=True — a 50M-point CSV would be ~2 GB of text). Parse the file afterwards with your own protocol scripts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fmtNoBYTE
modeNoNORMal
stopNo
startNo
pointsNo
sourceNoCH1
filenameNo
force_csvNo
save_formatNocsv
max_csv_pointsNo
stop_instrument_firstNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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 so well: it discloses that sample arrays are never inlined (context protection), that RAW mode stops the instrument first, and that CSV is refused above the point threshold unless forced. It stops short of naming exact permission/auth needs, but the behavioral profile is substantially richer than the schema alone.

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?

Front-loaded with the core action and the critical output caveat, then a compact per-parameter reference broken into short labelled lines. Dense but each line earns its place; slightly long, though justified by 11 parameters.

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?

For an 11-parameter tool with zero schema descriptions and no annotations, the description supplies the operational context an agent needs to call it correctly, and even explains return semantics despite an output schema existing. Minor gaps (filename handling, explicit exclusions vs. siblings) keep it from the top score.

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%, so the description must compensate and largely does: it explains source, mode, fmt, start/stop, points (including the subtlety that providing points skips the RAW start/stop default), save_format, force_csv, and max_csv_points. Only filename and stop_instrument_first are not directly addressed.

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+resource (acquire waveform data and save to a local file) and clarifies the output shape (metadata + file path, no inlined arrays). It distinguishes itself implicitly from on-instrument siblings (save_waveform_on_instrument) by emphasizing the local file, but never names an alternative, so differentiation is inferential rather than 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?

Gives real conditional guidance (RAW for full memory and stops the instrument first; npy recommended for RAW ≥ 1M points; CSV refused above max_csv_points). However it never names a sibling such as export_waveform_csv, get_waveform_preamble, or get_math_waveform to route the agent, so the when-to-use-this-vs-that question is left to inference.

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