Skip to main content
Glama
Avinash1286

KiCAD MCP Server

by Avinash1286

Lint Schematic Cosmetic

lint_schematic_cosmetic
Destructive

Hide redundant pin names and reorient net labels in KiCad schematics for cleaner reading, using netlist-safe raw-text edits that preserve all connectivity.

Instructions

Netlist-safe cosmetic cleanup of a .kicad_sch, applied as raw-text edits that never move a symbol, pin, wire, junction, or label anchor. Pass hide_pin_names gives every top-level embedded lib_symbol a (pin_names ... (hide yes)) directive — in label-driven schematics the internal pin names duplicate the net label on the same pin. Pass orient_labels sets each net/global/hierarchical label's text angle and justify from the sheet-space outward side of the pin it sits on (rotation/mirror aware), so text reads away from the symbol body; labels not on a pin are left untouched. Complements autoplace_schematic_fields (which handles Reference/Value fields).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dryRunNoReport change counts without writing (default false)
passesNoPasses to run, in order (default: both)
schematicPathYesPath to the .kicad_sch file

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The annotations already flag destructiveHint=true and readOnly=false. The description adds valuable behavioral detail beyond those annotations: raw-text edits never move anchors, are netlist-safe, leave non-pin labels untouched, and are rotation/mirror aware. This is exactly the kind of context the agent needs.

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 dense sentences, front-loaded with the key safety guarantee, then methodically explains each pass. Every sentence earns its place with 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?

Given the 3-parameter schema, the presence of an output schema, and the complexity of the two passes, the description is complete. It covers both passes' behavior, safety constraints, and relationship to a sibling tool; defaults and return values are left to the schema, which is appropriate.

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?

Even though the schema covers 100% of parameters, the description gives deep meaning to the two passes that the bare enum values do not convey, including the exact directive added by hide_pin_names and the orientation/justify behavior of orient_labels. This far exceeds the schema's baseline.

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 performs 'netlist-safe cosmetic cleanup' on .kicad_sch files via raw-text edits, and enumerates two specific passes (hide_pin_names and orient_labels). It also distinguishes itself from the sibling autoplace_schematic_fields by noting it complements that tool.

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 gives concrete context for when each pass is useful (e.g., hide_pin_names for label-driven schematics) and explicitly mentions autoplace_schematic_fields as a complementary tool. However, it does not provide explicit when-not-to-use exclusions or alternatives beyond that single complement reference.

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