Skip to main content
Glama
SourceParts

Source Parts MCP Server

Official
by SourceParts

kicad_ctrl_erc

Run Electrical Rules Check on your KiCad schematic. Upload the .kicad_sch file to get a violation report and schematic PDF for review.

Instructions

Station 0a: Run Electrical Rules Check on the schematic.

Uploads the .kicad_sch to the API, which runs kicad-cli sch erc and returns a violation report + schematic PDF for review.

IMPORTANT: Review ERC results before proceeding to netlist diff.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_pathYesPath to .kicad_pro, .kicad_sch, or project directory

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool uploads the schematic, runs kicad-cli, and returns a violation report + PDF. It does not mention if any files are modified or if the operation is read-only, which would be valuable for a check tool.

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 with three sentences: first sets purpose, second explains process, third gives an important note. No wasted words, and the key information is front-loaded.

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?

The tool is simple with one parameter and an output schema. The description covers the main purpose, process, and a sequential constraint. It doesn't detail the output format, but the presence of an output schema likely covers that. Still, a brief mention of the report type would improve completeness.

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 input schema has 100% description coverage for the single parameter (project_path). The description does not add any additional semantics beyond what the schema already provides, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Run Electrical Rules Check on the schematic,' specifying the action (run ERC) and resource (schematic). However, it does not explicitly differentiate from sibling tools like kicad_ctrl_validate, though the context makes it distinct.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description advises to review ERC results before proceeding to netlist diff, providing a sequential usage hint. However, it lacks explicit when-to-use versus alternatives, and no when-not-to-use guidance is given.

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/SourceParts/parts-mcp'

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