Skip to main content
Glama
Avinash1286

KiCAD MCP Server

by Avinash1286

Batch Add Components

batch_add_components
Destructive

Batch-add multiple components to a KiCad schematic in one call, minimizing round-trips. Specify symbol, reference, position, and optional fields for each; get per-component placement info.

Instructions

Add multiple components to a schematic in one call (far fewer round-trips than add_schematic_component). Each component: {symbol:'Library:Name', reference, value?, footprint?, position:{x,y}, rotation?, includePins?}. Reference/Value fields are auto-positioned outside the body (disable with auto_position_fields=false). Returns per-component snapped position, field positions, body_bbox, and an overall placement_bbox.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
origin_xNoX offset added to every component position (mm)
origin_yNoY offset added to every component position (mm)
componentsYesComponents to place
schematicPathYesPath to the .kicad_sch file
auto_position_fieldsNoAuto-place Ref/Value fields outside the body (default true)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description discloses extra behavioral details beyond annotations: auto-positioning of reference/value fields (with override option) and the return payload structure. Annotations already mark the operation as destructive, so the description adds context without contradicting them.

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 three sentences, front-loaded with the main purpose and efficient in conveying parameter format and return values. No redundant phrases.

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?

Given the output schema exists, the description appropriately focuses on usage context and parameter semantics. It covers the core behavior and return expectations. Minor omissions like error handling or atomicity are not necessary given the annotations and schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

While the schema covers all parameters with descriptions, the tool description goes further by giving a concrete structure example for the components array and explaining the effect of auto_position_fields. This clarifies optionality and data hierarchy better than the schema alone.

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 uses a specific verb 'Add' and identifies the resource 'components to a schematic'. It also distinguishes from the sibling add_schematic_component by noting 'far fewer round-trips', making the tool's purpose unmistakable.

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?

The description implies when to use by contrasting batch vs single-component calls, explicitly referencing add_schematic_component for smaller operations. It does not provide explicit exclusions or alternatives beyond that, but the context is clear.

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