Skip to main content
Glama
ProductOfAmerica

mcp-server-kicad

remove_dangling_tracks

Destructive

Remove unconnected trace segments from PCB layouts, iteratively deleting tracks with endpoints that don't connect to pads, vias, or other traces.

Instructions

Detect and remove trace segments with unconnected endpoints.

Iteratively removes dangling segments until no more are found.
A segment is considered dangling if either endpoint does not connect
to a pad, via, or another trace endpoint.

Args:
    pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pcb_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
iterationsYes
tracks_removedYes
Behavior4/5

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

Annotations already indicate destructive behavior (destructiveHint=true), and the description adds valuable context: the iterative removal process and the precise definition of a dangling segment (endpoint not connecting to pad, via, or another trace). It does not contradict annotations and goes beyond what structured metadata conveys.

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 concise and well-structured. It front-loads the main purpose, then explains the algorithm, and ends with parameter documentation. Every sentence adds value, with no redundancy or filler.

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?

Given the simple tool (one optional parameter, output schema exists, annotations cover destructive behavior), the description is complete. It explains what, why, how (iterative), and the argument meaning. No gaps remain for an agent to invoke it correctly.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden for the single parameter. It fully explains pcb_path: a path to a .kicad_pcb file, optional, with a default behavior ('omit to use the configured default'). This is clear and sufficient.

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 purpose: 'Detect and remove trace segments with unconnected endpoints.' It uses a specific verb ('remove') and resource ('dangling tracks'), and distinguishes itself from sibling tools like remove_traces by focusing on unconnected endpoints. The iterative behavior and dangling criterion add precision.

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 provides clear context for when to use the tool (to clean up dangling segments) but does not explicitly mention alternatives or exclusions. It says what the tool does, which implies its use case, but lacks direct comparison to other trace-related tools.

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/ProductOfAmerica/mcp-server-kicad'

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