Skip to main content
Glama
Avinash1286

KiCAD MCP Server

by Avinash1286

Hierarchical Place

hierarchical_place
Destructive

Groups PCB footprints by schematic hierarchy to arrange functional blocks for manual placement. Rewrites the .kicad_pcb file, leaving locked footprints unchanged.

Instructions

Cluster a board's footprints by their schematic-sheet hierarchy (the HierPlace algorithm). After sync_schematic_to_board piles every footprint at the origin, this packs each functional block together as a starting point for manual placement. File-based: reads and rewrites the .kicad_pcb on disk, so save any in-memory board edits first. Locked footprints are left in place.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boardPathYesAbsolute path to the .kicad_pcb file to re-place

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations already flag destructiveHint:true. The description adds critical behavioral detail: it reads and rewrites the .kicad_pcb on disk, requiring a save first, and leaves locked footprints in place. This goes beyond the annotations and gives the agent important safety context.

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?

Three sentences, each earning its place: main purpose, workflow context, and critical file/locked-footprint behavior. No filler or repetition.

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?

With one well-documented parameter and an output schema present, the description covers the algorithm, when to use it, file safety, and locked-footprint handling. This is sufficient for an agent to decide when and how to invoke the tool correctly.

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% for boardPath, with its own description. The tool description reinforces that the file is modified on disk but adds no new syntax or format details beyond the schema. Baseline 3 is appropriate since the schema already explains the parameter fully.

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 states the exact function: 'Cluster a board's footprints by their schematic-sheet hierarchy', naming the algorithm. It also clarifies the outcome ('packs each functional block together') and frames it as a starting point for manual placement, distinguishing it from manual placement and other placement tools.

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 gives clear context: it should be used after sync_schematic_to_board has piled footprints at the origin, and before manual placement. It also includes a precondition to save in-memory edits first. However, it doesn't explicitly name alternatives or state when not to use it, so it falls short of a 5.

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