Skip to main content
Glama

生成多启动数据流 (cfg_gen_multi_file)

fpga_gen_multi_file

Combine multiple .sbit files into multi-boot/upgrade streams (golden+app fallback, SPI/BPI). Choose stream type and start addresses to generate offline data without hardware.

Instructions

离线把两个或更多 .sbit 合成多启动/升级数据流(黄金+应用回退、SPI/BPI 升级等)。不连器件。infile 与 sbitStartAddress 由调用方给定,偏移不写死;type 选数据流类型。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYes数据流类型(-type):0=Multi Boot,1=SPI Upgrade,2=BPI Upgrade,3=Multi Function,4=Remote Upgrade,5=Master Dual Boot
infileYes输入 .sbit 列表(-infile),至少一个;顺序即镜像顺序
outfileNo输出文件(-outfile),默认取第一个输入文件名
pdsVersionNo可选 PDS 版本/标签
timeoutSecNo超时秒数,默认 120
goldenOutFileNo黄金位流输出文件名(-golden_out_file)
appliedOutFileNo应用位流输出文件名(-applied_out_file)
sbitStartAddressNo各镜像起始地址(-sbit_start_address),十六进制,与 infile 对应
Behavior4/5

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

No annotations are present, so the description carries the full behavioral burden. It discloses that the tool does not connect to the device, performs an offline merge, and does not hard-code offsets, which are meaningful behavioral traits. It does not discuss error handling or file overwrites, but the critical no-device behavior is explicit.

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?

The description is a single dense sentence with no filler. Every clause contributes signal: offline operation, multi-image merging, type selection, and caller responsibility. The core action is front-loaded before constraints.

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?

Given full schema coverage and no output schema, the description provides the essential operational context: offline, no device, caller-controlled inputs, and type selection. It does not describe return values or exact output artifacts, but the schema's outfile, goldenOutFile, and appliedOutFile fields fill most of that gap.

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%, so the baseline is 3. The description reinforces that infile and sbitStartAddress are caller-provided and that type selects the stream type, but this mostly overlaps with existing schema descriptions. It adds only the '偏移不写死' nuance beyond the schema.

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?

The description states a specific verb and resource: offline synthesis of two or more .sbit files into a multi-boot/upgrade data stream. It distinguishes itself from hardware-connected sibling tools by explicitly saying '不连器件' and clarifies the multi-boot/upgrade scope.

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 description clearly indicates this tool is for offline generation without a connected device, and that the caller must supply infile and sbitStartAddress while type selects the stream kind. It provides clear context for when to use it, though it does not explicitly name sibling alternatives such as fpga_gen_chain_file.

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

Install Server

Other Tools

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/Renkos1/pango-mcp'

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