Skip to main content
Glama

Autonomous 0-DRC PCB Routing Foundry & Hardware MCP Server

Download Unlocked Turnkey Fabrication Bundle

calligraphy_download_fab_bundle
Read-onlyIdempotent

Retrieve the unlocked routed .kicad_pcb layout and turnkey manufacturing .zip bundle (Gerber X2, Excellon drills, IPC-D-356A netlist, BOM/CPL, and 3D IR-drop report) for a paid job_id. Call after payment confirmation via Stripe or on-chain verification. Requires job_id; returns JSON download_zip_url and deletion_receipt_sha256. Example: job_id='job_01', include_bundle_b64=False.

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": {
      "job_id": "job_01",
      "include_bundle_b64": false
    },
    "name": "calligraphy_download_fab_bundle"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesUnlocked compilation job identifier to retrieve fabrication outputs for.
output_dirNoOptional local filesystem directory to write outputs (STDIO mode).
include_bundle_b64NoInline Base64 .zip archive bytes and trigger immediate auto-purge.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / include_bundle_b64 / description
      Previous value: -"When true, embeds the complete turnkey .zip archive as Base64 in bundle_zip_b64 and triggers immediate zero-retention vault auto-purge."New value: +"Inline Base64 .zip archive bytes and trigger immediate auto-purge."
    • changedInput schema / properties / include_bundle_b64 / examples
      Previous value: -[
      -  false,
      -  true
      -]New value: +[
      +  false
      +]
    • changedInput schema / properties / job_id / description
      Previous value: -"Unlocked compilation job identifier to download. Example: 'job_01'."New value: +"Unlocked compilation job identifier to retrieve fabrication outputs for."
    • changedInput schema / properties / job_id / examples
      Previous value: -[
      -  "job_01",
      -  "job_a1b2c3d4"
      -]New value: +[
      +  "job_01"
      +]
    • changedInput schema / properties / output_dir / description
      Previous value: -"Optional local filesystem directory where routed.kicad_pcb and bundle.zip will be written (local STDIO mode only). Example: './fab_out'."New value: +"Optional local filesystem directory to write outputs (STDIO mode)."
  2. Changed3 schema fields changed
    • addedInput schema / properties / include_bundle_b64 / examples
      Added value: +[
      +  false,
      +  true
      +]
    • addedInput schema / properties / job_id / examples
      Added value: +[
      +  "job_01",
      +  "job_a1b2c3d4"
      +]
    • addedInput schema / properties / output_dir / examples
      Added value: +[
      +  "./fab_out"
      +]
  3. Changed4 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / include_bundle_b64 / description
      Previous value: -"Inline base64 .zip bytes."New value: +"When true, embeds the complete turnkey .zip archive as Base64 in bundle_zip_b64 and triggers immediate zero-retention vault auto-purge."
    • changedInput schema / properties / job_id / description
      Previous value: -"Job ID."New value: +"Unlocked compilation job identifier to download. Example: 'job_01'."
    • changedInput schema / properties / output_dir / description
      Previous value: -"Local output directory."New value: +"Optional local filesystem directory where routed.kicad_pcb and bundle.zip will be written (local STDIO mode only). Example: './fab_out'."
  4. Changed4 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "include_bundle_b64": false,
      -    "job_id": "job_a1b2c3d4e5f6"
      -  }
      -]New value: +[
      +  {
      +    "include_bundle_b64": false,
      +    "job_id": "job_01"
      +  }
      +]
    • removedInput schema / properties / include_bundle_b64 / examples
      Removed value: -[
      -  false
      -]
    • removedInput schema / properties / job_id / examples
      Removed value: -[
      -  "job_a1b2c3d4e5f6"
      -]
    • removedInput schema / properties / output_dir / examples
      Removed value: -[
      -  "./fab_out"
      -]
  5. Changed7 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "include_bundle_b64": false,
      +    "job_id": "job_a1b2c3d4e5f6"
      +  }
      +]
    • changedInput schema / properties / include_bundle_b64 / description
      Previous value: -"Set True over remote HTTP to inline the base64 .zip bytes and trigger auto-purge immediately; defaults to False so the returned download_zip_url remains active for browser/curl download."New value: +"Inline base64 .zip bytes."
    • addedInput schema / properties / include_bundle_b64 / examples
      Added value: +[
      +  false
      +]
    • changedInput schema / properties / job_id / description
      Previous value: -"Job ID returned by calligraphy_compile_board"New value: +"Job ID."
    • addedInput schema / properties / job_id / examples
      Added value: +[
      +  "job_a1b2c3d4e5f6"
      +]
    • changedInput schema / properties / output_dir / description
      Previous value: -"Local directory to save unlocked files (stdio CLI mode)"New value: +"Local output directory."
    • addedInput schema / properties / output_dir / examples
      Added value: +[
      +  "./fab_out"
      +]
  6. First observed

TDQS

A3.5/5.0
Behavior1/5

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

Annotations declare readOnlyHint=true and destructiveHint=false, yet the description states that include_bundle_b64 triggers an 'immediate auto-purge' and the call returns a 'deletion_receipt_sha256'. A deletion side effect is a state mutation that the annotations explicitly deny, which is an annotation contradiction rather than a case of the description merely adding 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 description is dense but front-loaded with the resource and deliverable list, followed by the payment precondition, required parameter, and a sample invocation. Every sentence carries operational information; only the duplicated example in both prose and schema is slight redundancy.

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?

With no output schema, the description does the right thing by naming the return fields (download_zip_url, deletion_receipt_sha256). For a paid-artifact retrieval tool it covers deliverables, gating, and return shape; it omits error behavior for unpaid or expired job_ids and the scope of the purge, which keeps it short of complete.

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 coverage is 100% and each parameter already carries its own description, including the purge behavior of include_bundle_b64 and the STDIO-only output_dir. The description restates the job_id requirement and gives an example call, adding convenience but little semantic meaning beyond the schema.

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 names a specific verb (retrieve) plus the precise artifact set — unlocked routed .kicad_pcb layout and a turnkey manufacturing .zip containing Gerber X2, Excellon drills, IPC-D-356A, BOM/CPL and an IR-drop report — gated on a paid job_id. That is enough to distinguish it from siblings such as calligraphy_get_job_status or the payment-verification tools without opening the 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?

It states the precondition clearly: 'Call after payment confirmation via Stripe or on-chain verification.' That gives an agent a concrete trigger condition. It does not name an alternative tool for the not-yet-paid case, but the gating requirement leaves little ambiguity.

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.