Skip to main content
Glama

export

Generates fabrication-ready PCB outputs, including Gerbers, drills, BOM, pick-and-place, board images, STEP, and offline HTML or EasyEDA files, from a checked circuit design.

Instructions

Write files from the design. as "fabrication": the JLCPCB files to -fab/ and a zip (Gerbers, drills, pick-and-place and BOM CSVs, board pictures, a STEP model); call it after a clean check_circuit: a design with errors is refused. "step" or "glb": one 3D model beside the circuit, STEP for mechanical CAD (parts in colour), GLB for a 3D viewer (the board as made); an unfinished design is written too. "html": one offline page for a person (schematic, board, 3D, BOM, files inside). "package": a folder for whoever orders and checks the parts (BOM, datasheets, each library part's verification status). "build": a hole board's build sheet. "easyeda": the board for EasyEDA Standard.

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": {
      "file": "<file>",
      "as": "<as>"
    },
    "name": "export"
  }
}

Input Schema

NameRequiredDescriptionDefault
asYes
outNofabrication: a project folder, e.g. fab; step, glb, html, easyeda: a project file, e.g. cad/board.step
fileYesCircuit file
lookNoglb, html; as render's

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only supply destructiveHint=false, so the description carries the real burden and does: it discloses refusal on a design with errors, partial output on an unfinished design, the <name>-fab/ folder layout plus zip contents, and that 'package' includes each library part's verification status. It stops short of saying whether existing files are overwritten or what paths are returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Highly compressed for seven modes with no wasted filler, but it reads as one long telegraphic run-on built from quoted mode labels and semicolons, which makes it slower to scan than a short mode list would be. The lead verb is front-loaded, which helps.

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 tool with no output schema, seven modes and a nested `look` object, the description covers what each mode emits and the one blocking precondition, which is most of what an agent needs. Missing are the return value and overwrite semantics, the only real gaps.

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?

With 75% schema coverage the baseline is 3, and the description adds genuine meaning for the `as` enum by mapping each value to its output and destination. It adds little for `file` (schema already says 'Circuit file') and defers `look` entirely to 'as render's', a cross-reference the schema also makes, so the net gain over the schema is moderate.

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?

Opens with a specific verb and resource ('Write files from the design') and then enumerates every one of the seven output modes with the concrete artifacts each produces (Gerbers, drills, pick-and-place, STEP, offline HTML page). An agent can distinguish this from render and check_circuit without opening any schema.

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?

Explicitly states the prerequisite ('call it after a clean check_circuit') and the consequence of skipping it ('a design with errors is refused'), and notes that step/glb still write an unfinished design. No explicit when-not guidance or named alternatives for the non-fabrication modes, but the mode-by-mode framing effectively tells the agent which variant to pick.

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