Skip to main content
Glama

scope_write

Send a SCPI command to change Rigol oscilloscope settings and return the scope's error queue, verifying user-requested configuration changes.

Instructions

Change a scope setting with a SCPI command, e.g. ':CHAN1:SCAL 1', ':TIM:SCAL 0.001', ':RUN', ':STOP', ':SING', ':AUT'. ONLY use when the user asked to change the scope: real circuits may be connected. Returns the scope's error queue ('0,"No error"').

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "command": "<command>"
    },
    "name": "scope_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.6/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the key risk (live circuitry may be connected) plus the return value (the scope's error queue, '0,"No error"'). It omits other behavioral facts such as whether arbitrary/query SCPI strings are accepted, validation, timeouts, or whether execution blocks.

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?

Front-loaded with the action and gated usage rule, then examples, then return value; there is no filler and every clause adds either a capability, a constraint, or a safety fact.

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 a one-parameter mutation tool with no annotations, the description covers purpose, the safety caveat, and the return value (an output schema also exists). Remaining gaps — validation of the SCPI string, error behavior on failure, and whether read-only SCPI is accepted here — are minor but real for hardware control.

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 coverage is 0% — the single 'command' parameter is an untyped string with no description — so the description must compensate, and it does by supplying multiple literal SCPI command examples showing the expected format. It stops short of stating whether the leading colon is mandatory or how multi-part commands should be joined.

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?

States a specific verb and resource ('Change a scope setting with a SCPI command') and backs it with concrete command examples (':CHAN1:SCAL 1', ':RUN', ':STOP'). The write-vs-read framing ('ONLY use when the user asked to change the scope') implicitly separates it from the scope_query/scope_measure/scope_status siblings.

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?

Gives an explicit usage gate: only invoke when the user asked to change scope settings, with the reason stated ('real circuits may be connected'). This functions as a when-not rule that steers read-only intents toward the query/measure siblings.

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