Skip to main content
Glama

proj_run_erc

Compiles the focused project and runs Electrical Rules Check (ERC) to identify design rule violations; retrieve structured results afterward for review.

Instructions

Run Electrical Rules Check on the focused project.

Compiles the project first (required), then runs ERC. Call proj_get_erc_violations() afterwards to retrieve the structured list of violations.

Returns: Dictionary confirming ERC execution

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description usefully discloses a side effect (an implicit compile of the project) and that the return value is only a confirmation, not the violations themselves — a real behavioral constraint an agent would otherwise get wrong. It doesn't mention whether the compile invalidates prior compile state, whether unsaved changes are included, or runtime cost.

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?

Front-loaded with the verb and resource, then the compile requirement, then the follow-up pointer — good ordering with no filler. The trailing 'Returns: Dictionary confirming ERC execution' is mildly redundant given an output schema exists and is vague about content.

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?

For a zero-parameter tool with an output schema, the essentials are covered: what runs, that compilation precedes it, and where to get violations. The one meaningful gap is differentiation from the sibling `run_erc`, which the description never addresses.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. Note that the ERC settings/severity configuration is implicitly whatever the project has, which is left unstated.

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?

States a specific verb and resource ('Run Electrical Rules Check on the focused project'), so an agent knows exactly what action executes. It does not, however, distinguish itself from the sibling `run_erc` (or `design_validate`), which appears to cover similar ground, leaving scope differentiation partly to inference.

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?

Gives a clear operational sequence: compile happens first and is required, then ERC, then call `proj_get_erc_violations()` for results. It lacks explicit when-not-to-use guidance relative to `run_erc`/`run_drc` or any prerequisite about project state.

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

Deploy Server

Other Tools