Skip to main content
Glama

get_error

Read the latest error from a benchtop instrument's SCPI error queue by specifying device (arb, dmm, osc, psu) to diagnose problems.

Instructions

Read the latest error from the device error queue.

Args: device: Device key – one of 'arb', 'dmm', 'osc', 'psu'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4/5.0
Behavior2/5

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

With no annotations, the description alone must disclose behavioral traits. It states that this is a read operation, but does not say whether reading the queue clears/consumes the error, what happens when the queue is empty, or whether repeated calls return the same error. This is a meaningful gap for an instrumentation tool.

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 minimal and front-loaded: the core behavior appears in the first sentence, followed by a short parameter note. Every sentence earns its place and there is no redundant content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple and an output schema exists, so return-value documentation is not required. However, the description omits important queue behavior such as whether reading is destructive and what happens with no errors. This leaves a clear gap for an agent automating device interaction.

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 coverage is 0% and the only parameter has no enum. The description fully compensates by explicitly listing the valid device keys: 'arb', 'dmm', 'osc', 'psu'. This is exactly the information an agent needs to call the tool correctly.

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 clearly states a specific action ('Read the latest error') and resource ('device error queue'). It is distinguishable from all sibling tools, none of which target error-queue reading.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context for use: it reads the error queue, and the device-key enumeration tells the agent which instruments apply. There are no competing sibling tools for reading errors, so explicit when-not-to-use guidance is not necessary.

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

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/colingimenez/SCPI_MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server