Skip to main content
Glama

export_project

Exports a LibrePCB project as a single .lppz archive that can be opened in LibrePCB, accepting a .lpp file or project directory as input.

Instructions

Export the whole project as a single *.lppz archive (openable in LibrePCB).

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

Input Schema

NameRequiredDescriptionDefault
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

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the safety profile is covered. The description adds the output artifact format and its compatibility, but says nothing about whether a repeated export overwrites an existing archive, whether partial archives are left behind on failure, or what the call returns. Useful but incomplete on the write behavior that the non-idempotent hint flags.

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 no filler. The deliverable format and its downstream usability are stated immediately.

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 two-parameter exporter with a fully described schema and no output schema, the definition covers what is produced and where (via schema defaults). Only the overwrite/repeat-call behavior and the resulting archive location are left unstated.

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 both project_path and output_dir are fully documented in the schema, including the default output location. The description adds no parameter-level meaning beyond that, which is the expected baseline when the schema does the work.

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?

Names a specific verb (export) and resource (the whole project) plus the concrete output artifact (*.lppz archive openable in LibrePCB). That distinguishes it from the finer-grained exporters like export_gerbers and export_bom, though it never explicitly contrasts with backup_project.

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?

The phrase 'the whole project as a single archive' implies the use case (produce a portable, shareable bundle), but there is no explicit when-to-use, when-not-to-use, or named alternative such as backup_project. The agent has to infer the choice.

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