Skip to main content
Glama
zesun33
by zesun33

fpga_place_route

Runs nextpnr place-and-route for iCE40/ECP5 FPGAs from a Yosys JSON netlist, returning utilization and Fmax. Specify device, package, or board preset.

Instructions

Runs nextpnr place-and-route for iCE40/ECP5 from a Yosys JSON netlist. Device and package resolve from an explicit pair or a board preset (explicit wins). Returns utilization and Fmax from the JSON report. Use fpga_boards to list presets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoOptional working directory.
boardNoBoard preset name (see fpga_boards).
deviceNoDevice size, e.g. up5k, hx8k, 25k, 45k.
familyNoFPGA family (default: from board preset, else ice40).
packageNoPackage, e.g. sg48, ct256, CABGA256.
top_moduleNoTop module name (for output naming).
json_netlistYesYosys JSON netlist (jsonNetlist from fpga_synth).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Describes the main action and output, but does not disclose side effects (e.g., whether it writes files or produces a routed netlist) or error conditions. Since annotations are absent, this is a partial disclosure.

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?

Few sentences, no fluff, directly states purpose, inputs, and output.

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?

Covers inputs, output summary, and resolution logic. However, without an output schema, it does not fully describe the return value or any other outputs, and it omits prerequisites like prior synthesis.

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?

All parameters are described in the schema, and the description adds context about the netlist origin (from fpga_synth) and the priority of explicit device/package over board preset.

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?

Clearly states it runs nextpnr place-and-route for iCE40/ECP5, from a Yosys JSON netlist, and describes the output (utilization and Fmax). It is distinct from synthesis, bitstream, and programming tools.

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?

Provides guidance on device/package resolution and points to fpga_boards for presets. It does not explicitly say when to use vs alternatives, but the place-and-route role is clear.

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

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/zesun33/mcp-fpga'

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