Skip to main content
Glama

scope_query

Send read-only SCPI queries ending in '?' to a Rigol DS1000Z oscilloscope and return the instrument's reply for checking settings or measurements.

Instructions

Send a read-only SCPI query (must end with '?') and return the reply, e.g. ':CHAN1:BWL?', ':ACQ:MDEP?', ':TRIG:EDG:SLOP?'.

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_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior3/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; it does disclose the two most important traits, that the operation is read-only and that the command must be a query ending in '?'. It says nothing about error behavior (what happens if the '?' is missing or the instrument rejects the command), timeouts, or whether the command is validated before transmission — meaningful gaps for a passthrough to hardware.

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?

A single sentence with the verb and safety constraint front-loaded and the examples placed where they are most useful. Nothing extraneous, nothing that could be trimmed without losing information.

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?

With an output schema present, return values need no explanation, and a one-parameter passthrough tool does not need extensive prose. The only real shortfall is the absence of failure-mode guidance for malformed or rejected commands.

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 it largely does: it constrains the lone parameter to a SCPI query string ending in '?' and supplies three valid examples with the leading-colon convention. It stops short of saying whether the leading ':' is optional or whether case matters.

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 ('Send'), resource ('SCPI query'), and the return behavior ('return the reply'), with three concrete command examples. The 'read-only' + 'must end with ?' constraint implicitly separates it from the write sibling tool, so an agent can tell it is the query path rather than the command path.

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 rather than stated: 'read-only SCPI query' tells the agent this is for reads, and the '?' requirement tells it this is not for setting values. However, it never routes the agent among the many siblings — it does not say when to prefer scope_measure or scope_status over a raw SCPI query, nor what to do when a reading has a dedicated tool.

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