Skip to main content
Glama

export_board_pdf

Export top and bottom board assembly drawings to PDF from a LibrePCB project, with optional board selection and output directory.

Instructions

Export a board assembly drawing (top and bottom) to PDF.

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_board_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
boardNoBoard name, UUID or index; default: first
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.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, which tells the agent this writes a file without destroying project data. The description adds the useful detail that the PDF covers both top and bottom assembly views, but says nothing about overwrite behavior, output file naming, or what happens to a pre-existing PDF at the same path.

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?

A single front-loaded sentence with zero filler, stating verb, resource, view coverage, and format. It is slightly under-specified rather than verbose, so nothing needs trimming.

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 file-producing tool with no output schema, the description omits the most agent-relevant facts: what the call returns (a path? a status?) and whether the PDF overwrites an existing file. Annotations plus full schema coverage carry most of the remaining burden, so this is adequate but not complete.

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%, so all three parameters (board, output_dir, project_path) are already documented with defaults in the schema; baseline 3 applies. The description adds only that the drawing is top-and-bottom but does not clarify the board selector semantics or the output root concept beyond the schema.

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?

"Export a board assembly drawing (top and bottom) to PDF" gives a specific verb (export), resource (board assembly drawing), the two views produced, and the output format. It is clearly separable from export_schematic_pdf by the resource named, though it never names that sibling explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for producing a board PDF, and the word "board" implicitly contrasts with the schematic export sibling. There is no statement of when to prefer this over export_project or export_gerbers, and no prerequisites (e.g., that the board must exist or that a project path is required) are mentioned.

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