Skip to main content
Glama

Autonomous 0-DRC PCB Routing Foundry & Hardware MCP Server

Synthesize & Route Multi-Layer PCB

calligraphy_route_pcb

Streamlined 1-step Specctra .dsn and .kicad_pcb autorouting entry point using standard enclave defaults to achieve 100% completion and 0 KiCad DRC errors, with optional Rev-B ECO partial rerouting. Use calligraphy_compile_board when you need promo codes or rush options. Accepts sample_id, pcb_text, or upload_b64; returns JSON job_id and pricing. Example: sample_id='2l_rp2040'.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sample_id": "2l_rp2040",
      "requested_sku": "vibe_micro"
    },
    "name": "calligraphy_route_pcb"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameNoCAD filename with extension used to select the parser.board.kicad_pcb
pcb_textNoRaw UTF-8 .kicad_pcb or Specctra .dsn CAD text.
sample_idNoBuilt-in demo board ID ('2l_rp2040', '2l_stickhub', or '4l_carrier').
upload_b64NoBase64-encoded binary payload of .kicad_pcb, .dsn, or .zip.
target_netsNoOptional list of specific net names for Rev-B ECO reroutes.
project_pathNoLocal workstation path to CAD file (STDIO) or sample_id.
requested_skuNoTarget routing tier SKU (vibe_micro, basic_2l, route_3d, turnkey_full).route_3d
customer_emailNoEngineering contact email for job receipt and license attribution.agent@customer.io
preserve_existing_copperNoLock existing routed copper for surgical Rev-B ECO partial reroutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "preserve_existing_copper": false,
      -    "requested_sku": "vibe_micro",
      -    "sample_id": "2l_rp2040",
      -    "target_nets": []
      -  }
      -]New value: +[
      +  {
      +    "requested_sku": "vibe_micro",
      +    "sample_id": "2l_rp2040"
      +  }
      +]
    • changedInput schema / properties / customer_email / description
      Previous value: -"Engineering contact email address for job receipt and license attribution. Example: 'agent@customer.io'."New value: +"Engineering contact email for job receipt and license attribution."
    • changedInput schema / properties / customer_email / examples
      Previous value: -[
      -  "agent@customer.io"
      -]New value: +[
      +  "hw@company.io"
      +]
    • changedInput schema / properties / filename / description
      Previous value: -"CAD filename with extension (.kicad_pcb or .dsn) used to select the parser. Example: 'design.dsn'."New value: +"CAD filename with extension used to select the parser."
    • changedInput schema / properties / filename / examples
      Previous value: -[
      -  "board.kicad_pcb",
      -  "design.dsn"
      -]New value: +[
      +  "board.kicad_pcb"
      +]
    • changedInput schema / properties / pcb_text / description
      Previous value: -"Raw UTF-8 .kicad_pcb or Specctra .dsn CAD text to route with standard enclave defaults."New value: +"Raw UTF-8 .kicad_pcb or Specctra .dsn CAD text."
    • changedInput schema / properties / pcb_text / examples
      Previous value: -[
      -  "(kicad_pcb (version 20240108) (generator \"pcbnew\") ...)"
      -]New value: +[
      +  "(kicad_pcb (version 20240108))"
      +]
    • changedInput schema / properties / preserve_existing_copper / description
      Previous value: -"When true, locks and preserves existing pre-routed copper traces and vias while surgically routing only unrouted or target_nets openings during Rev-B ECO layout updates."New value: +"Lock existing routed copper for surgical Rev-B ECO partial reroutes."
    • changedInput schema / properties / preserve_existing_copper / examples
      Previous value: -[
      -  false,
      -  true
      -]New value: +[
      +  false
      +]
    • changedInput schema / properties / project_path / description
      Previous value: -"Local workstation path to a .kicad_pcb or .dsn file (local STDIO mode only) or sample_id."New value: +"Local workstation path to CAD file (STDIO) or sample_id."
    • changedInput schema / properties / project_path / examples
      Previous value: -[
      -  "board.kicad_pcb",
      -  "2l_rp2040"
      -]New value: +[
      +  "board.kicad_pcb"
      +]
    • changedInput schema / properties / requested_sku / description
      Previous value: -"Target routing tier SKU: 'vibe_micro' ($149 2L), 'basic_2l' ($295 2L), 'route_3d' ($995 4L), or 'turnkey_full' ($1,495)."New value: +"Target routing tier SKU (vibe_micro, basic_2l, route_3d, turnkey_full)."
    • changedInput schema / properties / requested_sku / examples
      Previous value: -[
      -  "vibe_micro",
      -  "basic_2l",
      -  "route_3d"
      -]New value: +[
      +  "vibe_micro"
      +]
    • changedInput schema / properties / sample_id / description
      Previous value: -"Built-in demo board identifier ('2l_rp2040', '2l_stickhub', or '4l_carrier') for quick zero-upload routing tests."New value: +"Built-in demo board ID ('2l_rp2040', '2l_stickhub', or '4l_carrier')."
    • changedInput schema / properties / sample_id / examples
      Previous value: -[
      -  "2l_rp2040",
      -  "2l_stickhub",
      -  "4l_carrier"
      -]New value: +[
      +  "2l_rp2040"
      +]
    • changedInput schema / properties / target_nets / description
      Previous value: -"Optional list of specific net names (e.g., ['/I2C_SDA', '/I2C_SCL', 'USB_DP', 'USB_DM']) for surgical Rev-B ECO partial reroutes; empty array routes all unrouted nets."New value: +"Optional list of specific net names for Rev-B ECO reroutes."
    • changedInput schema / properties / target_nets / examples
      Previous value: -[
      -  [
      -    "/I2C_SDA",
      -    "/I2C_SCL"
      -  ],
      -  [
      -    "USB_DP",
      -    "USB_DM"
      -  ]
      -]New value: +[
      +  [
      +    "USB_DP",
      +    "USB_DM"
      +  ]
      +]
    • changedInput schema / properties / upload_b64 / description
      Previous value: -"Base64-encoded binary payload of a .kicad_pcb, .dsn, or .zip archive."New value: +"Base64-encoded binary payload of .kicad_pcb, .dsn, or .zip."
    • changedInput schema / properties / upload_b64 / examples
      Previous value: -[
      -  "KGtpY2FkX3BjYiAodmVyc2lvbiAyMDI0MDEwOCkp"
      -]New value: +[
      +  "KGtpY2FkX3BjYik="
      +]
  2. Changed10 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "requested_sku": "vibe_micro",
      -    "sample_id": "2l_rp2040"
      -  }
      -]New value: +[
      +  {
      +    "preserve_existing_copper": false,
      +    "requested_sku": "vibe_micro",
      +    "sample_id": "2l_rp2040",
      +    "target_nets": []
      +  }
      +]
    • addedInput schema / properties / customer_email / examples
      Added value: +[
      +  "agent@customer.io"
      +]
    • addedInput schema / properties / filename / examples
      Added value: +[
      +  "board.kicad_pcb",
      +  "design.dsn"
      +]
    • addedInput schema / properties / pcb_text / examples
      Added value: +[
      +  "(kicad_pcb (version 20240108) (generator \"pcbnew\") ...)"
      +]
    • addedInput schema / properties / preserve_existing_copper
      Added value: +{
      +  "default": false,
      +  "description": "When true, locks and preserves existing pre-routed copper traces and vias while surgically routing only unrouted or target_nets openings during Rev-B ECO layout updates.",
      +  "examples": [
      +    false,
      +    true
      +  ],
      +  "type": "boolean"
      +}
    • addedInput schema / properties / project_path / examples
      Added value: +[
      +  "board.kicad_pcb",
      +  "2l_rp2040"
      +]
    • addedInput schema / properties / requested_sku / examples
      Added value: +[
      +  "vibe_micro",
      +  "basic_2l",
      +  "route_3d"
      +]
    • addedInput schema / properties / sample_id / examples
      Added value: +[
      +  "2l_rp2040",
      +  "2l_stickhub",
      +  "4l_carrier"
      +]
    • addedInput schema / properties / target_nets
      Added value: +{
      +  "default": [],
      +  "description": "Optional list of specific net names (e.g., ['/I2C_SDA', '/I2C_SCL', 'USB_DP', 'USB_DM']) for surgical Rev-B ECO partial reroutes; empty array routes all unrouted nets.",
      +  "examples": [
      +    [
      +      "/I2C_SDA",
      +      "/I2C_SCL"
      +    ],
      +    [
      +      "USB_DP",
      +      "USB_DM"
      +    ]
      +  ],
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / upload_b64 / examples
      Added value: +[
      +  "KGtpY2FkX3BjYiAodmVyc2lvbiAyMDI0MDEwOCkp"
      +]
  3. Changed8 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / customer_email / description
      Previous value: -"Engineer email."New value: +"Engineering contact email address for job receipt and license attribution. Example: 'agent@customer.io'."
    • changedInput schema / properties / filename / description
      Previous value: -"CAD filename."New value: +"CAD filename with extension (.kicad_pcb or .dsn) used to select the parser. Example: 'design.dsn'."
    • changedInput schema / properties / pcb_text / description
      Previous value: -"Raw CAD text (.kicad_pcb, .dsn)."New value: +"Raw UTF-8 .kicad_pcb or Specctra .dsn CAD text to route with standard enclave defaults."
    • changedInput schema / properties / project_path / description
      Previous value: -"Local path or sample ID."New value: +"Local workstation path to a .kicad_pcb or .dsn file (local STDIO mode only) or sample_id."
    • changedInput schema / properties / requested_sku / description
      Previous value: -"Tier SKU."New value: +"Target routing tier SKU: 'vibe_micro' ($149 2L), 'basic_2l' ($295 2L), 'route_3d' ($995 4L), or 'turnkey_full' ($1,495)."
    • changedInput schema / properties / sample_id / description
      Previous value: -"Demo board ID ('2l_rp2040', '2l_stickhub', '4l_carrier')."New value: +"Built-in demo board identifier ('2l_rp2040', '2l_stickhub', or '4l_carrier') for quick zero-upload routing tests."
    • changedInput schema / properties / upload_b64 / description
      Previous value: -"Base64 CAD or .zip payload."New value: +"Base64-encoded binary payload of a .kicad_pcb, .dsn, or .zip archive."
  4. Changed9 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "customer_email": "eng@hardware.io",
      -    "requested_sku": "vibe_micro",
      -    "sample_id": "2l_rp2040"
      -  }
      -]New value: +[
      +  {
      +    "requested_sku": "vibe_micro",
      +    "sample_id": "2l_rp2040"
      +  }
      +]
    • removedInput schema / properties / customer_email / examples
      Removed value: -[
      -  "eng@hardware.io"
      -]
    • removedInput schema / properties / filename / examples
      Removed value: -[
      -  "board.kicad_pcb"
      -]
    • removedInput schema / properties / pcb_text / examples
      Removed value: -[
      -  "(kicad_pcb (version 20240108))"
      -]
    • removedInput schema / properties / project_path / examples
      Removed value: -[
      -  "2l_rp2040"
      -]
    • removedInput schema / properties / requested_sku / examples
      Removed value: -[
      -  "vibe_micro"
      -]
    • changedInput schema / properties / sample_id / description
      Previous value: -"Sample ID ('2l_rp2040', '2l_stickhub', '4l_carrier')."New value: +"Demo board ID ('2l_rp2040', '2l_stickhub', '4l_carrier')."
    • removedInput schema / properties / sample_id / examples
      Removed value: -[
      -  "2l_rp2040"
      -]
    • removedInput schema / properties / upload_b64 / examples
      Removed value: -[
      -  "UEsDBBQAAAAIA..."
      -]
  5. Changed15 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "customer_email": "eng@hardware.io",
      +    "requested_sku": "vibe_micro",
      +    "sample_id": "2l_rp2040"
      +  }
      +]
    • changedInput schema / properties / customer_email / description
      Previous value: -"Customer email address for notifications and 30-day ECO license matching"New value: +"Engineer email."
    • addedInput schema / properties / customer_email / examples
      Added value: +[
      +  "eng@hardware.io"
      +]
    • changedInput schema / properties / filename / description
      Previous value: -"Uploaded CAD filename (e.g. 'board.kicad_pcb', 'design.dsn', 'project.zip')"New value: +"CAD filename."
    • addedInput schema / properties / filename / examples
      Added value: +[
      +  "board.kicad_pcb"
      +]
    • changedInput schema / properties / pcb_text / description
      Previous value: -"Raw CAD file contents (.kicad_pcb, .dsn, .ato, .tsx, .xml) for remote HTTP MCP calls"New value: +"Raw CAD text (.kicad_pcb, .dsn)."
    • addedInput schema / properties / pcb_text / examples
      Added value: +[
      +  "(kicad_pcb (version 20240108))"
      +]
    • changedInput schema / properties / project_path / description
      Previous value: -"Local stdio CLI path or built-in sample ID ('2l_rp2040', '2l_stickhub', '4l_carrier'). For remote HTTP MCP, read local files and pass 'pcb_text' or 'upload_b64' instead."New value: +"Local path or sample ID."
    • addedInput schema / properties / project_path / examples
      Added value: +[
      +  "2l_rp2040"
      +]
    • changedInput schema / properties / requested_sku / description
      Previous value: -"Requested synthesis service tier SKU ('vibe_micro', 'basic_2l', 'route_3d', 'premium_hs', or 'turnkey_full')"New value: +"Tier SKU."
    • addedInput schema / properties / requested_sku / examples
      Added value: +[
      +  "vibe_micro"
      +]
    • changedInput schema / properties / sample_id / description
      Previous value: -"Optional built-in sample board ID ('2l_rp2040', '2l_stickhub', '4l_carrier')"New value: +"Sample ID ('2l_rp2040', '2l_stickhub', '4l_carrier')."
    • addedInput schema / properties / sample_id / examples
      Added value: +[
      +  "2l_rp2040"
      +]
    • changedInput schema / properties / upload_b64 / description
      Previous value: -"Base64-encoded CAD file or .zip bundle for remote HTTP MCP calls"New value: +"Base64 CAD or .zip payload."
    • addedInput schema / properties / upload_b64 / examples
      Added value: +[
      +  "UEsDBBQAAAAIA..."
      +]
  6. Changed3 schema fields changed
    • addedInput schema / properties / customer_email / description
      Added value: +"Customer email address for notifications and 30-day ECO license matching"
    • addedInput schema / properties / filename / description
      Added value: +"Uploaded CAD filename (e.g. 'board.kicad_pcb', 'design.dsn', 'project.zip')"
    • addedInput schema / properties / requested_sku / description
      Added value: +"Requested synthesis service tier SKU ('vibe_micro', 'basic_2l', 'route_3d', 'premium_hs', or 'turnkey_full')"
  7. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false and openWorld=true, so the mutation profile is covered. The description adds genuinely useful context — job submission with defaults, Rev-B ECO partial rerouting, and that the response carries job_id and pricing — but omits cost implications of a pricing-bearing submission, whether existing copper is preserved by default, and asynchronous job behavior.

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?

