Skip to main content
Glama

generate_cfgmem

Convert a Vivado .bit file into a raw .bit.bin image loadable via /dev/xdevcfg on Red Pitaya after bitstream generation.

Instructions

Convert a .bit into a raw binary image (.bit.bin) loadable via /dev/xdevcfg on the Red Pitaya. Use after generate_bitstream.

Input Schema

NameRequiredDescriptionDefault
outputNoOutput .bit.bin path (default: <bit_file>.bin)
bit_fileYesAbsolute path to input .bit

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It usefully discloses the output format and target loader path, but says nothing about whether the output file is overwritten, whether it must be transferred to the device, or what happens if the .bit is missing or invalid.

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 compact sentences, front-loaded with the transformation and followed by the sequencing hint. Nothing is redundant or padded.

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?

For a simple two-parameter format converter with a fully documented schema and no output schema, the description covers what the tool does, why (.bit.bin for /dev/xdevcfg), and when to run it. Only failure/overwrite behavior and downstream handling of the produced file are left unaddressed.

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 coverage is 100%, with both bit_file and output fully described in the schema including the default '<bit_file>.bin', so the schema does the heavy lifting. The description adds no further parameter detail, making the baseline 3 appropriate.

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 concrete verb and format conversion ('Convert a .bit into a raw binary image (.bit.bin)') plus the target loader '/dev/xdevcfg' and platform 'Red Pitaya'. It is clearly distinct from the sibling generate_bitstream, which produces the input rather than the converted image.

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?

'Use after generate_bitstream' gives an explicit sequencing prerequisite, which is the main usage decision for this tool. It does not name when-not-to-use conditions or alternatives, but no sibling offers comparable conversion, so the gap is minor.

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

Deploy Server

Other Tools