Skip to main content
Glama

Import a KiCad board

import_kicad

Imports a KiCad PCB (.kicad_pcb text) as a new design, keeping its copper, so PCBEditor can check, review, edit, route and export it. Returns the new design_id.

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_name": "<file_name>",
      "content": "<content>"
    },
    "name": "import_kicad"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoA name for the design (optional).
contentYesThe full .kicad_pcb file text (up to 8 MB).
file_nameYesThe file name, ending .kicad_pcb.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), and the description adds real context beyond them: copper is preserved, a new design is created, and the new design_id is returned. It stops short of saying what happens on a malformed file or whether a repeated import produces a duplicate design.

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 sentences, zero waste, with the core action and preservation guarantee front-loaded and the return value stated last where it belongs.

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?

There is no output schema, so stating 'Returns the new design_id' is genuinely necessary and supplied here, and all three parameters are documented in the schema. The main remaining gap is failure behaviour (invalid or oversized file), which an agent handling a mutating import would benefit from knowing.

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%, so name, content and file_name are fully described in the schema, including the 8 MB cap and .kicad_pcb suffix. The description adds no syntax or format detail beyond that, so the baseline 3 applies.

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 description gives a specific verb and resource ('Imports a KiCad PCB (.kicad_pcb text) as a new design') plus the key preservation guarantee ('keeping its copper'), so there is no ambiguity about what is created. It doesn't explicitly name a sibling it differs from (e.g. open_in_editor or design_board), which keeps it just below a 5.

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?

The usage context is implied: you have an existing .kicad_pcb file and want it as an editable design. There is no explicit when-not condition, no mention of alternatives for getting a board in (open_in_editor, design_board), and no guidance on repeated imports.

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.