Skip to main content
Glama

package_for_jlcpcb

Generate JLCPCB-ready manufacturing files from a KiCad PCB: export gerbers, drill, position, and BOM, rename to Protel formats, and zip them into a single archive.

Instructions

Run all kicad-cli manufacturing exports on the active project's .kicad_pcb (gerbers, drill, position, BOM), rename gerbers to Protel extensions, drill to .XLN, and zip everything into a JLCPCB-ready manufacturing/jlcpcb--.zip. Requires that placement and routing are already done in KiCad — this is the terminal tool in the workflow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pcb_pathNoOptional .kicad_pcb path. Defaults to the active project's .kicad_pcb.
output_zipNoOptional output zip path. Defaults to <project>/manufacturing/jlcpcb-<name>-<date>.zip.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.16.0

TDQS

A4.5/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full behavioral disclosure burden. It fully describes the operations: running all manufacturing exports, renaming gerbers to Protel extensions and drill to .XLN, zipping everything, and the output path. It also discloses the external dependency on kicad-cli and the prerequisite state of the project, which is important behavioral context for an agent deciding to invoke it.

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?

Two dense, information-rich sentences with no filler. The first sentence front-loads the exact actions and output format, and the second adds the critical prerequisite and workflow position. Every clause contributes useful information.

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

Completeness5/5

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

Despite having no output schema, the description is complete for a terminal packaging tool: it specifies the input, all transformation steps, the output location and naming pattern, and the required project state. An agent has enough context to know when to call it and what it will produce.

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 the input schema already documents both optional parameters with defaults. The description reinforces the 'active project' default but adds no meaning beyond what the schema provides, matching the baseline of 3.

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: 'Run all kicad-cli manufacturing exports on the active project's .kicad_pcb' and lists exactly what is produced (gerbers, drill, position, BOM, renamed and zipped). It also distinguishes itself from siblings by calling itself 'the terminal tool in the workflow', so an agent can clearly tell it apart from earlier steps like pcb_generate or easyeda_handoff.

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?

It provides an explicit precondition ('Requires that placement and routing are already done in KiCad') and positions the tool as 'the terminal tool in the workflow'. It does not name specific sibling alternatives or state when-not-to-use it, but the workflow positioning and prerequisite give an agent clear guidance on when it is appropriate.

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