Skip to main content
Glama

device_info

Retrieves Apollo/Cynthion board hardware name, revision, serial, firmware and USB API versions, ADC data, and optional FPGA or SPI flash IDs.

Instructions

Detailed Apollo/Cynthion info: hardware name and revision, serial, firmware and USB API versions, ADC. force_offline / include_flash / include_fpga may stop the running gateware (use reconfigure_fpga to restore).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "device_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
serialNoSelect a board by Apollo serial number when several are connected.
include_fpgaNoAlso identify the FPGA over JTAG (e.g. LFE5U-12F).
force_offlineNoHand the CONTROL port back to Apollo if gateware owns it (stops the running gateware).
include_flashNoAlso read SPI flash JEDEC ID and unique ID (takes the FPGA offline).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations mark the tool not read-only but non-destructive, which is otherwise ambiguous; the description resolves that by explaining that force_offline/include_flash/include_fpga can stop running gateware. That is exactly the extra context annotations cannot convey, plus it points to reconfigure_fpga for recovery. It stops short of saying whether the stop is permanent or what state the board returns in.

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

Conciseness4/5

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

Two sentences, front-loaded with the returned fields and followed by the risk warning; nothing is padded. Minor density issues from abbreviations (ADC, JEDEC-style shorthand) but the structure is clean.

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?

An output schema exists, so return values need no explanation, and the risky flags are covered. The remaining gap is sibling disambiguation against board_info/flash_info, which matters given four overlapping device-inspection tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and each flag is already well documented in the schema, including the JTAG and SPI flash behavior. The description's added meaning is limited to reinforcing the gateware-stop consequence, so it neither compensates for a gap nor adds much beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource and enumerates the fields returned (hardware name/revision, serial, firmware and USB API versions, ADC), which is far more concrete than the tool name alone. However, it never distinguishes itself from siblings like board_info or flash_info, which an agent could plausibly pick instead.

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 by the field list and the optional flags, and it names reconfigure_fpga as a remediation path, but there is no stated 'use this when…' context and no exclusion against board_info/flash_info. The agent must infer selection from field overlap.

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