Skip to main content
Glama

PCB design rule check

pcb_drc

Run a PCB design rule check to return violations grouped by type with mm locations, and identify unrouted connections and copper shorts.

Instructions

Run EasyEDA's DRC and return violations grouped by type with locations (mm). Also reports unrouted connections and shorts computed from copper geometry.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pcb_drc"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It does usefully disclose the return shape (violations grouped by type, coordinates in mm, plus computed unrouted connections and shorts), but says nothing about preconditions (e.g., a loaded PCB project), whether the run mutates state, or cost/duration of a geometry-based analysis.

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?

Two sentences, front-loaded with the core action, and the secondary outputs are compressed into a single clause. No filler or redundancy.

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?

With no output schema and no annotations, the description needs to do more: it describes the return content adequately but leaves the 'limit' parameter, prerequisites, and any side-effect profile unexplained. Adequate for a simple read-style check, but not complete.

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

Parameters2/5

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

The sole parameter 'limit' (default 60) has zero schema description coverage and is never mentioned in the description, so it is unclear whether it caps total violations, violations per type, or unrouted/short entries. Given only one parameter, a single clarifying clause would have closed the gap entirely.

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?

Names a specific action and resource ('Run EasyEDA's DRC') and states what comes back: violations grouped by type with locations in mm, plus unrouted connections and shorts. It does not distinguish itself from the adjacent pcb_rules or sch_check tools, so an agent must infer which check tool to pick.

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?

No when-to-use or when-not-to-use guidance: nothing says whether this should run after routing, before export, or how it relates to pcb_rules (rule configuration) or sch_check. The verb 'Run' implies a validation step, but that is inference rather than stated guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.