Skip to main content
Glama
Avinash1286

KiCAD MCP Server

by Avinash1286

Export Svg

export_svg
Destructive

Generate SVG vector images of PCB layouts, selecting specific layers, black-and-white mode, and component outlines for clear documentation and review.

Instructions

Export the PCB layout as an SVG vector image, optionally selecting layers and colour mode.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layersNoOptional array of layer names to include (default: all)
outputPathYesPath to save the SVG file
blackAndWhiteNoWhether to export in black and white
includeComponentsNoWhether to include component outlines

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

The annotations already declare destructiveHint=true, so the safety profile is partially disclosed. The description adds context about the output being a vector image and optional layers/color mode, but it does not detail side effects like file overwriting or prerequisites. It does not contradict annotations, and the added context is minimal.

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?

The description is a single, well-structured sentence that states the core function and key options without waste. It is front-loaded with the main action and resource, making it easy for an agent to quickly grasp the tool's purpose.

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?

For a straightforward export tool with a full input schema and an output schema present, the description covers the essential purpose and options. It lacks explicit prerequisites (e.g., board must be loaded) and does not differentiate from the nearly identical export_pcb_svg, but overall it is sufficiently complete given the low complexity and rich schema.

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%, with all four parameters described in the schema. The description only mentions 'layers and colour mode' at a high level, which adds no new meaning beyond the schema's existing parameter descriptions. Baseline 3 is appropriate as the schema handles the heavy lifting.

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's function: exporting the PCB layout as an SVG vector image. It specifies the resource (PCB layout), action (export), and format (SVG), and distinguishes from schematic export tools like export_schematic_svg by directly mentioning 'PCB layout'.

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 description implies usage by indicating this is for exporting the current PCB layout, but it does not explicitly mention when to use this tool versus siblings like export_pcb_svg or export_pcb_pdf. No alternatives or exclusions are given, so guidance is inferred rather than explicit.

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