Skip to main content
Glama

export_bom

Export a LibrePCB project's bill of materials as CSV, generating one file per assembly variant; optionally target a specific board or set an output directory.

Instructions

Export the bill of materials as CSV (one file per assembly variant).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_path": "<project_path>"
    },
    "name": "export_bom"
  }
}

Input Schema

NameRequiredDescriptionDefault
boardNoBoard for a board-specific BOM; default: generic BOM
output_dirNoOutput directory inside a configured root; default: <project>/output/mcp
project_pathYesPath to the project's *.lpp file or its directory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive write. The description adds the useful behavioral detail that output is CSV split per assembly variant, but says nothing about whether existing files are overwritten, where the files land relative to configured roots, or what happens for a project with no variants.

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?

A single front-loaded sentence with a parenthetical that carries real information about output shape. Zero redundant wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter, no-output-schema export tool with full schema coverage this is close to adequate, but a file-writing tool should ideally disclose overwrite behavior and output location, which the description leaves entirely to the schema.

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 schema already explains board, output_dir, and project_path semantics including defaults. The description adds no parameter meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (export) and resource (bill of materials) plus the output format (CSV) and granularity (one file per assembly variant). That distinguishes it from the PDF/Gerber export siblings, but it never names those siblings or clarifies the boundary with export_project.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance, and no alternatives named. The agent must infer from the sibling list alone whether it wants a BOM export or a generic project export.

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