Skip to main content
Glama
easyeda-mcp-pro
by oaslananka

Check PCB constraints

easyeda_pcb_constraint_check
Read-onlyIdempotent

Validates PCB constraint compliance by checking board outline, layer stackup, clearance rules, keepouts, placement zones, mounting holes, fiducials, and manufacturing limits to catch design issues before fabrication.

Instructions

Run PCB constraint validation against the board design. Checks board outline, layer stackup, net classes, clearance rules, keepout areas, placement zones, mounting holes, fiducials, and manufacturing constraints.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>"
    },
    "name": "easyeda_pcb_constraint_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
boardDataNo
projectIdYes

Output Schema

NameRequiredDescriptionDefault
validYes
errorsYes
summaryYes
warningsYes
project_idYes
not_availableNo
unknown_checksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.19.10
    • addedInput schema / properties / boardData / properties / minObservedCopperGapMm
      Added value: +{
      +  "maximum": 10000,
      +  "minimum": -10000,
      +  "type": "number"
      +}
    • addedInput schema / properties / boardData / properties / minObservedTraceWidthMm
      Added value: +{
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. Changed1 schema field changedv0.19.9
    • addedInput schema / properties / boardData / properties / stackupCopperLayerCount
      Added value: +{
      +  "maximum": 32,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  3. Changed4 schema fields changedv0.19.8
    • addedOutput schema / properties / summary / properties / unknown
      Added value: +{
      +  "type": "number"
      +}
    • changedOutput schema / properties / summary / required
      Previous value: -[
      -  "totalChecks",
      -  "passed",
      -  "failed",
      -  "notApplicable"
      -]New value: +[
      +  "totalChecks",
      +  "passed",
      +  "failed",
      +  "notApplicable",
      +  "unknown"
      +]
    • addedOutput schema / properties / unknown_checks
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "area": {
      +        "type": "string"
      +      },
      +      "missingFields": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "area",
      +      "missingFields"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "project_id",
      -  "valid",
      -  "errors",
      -  "warnings",
      -  "summary"
      -]New value: +[
      +  "project_id",
      +  "valid",
      +  "errors",
      +  "warnings",
      +  "summary",
      +  "unknown_checks"
      +]
  4. Changed2 schema fields changedv0.19.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  5. First observedv0.19.0

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered, and the description adds real value by enumerating the validated categories. However, it never explains the key behavioral question for this tool: whether boardData must be supplied or whether the board is read from the project when it is omitted.

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?

Two sentences, front-loaded with the action, with the enumeration of checks earning its space by conveying scope. No filler or restatement of the title beyond the necessary verb phrase.

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?

An output schema exists, so return values need no explanation, and the check list covers scope reasonably. The remaining gap is material for a tool with a large optional nested input: the description does not clarify the role of boardData versus projectId or what happens when boardData is absent.

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 0% and boardData is a 35-property nested object with no field documentation anywhere. The list of checks (outline, stackup, net classes, clearance rules, keepouts, placement zones, mounting holes, fiducials) loosely maps to fields such as hasOutline and hasLayerStack, giving indirect hints, but projectId and the optionality/merge behavior of boardData remain unexplained.

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 opens with a specific verb and resource ("Run PCB constraint validation against the board design") and then enumerates the concrete checks performed, so an agent knows exactly what the tool does. It stops short of naming or distinguishing itself from near-siblings like easyeda_drc_run or easyeda_pcb_constraint_report.

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?

There is no guidance on when to use this tool versus easyeda_drc_run, easyeda_rule_check_summary, or easyeda_pcb_constraint_report, all of which sit in the same validation space. Usage is only inferable from the tool name and the list of checks; no prerequisites or exclusions are stated.

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