Skip to main content
Glama
Avinash1286

KiCAD MCP Server

by Avinash1286

Export Netlist

export_netlist
Destructive

Write a schematic netlist to disk in KiCad, Spice, Cadstar, or OrcadPCB2 format. Useful for simulation or comparing against reference netlists.

Instructions

Export the schematic netlist to a file using kicad-cli. Supports KiCad XML (default), Spice (for simulation), Cadstar, and OrcadPCB2 formats. Use this when you need to write a netlist file to disk — for example to produce a SPICE file for simulation or to diff against a reference. To get net/component data inline without writing a file, use generate_netlist instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoNetlist format (default: KiCad)
outputPathYesAbsolute path for the output file (e.g. /tmp/design.spice)
schematicPathYesAbsolute path to the .kicad_sch schematic file

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations declare destructiveHint=true, and the description reinforces this by specifying it writes a netlist file to disk. It adds context about using kicad-cli and supported formats, which clarifies the operation's behavior beyond the bare annotation.

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, front-loaded with the action, and includes the key alternative. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers tool purpose, usage context, formats, and alternative. With an output schema present and 100% parameter coverage, the description is sufficiently complete for an export 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 provides full descriptions for all three parameters, so the description doesn't need to explain them. It adds minor contextual meaning by noting Spice is for simulation and outputPath is good for diffing, but doesn't alter parameter syntax.

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 clearly states the tool exports the schematic netlist to a file using kicad-cli, listing specific formats. It distinguishes itself from the sibling generate_netlist by explicitly indicating file output versus inline data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says 'Use this when you need to write a netlist file to disk' and gives example use cases (SPICE simulation, diffing). It also names the alternative tool generate_netlist for inline data, providing clear when/when-not guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Avinash1286/KiCAD-MCP-Server-THEAVI'

If you have feedback or need assistance with the MCP directory API, please join our Discord server