Skip to main content
Glama

calligraphy_preflight_audit

Inspect a .kicad_pcb file or zipped PCB project, verify outline and pad readiness, and return a deterministic NRE-anchored price quote with selectable manufacturing options and rush/ECO add-ons.

Instructions

Inspect a .kicad_pcb file or .zip project bundle (including atopile/tscircuit/Altium/Allegro builds), verify outline/pad readiness, and return a deterministic 3-Lever NRE-anchored price quote ($149 vibe_micro for <=150 pads up to $1,495+ route_3d). Mode A (Zero-File Demo): Pass sample_id='2l_rp2040' (or '2l_stickhub', '4l_carrier'). Mode B (User's Local Board): Pass a local file path in project_path (stdio mode) or pass its contents in pcb_text + filename (or upload_b64 for .PcbDoc/.zip).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calligraphy_preflight_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameNoboard.kicad_pcb
pcb_textNoRaw CAD file contents (.kicad_pcb, .dsn, .ato, .tsx, .xml) for remote HTTP MCP calls
sample_idNoOptional built-in sample board ID ('2l_rp2040', '2l_stickhub', '4l_carrier')
upload_b64NoBase64-encoded CAD file or .zip bundle for remote HTTP MCP calls
project_pathNoLocal stdio CLI path or built-in sample ID ('2l_rp2040', '2l_stickhub', '4l_carrier').
requested_skuNoroute_3d
rush_deliveryNo+35% Instant <45m Enclave Rush Turnaround
customer_emailNoEngineer email for 30-day ECO license matchingagent@customer.io
include_eco_passNo+50% 30-Day Unlimited ECO Re-Spin Pass

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/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 burden. It does disclose useful traits: determinism of the quote, concrete price anchors ($149 to $1,495+), surcharge percentages for rush (+35%) and ECO (+50%), and supported input formats. It never states whether the call is read-only or whether it persists a job/quote server-side, and gives no permission, rate-limit, or quote-validity context.

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?

The core purpose is front-loaded in the first clause, and the mode instructions follow in a logical order. It is dense with internal jargon ('3-Lever NRE-anchored', 'vibe_micro', 'route_3d') and heavy parenthetical nesting, which costs some readability, but for a 9-parameter tool the length is largely justified.

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?

With 9 parameters, zero required, no annotations, and no output schema, the description should do more than it does. It never says what comes back (readiness report? quote breakdown?), whether sample_id overrides project_path if both are passed, or what happens with an empty call, and the requested_sku enum is mostly unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 78%, so the baseline is 3, but the description adds real meaning by mapping parameters to transport modes (project_path only in stdio; pcb_text + filename or upload_b64 for remote) and by enumerating the three valid sample_id values. It still leaves requested_sku semantics thin, only tying two SKU names to prices and giving no guidance on the other five enum values.

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?

The first sentence names concrete verbs and resources: inspect a .kicad_pcb file or .zip bundle, verify outline/pad readiness, and return a deterministic NRE-anchored price quote, with the price band spelled out. An agent can tell this is an audit-and-quote tool rather than a pure analysis tool like analyze_kicad_pcb. It stops short of explicitly naming any sibling it differs from, so it lands at 4 rather than 5.

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?

The Mode A / Mode B split gives explicit conditions: use sample_id for a zero-file demo, project_path for a local board in stdio mode, or pcb_text/upload_b64 for remote HTTP. That is clear routing guidance for the input channels. It does not tell the agent when to prefer this over audit_pcb_dfm_rules or analyze_kicad_pcb, and it does not say what the default is when no parameter is supplied.

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