Skip to main content
Glama
andy-qingcai

MHO98 MCP Server

by andy-qingcai

configure_bus

Set up decoding buses BUS1-BUS4 on a Rigol MHO98 oscilloscope by choosing protocol, display, threshold, and protocol-specific parameters.

Instructions

Configure decoding bus BUS1..BUS4 (common + protocol settings).

protocol: PARallel|RS232|SPI|IIC|LIN|CAN|IIS|FLEXray|M1553 (:BUS:MODE).

Common settings (manual 3.4.1-3.4.9), every None argument is left unchanged: display: bus decoding display on/off format: event-table numeral system HEX|ASCii|DEC|BIN event: event-table display on/off (enable before :EEXPort/:DATA?) label: bus label display on/off - a bool per manual 3.4.5, not text position: bus vertical position, integer -250..250 threshold / threshold_type: per-source threshold in V, sent as ":BUS:THReshold ,", e.g. threshold=1.65, threshold_type="TX". Legal types: PAL|PALCLK|TX|RX|SCL|SDA|CS|CLK| MISO|MOSI|LIN|CAN|CANSub1|FLEX|1553|I2SClk|DATA|WS|CH1..CH4. Legal voltage range: +/-5 vertical divisions around the channel offset.

Typed protocol parameters, routed to the active protocol (if protocol= is omitted, the current bus mode is queried first): source: single line source, CAN|LIN|FLEXray|M1553 only baud: RS232 (1 bps..20 Mbps) | CAN (10 kbps..5 Mbps) | LIN (2.4 kbps..20 Mbps) | FLEXray (2.5/5/10 Mbps, discrete) dbits: RS232 (5..9) | SPI (4..32) parity: RS232 NONE|ODD|EVEN | LIN bool (include parity bit) polarity: POSitive|NEGative for RS232/PARallel/IIS, HIGH|LOW for SPI (cross-spellings are mapped) endian: MSB|LSB for RS232/SPI/IIS

Any other keyword goes through extra as {"": value}; KEY is the SCPI sub-path validated against a whitelist from the manual, e.g. RS232: {"RS232:TX": "CH1", "RS232:BAUD": 115200, "RS232:DBITs": 8} IIC: {"IIC:SCLK:SOURce": "CH1", "IIC:SDA:SOURce": "CH2"} SPI: {"SPI:SCLK:SOURce": "CH1", "SPI:MOSI:SOURce": "CH2"} CAN: {"CAN:SOURce": "CH1", "CAN:BAUD": 500000} Legal keywords per protocol (manual 3.4.10-3.4.18): PARallel: BUS CLK SLOPe WIDTh BITX SOURce ENDian POLarity RS232: TX RX POLarity PARity ENDian BAUD DBITs SBITs IIC: SCLK:SOURce SDA:SOURce EXCHange ADDBits SPI: SCLK:SOURce SCLK:SLOPe MISO:SOURce MOSI:SOURce POLarity MISO:POLarity MOSI:POLarity DBITs ENDian MODE TIMeout:TIME SS:SOURce SS:POLarity CAN: SOURce STYPe BAUD FDBaud SPOint FDSPoint LIN: SOURce STANdard BAUD PARity FLEXray: SOURce BAUD SPOint STYPe CHANnel IIS: SOURce:CLOCk SOURce:DATA SOURce:WSELect ALIGnment CLOCk:SLOPe RWIDth RECewidth WSLow ENDian POLarity M1553: SOURce Protocol prefixes match case-insensitively (I2C->IIC, FLEX->FLEXray, 1553->M1553) and keywords accept unambiguous SCPI short forms.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
busYes
baudNo
dbitsNo
eventNo
extraNo
labelNo
endianNo
formatNo
parityNo
sourceNo
displayNo
polarityNo
positionNo
protocolNo
thresholdNo
threshold_typeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/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 well: it states that every None argument is left unchanged, that typing is routed to the active protocol, that omission of protocol triggers a query of the current mode, and that unknown keywords are validated against a manual-derived whitelist. It omits permission/auth requirements and the write's reversibility, but the mutation and defaulting semantics are unusually well disclosed.

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 text is long, but for a 16-parameter tool spanning ten protocols the density is justified, and the top line is front-loaded with the core purpose followed by structured bullet groups. Minor redundancy (repeated protocol lists) keeps it from a 5, but almost every line earns its place.

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 high complexity, no annotations, a zero-documentation schema, and an output schema that handles return values, the description supplies everything needed to call the tool correctly: parameter semantics, routing, defaults, legal values, and the escape hatch. Nothing an agent needs is missing.

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 description coverage is 0% and all 16 parameters have bare titles, yet the description compensates fully: it documents display, format, event, label, position, threshold/threshold_type (with legal types and voltage range), source, baud (with per-protocol ranges), dbits, parity, polarity (incl. cross-spelling mapping), endian, and the 'extra' sub-path mechanism with per-protocol legal keywords. This is exemplary compensation for a zero-coverage schema.

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 gives a specific verb and resource ('Configure decoding bus BUS1..BUS4') and enumerates the covered settings, so the agent knows exactly what the tool does. However, it never distinguishes itself from the many protocol-specific siblings (configure_bus_parallel, configure_bus_rs232, configure_bus_iic, etc.), so the agent must infer whether this generic entry point is preferred over them.

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 implied through the routing rules (protocol= selects and routes typed params; if omitted the current mode is queried first) and the 'extra' escape hatch, which conveys how to call it. But there is no explicit when-to-use/when-not guidance and no mention of the dedicated configure_bus_<protocol> alternatives, leaving the agent to guess which tool to pick.

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