Skip to main content
Glama

jtag_register_read

Read a gateware debug register at a specified address over the JTAG/SPI register bridge for Cynthion gateware that exposes debug registers.

Instructions

Read a gateware debug register over the JTAG/SPI register bridge (only for gateware that exposes one, e.g. selftest). May hand off from gateware.

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": {
      "address": "<address>"
    },
    "name": "jtag_register_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesDebug register address (gateware-defined).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false and openWorldHint=false, and the description adds meaningful context beyond them: the tool only functions on gateware exposing a debug bridge, and a 'hand off from gateware' may occur. That hint is consistent with readOnlyHint=false but is never explained — the agent cannot tell what the hand-off changes or whether the read has side effects.

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 short sentences, action front-loaded, no filler. The second sentence is grammatically truncated ('May hand off from gateware') and slightly opaque, which keeps it from being tight enough for a 5.

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?

An output schema exists, so return values need no explanation, and the gateware precondition is covered. What is missing is the meaning of the gateware hand-off — whether device state is altered and what to do afterward — which matters for a hardware bridge tool whose read-only hint is false.

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?

With a single parameter and 100% schema description coverage (address is documented as a gateware-defined debug register address with a 0-255 bound), the schema does the work. The description adds nothing about the address space or register map, so baseline 3 applies.

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?

States a concrete verb and resource: 'Read a gateware debug register over the JTAG/SPI register bridge.' That is enough to distinguish it from jtag_register_write without opening the other schema. The trailing 'May hand off from gateware' clouds the action slightly by introducing a second, unexplained behavior.

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?

Gives an explicit applicability precondition — 'only for gateware that exposes one, e.g. selftest' — which tells the agent when this tool will work versus fail. It does not name the write counterpart as an alternative, but the read/write split is self-evident from the names and the guidance still carries real selection value.

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