Skip to main content
Glama
ProductOfAmerica

mcp-server-kicad

run_drc

Idempotent

Run a design rules check on a KiCad PCB file to identify electrical and manufacturing violations, producing a structured report with actionable results.

Instructions

Run Design Rules Check (DRC) on a PCB.

Returns structured report with violations.

Args:
    pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.
    output_dir: Directory for report file (default: same as PCB).
        Optional; omit to use the configured default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pcb_pathNo
output_dirNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
sourceYes
violationsYes
kicad_versionYes
violation_countYes
unconnected_countYes
unconnected_itemsYes
Behavior4/5

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

Annotations indicate idempotentHint=true and readOnlyHint=false, but the description safely adds that it returns a structural report with violation lists and coordinates, and mentions it writes a report file to output_dir. No contradictions with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is brief and front-loaded, with a clear purpose statement and parameter explanation. No redundant content, though the return value mention is somewhat vague.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that an output schema exists rings, the description sufficiently covers the output nature, but it omits any prerequisites (e.g., PCB must exist, valid path) and does not specify what happens when violations are found vs. none. It could also mention the default output directory resolution more precisely.

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

Parameters4/5

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

Both parameters are explained in the description (path to .kicad_pcb file and directory for report), adding meaning beyond the schema which has only defaults. The description clarifies the file type and default behavior, though it could specify output file naming.

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 a Design Rules Check (DRC) on a PCB, which is specific and unambiguous. It distinguishes from similar tools like run_erc (electrical rules check) by explicitly naming DRC, and from other PCB-related tools.

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

Usage Guidelines2/5

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

The description notes both arguments are optional and explains their defaults, but provides no guidance on when to use this tool versus alternatives like run_erc or check_placement. No conditions or exclusions are mentioned.

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