Skip to main content
Glama

proj_export_bom_html

Export the project BOM as a self-contained interactive HTML file with sortable, filterable grouped or per-component views for emailing manufacturers, archiving releases, or sharing with reviewers.

Instructions

Export the project BOM as a self-contained interactive HTML file.

Standalone HTML page, no external CSS / JS / Altium runtime dependency. Open it in any browser; sortable columns, free-text filter, toggle between grouped (one row per value+footprint) and per-component layouts. A self-contained one-shot static export.

Useful for emailing the BOM to a manufacturer, archiving with a board release, or sharing with a non-Altium reviewer.

Args: output_path: Where to write the HTML. Defaults to <workspace>/bom.html. title: Heading + <title> for the page. limit: Max components to include (default 5000; the BOM call supports up to ~10000 cleanly).

Returns: Dict with ok, html_path, components (count written), bytes.

Input Schema

NameRequiredDescriptionDefault
limitNo
titleNoBill of Materials
output_pathNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses that the output is standalone with no external CSS/JS/Altium runtime dependency, is a one-shot static export, and notes the default and practical component limit. It does not mention overwrite behavior or file-write error handling, which are relevant for an export-to-path tool.

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?

The description is front-loaded with the purpose and follows a useful structure: behavior, use cases, args, returns. It is slightly repetitive about being 'self-contained' and 'standalone', but remains readable and appropriately sized.

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?

The description is complete for a static export tool: it covers output format, layout toggles, defaults, and return shape. It omits overwrite semantics for output_path and file-write failure behavior, which prevents a perfect score.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does: output_path is explained with its default workspace location, title explains the page heading/<title>, and limit explains the default 5000 and practical ceiling around 10000.

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 and resource: export the project BOM as a self-contained interactive HTML file. This clearly distinguishes it from data-returning or non-HTML siblings such as proj_get_bom or proj_export_pdf.

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 concrete usage contexts: emailing a BOM to a manufacturer, archiving with a board release, or sharing with a non-Altium reviewer. It does not explicitly name alternatives or when-not-to-use conditions, so it stops short of a 5.

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