Input sources and return shape are front-loaded and the example is useful, but the opening is padded with marketing language ('Streamlined 1-step', 'standard enclave defaults', '100% completion and 0 KiCad DRC errors') that reads as promotional rather than operational. The promo-code sentence is arguably the most confusing line in an otherwise dense block.

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 nine-parameter, zero-required job-submission tool with no output schema, the description does cover input sources and the returned identifiers. It does not explain the precedence between sample_id, pcb_text, upload_b64 and project_path, nor what happens to pricing across SKUs, which is the core decision an agent faces when invoking this tool.

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 schema already documents all nine parameters including target_nets and preserve_existing_copper. The description only restates the three input-source parameters (sample_id, pcb_text, upload_b64) and gestures at ECO rerouting without explaining how target_nets and preserve_existing_copper interact — the mutex behavior among input sources is left to 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?

States a specific verb and resource: an autorouting entry point that accepts Specctra .dsn and .kicad_pcb input and produces routed boards. It names a sibling (calligraphy_compile_board) to distinguish itself, though the stated discriminator (promo codes / rush options) is a weak and somewhat confusing basis for telling the two apart.

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?

Provides one explicit routing rule: go to calligraphy_compile_board for promo codes or rush options. That is a single narrow condition and does not address the more likely confusions (preflight audit, DFM audit, or job status tools). The 'Rev-B ECO partial rerouting' case is mentioned as a capability but never framed as a when-to-use trigger.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.