Skip to main content
Glama
matsvandamme

fishball-sdr-mcp

by matsvandamme

Read an IIO attribute

sdr_read_attribute
Read-onlyIdempotent

Read any IIO attribute by name to access settings not covered by other tools. Use device list for valid names; append '_available' to see legal values.

Instructions

Read any single IIO attribute by name - an escape hatch for anything the other tools do not cover. Use sdr_list_devices to find valid names. Reading an attribute called '_available' shows the legal values for ''.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceYesDevice name, e.g. 'ad9361-phy'
outputNoTrue for an output channel
channelNoChannel id, e.g. 'voltage0'. Omit for a device-level attribute.
attributeYesAttribute name, e.g. 'rf_bandwidth'
response_formatNomarkdown for reading, json for structured outputmarkdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context beyond the schema by explaining the '_available' attribute convention for discovering legal values, which is genuinely helpful for using the tool correctly.

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?

Three sentences with no filler: purpose, tool-routing guidance, and an important attribute discovery behavior. The most important information is front-loaded.

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 read-only escape-hatch tool with a 100%-covered schema and an output schema present, the description provides all needed decision-making and invocation context. openWorldHint supports its role as a general-purpose fallback, and the annotations cover safety.

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 100%, so the baseline is 3. The description adds extra semantic value by explaining how to find valid attribute names via sdr_list_devices and by describing how the '_available' suffix works, which directly enriches the 'attribute' parameter.

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 states a specific action ('Read any single IIO attribute by name') and clearly identifies the resource. Calling it 'an escape hatch for anything the other tools do not cover' differentiates it from a large sibling set without listing each sibling.

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?

It gives explicit guidance on when to use the tool ('escape hatch... anything the other tools do not cover') and points to sdr_list_devices for discovering valid attribute names. It does not name specific alternatives or state a concrete 'when not to use' condition, so it falls just short of a 5.

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