Skip to main content
Glama

Get a board's DRC and ERC results

get_checks
Read-onlyIdempotent

Use when the user asks whether a board passes KiCad's own checks, or before trusting a design: returns the stored DRC (design rules, unconnected copper, schematic-vs-board parity) and ERC (electrical rules) results for the board's current version, with exact error and warning counts per category and paged example violations. These are KiCad's checks as the board's author configured them, so rules they waived were never evaluated and are listed separately. This is not a design review. If the checks have not been run for this version the result says so, and that is NOT the same as passing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boardYesA public board: handle/slug (e.g. alice/keezyboost40) or a boardrepo.com URL. Discover it with search_boards; do not invent one.
rulesNoOptional: YOUR OWN limits in millimetres, when no published fab profile fits - an in-house process, a tier a vendor does not publish, or a house rule tighter than any of them. Keys are the same limit names list_fab_profiles reports (trackWidthOuterMm, clearanceOuterMm, drillPlatedMinMm, annularMinMm and so on); values are millimetres. Mutually exclusive with vendor. The result is never stored as if a fab had published it.
cursorNoOpaque pagination cursor from a previous call; pass to fetch the next page of violations.
vendorNoOptional fab house id. Returns that fab's manufacturability verdict for this board instead of the board's own DRC/ERC. Do not guess an id - if your tool list includes one for listing fab profiles, get the id from there; if it does not, use `rules` with explicit millimetre limits instead.
categoryNoOptional: return only this category's violation details. Counts for every category are always returned regardless.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
ranYes
noteNo
vendorNo
errorCountNo
nextCursorNo
violationsNo
hasNextPageNo
vendorLabelNo
warningCountNo

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already mark the tool read-only, idempotent, open-world, and non-destructive, and the description adds important behavior beyond that: results are stored rather than freshly computed, waived rules were never evaluated and are listed separately, and an unrun result is explicitly not a pass. This substantially helps an agent interpret the response correctly.

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 compact, front-loaded with the primary use case, and every sentence adds signal: when to use it, what it returns, how waived rules behave, and the critical caveat that 'not run' is not equivalent to passing. There is 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 five-parameter schema with complete descriptions, an output schema, and safety annotations, the description covers all the contextual information an agent needs: when to select the tool, how to interpret results, and how to avoid confusing missing checks with a pass. No important behavioral gaps remain.

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?

Schema description coverage is 100%, so all five parameters—board, rules, cursor, vendor, and category—are already documented in the schema. The description adds general output context such as paged example violations and per-category counts, but it does not need to compensate for schema gaps, so baseline 3 is appropriate.

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 names a specific operation—returning stored DRC and ERC results for a board's current version—and lists the categories covered (design rules, unconnected copper, parity, ERC). It distinguishes itself from a design review and implies it is not running checks, making its purpose unambiguous.

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 explicit entry conditions: use when the user asks whether a board passes KiCad's own checks, or before trusting a design. It also sets boundaries, noting it is not a design review and that a 'checks not run' result is not the same as passing, though it does not explicitly name sibling tools like run_checks or review_board as alternatives.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool targets a distinct resource and action: board metadata, BOM, stored checks, file listing, fab profiles, structured queries, raw file contents, schematic connectivity, running checks, text search within a board, and board search across the corpus. Even similar pairs like get_checks/run_checks and search_board/search_boards are clearly separated by their descriptions and intended use.

Naming Consistency5/5

All tools follow a consistent snake_case verb_noun pattern, with get_, list_, read_, query_, run_, and search_ prefixes that accurately signal their behavior. There are no style mixes or ambiguous generic verbs.

Tool Count5/5

Eleven tools is well within the ideal range and each tool earns its place by covering a distinct aspect of board discovery, retrieval, and design inspection. The set feels complete without redundancy or bloat.

Completeness5/5

The tool surface covers the full read-side workflow: searching boards, fetching metadata and BOMs, inspecting schematic connectivity, reading raw or structured files, listing fabrication profiles, and retrieving or running DRC/ERC checks. No obvious gaps exist for a read-only public KiCad board repository browser.