Skip to main content
Glama
Avinash1286

KiCAD MCP Server

by Avinash1286

Find Orphaned Wires

find_orphaned_wires
Read-onlyIdempotent

Detect wire segments with dangling endpoints that cause ERC unconnected wire errors in KiCad schematics. Runs without the KiCad UI.

Instructions

Find wire segments with at least one dangling endpoint — not connected to a component pin, net label, or another wire. Orphaned wires cause ERC 'wire end unconnected' errors. Does not require the KiCad UI to be running.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
schematicPathYesPath 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 already declare read-only, idempotent, and non-destructive behavior. The description adds that it does not require the KiCad UI to be running, which is a useful headless-operation trait, and explains the connection rules (pins, net labels, wires) that define orphaned status.

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 with no fluff: the first defines the target, the second adds the ERC consequence, and the third notes the headless requirement. Each sentence earns its place, and the key action is front-loaded.

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?

For a simple read-only tool with one well-documented parameter and an output schema, the description covers purpose, use case, and a critical runtime constraint. There is no missing information required for an agent to select and invoke it 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?

The single parameter schematicPath is fully documented in the schema with 100% coverage, so the description need not add more. It correctly avoids duplicating the parameter's schema description.

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 'find' with a clear resource 'wire segments with at least one dangling endpoint', fully defining orphaned wires. This distinguishes it from siblings like list_schematic_wires or get_wire_connections by focusing on a specific defect rather than generic enumeration or connectivity.

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?

It provides clear context by explaining that orphaned wires cause ERC errors, implying when to use this tool. It does not explicitly mention alternative tools or when-not-to-use, but the intended use for detecting dangling wire ends is obvious.

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