Skip to main content
Glama
zinntikumugai

rigol-oscilloscope-mcp

configure_decode

Configure oscilloscope serial decode bus with protocol, sources, and parameters for UART, I2C, SPI, CAN, LIN, or parallel. Enable event table to read decoded results.

Instructions

Configure a serial protocol decode bus. Omitted items are left unchanged.

The bus count is model-dependent (get_capabilities decode_buses; 4 on MHO98).

protocol is uart / i2c / spi / can / lin / parallel (options such as I2S, FlexRay, MIL-STD-1553 and CAN-FD are not supported). data_format is hex / ascii / dec / bin. Source values are "CH1"-"CH4", "D0"-"D15" or "off".

settings keys per protocol (all optional):

  • uart: tx_source, rx_source, baud_bps, data_bits, parity (none/odd/even), stop_bits (1/1.5/2), endian (msb/lsb), polarity (positive/negative), tx_threshold_v, rx_threshold_v. Example: {"tx_source": "CH1", "baud_bps": 115200, "data_bits": 8, "parity": "none", "stop_bits": 1, "tx_threshold_v": 1.65}

  • i2c: scl_source, sda_source, swap_sda_scl, address_bits (7/8/10), scl_threshold_v, sda_threshold_v. Example: {"scl_source": "CH1", "sda_source": "CH2", "address_bits": 7}

  • spi: clk_source, clk_slope (rising/falling), mosi_source, miso_source, cs_source, cs_polarity (high/low), frame_mode (cs/timeout), timeout_s, data_bits (4-32), endian, polarity (high/low), clk_threshold_v, mosi_threshold_v, miso_threshold_v, cs_threshold_v. Example: {"clk_source": "CH1", "mosi_source": "CH2", "data_bits": 8}

  • can: source, signal_type (tx/rx/canh/canl/differential), baud_bps, sample_point_percent, threshold_v. Example: {"source": "CH1", "signal_type": "canh", "baud_bps": 500000}

  • lin: source, baud_bps, parity_enabled, standard (v1x/v2x/mixed), threshold_v. Example: {"source": "CH1", "baud_bps": 19200, "standard": "v2x"}

  • parallel: clk_source, clk_slope, bus_width, endian, polarity. Example: {"clk_source": "CH1", "bus_width": 8, "endian": "msb"}

Set event_table=true (together with enabled=true) before reading the decoded results with get_decode_result. This only changes what the device displays and analyses: acquisition settings are untouched, so configure the channels and trigger separately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
busNo
enabledNo
protocolYes
settingsNo
data_formatNo
event_tableNo
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 does so well. It discloses that omitted items are left unchanged, that bus count is model-dependent, that unsupported protocol variants are rejected, and that the tool only affects display/analysis, not acquisition settings.

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

Conciseness5/5

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

The description is long but justified by the tool's complexity. It front-loads the core purpose and the 'omitted items are left unchanged' behavior, then uses clear per-protocol bullets and examples so the content is scannable and every section 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?

For a complex configuration tool with no annotations and no output schema, this description is remarkably complete. It covers all parameters, protocol-specific variants, examples, model dependency, the required sequence for later decoding, and the separation from acquisition configuration. An agent has enough context to invoke it correctly.

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%, but the description compensates thoroughly. It defines protocol and data_format values, source value ranges, all settings keys per protocol, and provides concrete examples for each protocol. It also clarifies enabled and event_table semantics in the workflow for get_decode_result.

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 opens with 'Configure a serial protocol decode bus,' which is a specific verb and resource that immediately identifies what the tool does. It also distinguishes itself from sibling configuration tools by listing protocol-specific details and noting that acquisition settings are separately configured via channels and trigger.

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?

It gives clear when-to-use context: configuring decode buses, with bus count determined by get_capabilities. It explicitly routes related work elsewhere by saying 'acquisition settings are untouched, so configure the channels and trigger separately,' and tells the user to set event_table=true before reading results with get_decode_result.

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

Install Server

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