Skip to main content
Glama

gateware_toolchain_status

Read-onlyIdempotent

Check ECP5 gateware toolchain status for build_gateware: detect yosys, nextpnr-ecp5, and ecppack from native installs, OSS CAD Suite, or YoWASP packages without touching the board.

Instructions

Check the open-source ECP5 toolchain used by build_gateware (yosys, nextpnr-ecp5, ecppack): native installs (env overrides, PATH, OSS CAD Suite) or YoWASP packages. Never touches the board.

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": "gateware_toolchain_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
probe_versionsNoRun '<tool> --version' on native tools (slower).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real context beyond that: the two discovery backends (native installs via env overrides/PATH/OSS CAD Suite, or YoWASP packages) and the explicit assurance that no board I/O occurs.

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?

Two tightly packed sentences with no filler; the purpose and backends come first and the non-invasive guarantee closing it out. Every clause contributes 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?

An output schema exists, so return values need no explanation, and the description covers what is inspected, where it is looked for, and the hardware-safety boundary. What an agent needs to decide whether to call this tool is present; only failure-mode framing (e.g. use after a failed build) is left implicit.

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 the single probe_versions parameter is documented in the schema with its default and the note that version probing is slower. The description adds no parameter-level detail, which is acceptable given the schema already carries the meaning.

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 ("Check") and a precisely scoped resource (the open-source ECP5 toolchain used by build_gateware), naming the exact binaries inspected (yosys, nextpnr-ecp5, ecppack). This clearly separates it from board-facing siblings like build_gateware and flash_gateware.

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 tie to build_gateware establishes the context in which this tool is relevant, and "Never touches the board" tells the agent this is a safe prerequisite check rather than a hardware action. It stops short of explicit when-not guidance or naming a diagnostic alternative, but the intended usage is clear.

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