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

Auto-extract netlist and run semantic ERC

easyeda_semantic_erc_auto
Read-onlyIdempotent

Runs semantic electrical rule checks on live nets, devices, and pins, optionally comparing caller-declared datasheet constraints to flag mismatches while keeping unknown evidence from passing.

Instructions

Read LIVE nets, devices and pins for semantic ERC. Optional caller-declared datasheet rules compare pin/net identity without source authentication; UNKNOWN evidence never yields passed=true or electrical approval. Pin types remain inferred; incomplete inventories block datasheet review.

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_semantic_erc_auto"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYes
datasheetConstraintsNo

Output Schema

NameRequiredDescriptionDefault
errorNo
errorsYes
passedYes
warningsYes
project_idYes
error_countYes
total_issuesYes
not_availableNo
warning_countYes
datasheet_reviewNo
inferred_net_countYes
electrical_approvalNo
inferred_device_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.19.10
    • addedInput schema / properties / datasheetConstraints
      Added value: +{
      +  "items": {
      +    "oneOf": [
      +      {
      +        "properties": {
      +          "componentRef": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "expectedNet": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "kind": {
      +            "const": "pin_voltage",
      +            "type": "string"
      +          },
      +          "maxVoltageV": {
      +            "type": "number"
      +          },
      +          "minVoltageV": {
      +            "type": "number"
      +          },
      +          "pin": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "reference": {
      +            "properties": {
      +              "package": {
      +                "maxLength": 120,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "partNumber": {
      +                "maxLength": 150,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "revision": {
      +                "maxLength": 100,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "section": {
      +                "maxLength": 120,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "source": {
      +                "maxLength": 500,
      +                "minLength": 3,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "partNumber",
      +              "package",
      +              "revision",
      +              "source",
      +              "section"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "componentRef",
      +          "pin",
      +          "reference"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "componentRef": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "kind": {
      +            "const": "io_domain_voltage",
      +            "type": "string"
      +          },
      +          "maxAboveSupplyV": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "pin": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "reference": {
      +            "properties": {
      +              "package": {
      +                "maxLength": 120,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "partNumber": {
      +                "maxLength": 150,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "revision": {
      +                "maxLength": 100,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "section": {
      +                "maxLength": 120,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "source": {
      +                "maxLength": 500,
      +                "minLength": 3,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "partNumber",
      +              "package",
      +              "revision",
      +              "source",
      +              "section"
      +            ],
      +            "type": "object"
      +          },
      +          "supplyPin": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "componentRef",
      +          "pin",
      +          "supplyPin",
      +          "maxAboveSupplyV",
      +          "reference"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "componentRef": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "kind": {
      +            "const": "intentional_nc",
      +            "type": "string"
      +          },
      +          "pin": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "reference": {
      +            "properties": {
      +              "package": {
      +                "maxLength": 120,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "partNumber": {
      +                "maxLength": 150,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "revision": {
      +                "maxLength": 100,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "section": {
      +                "maxLength": 120,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "source": {
      +                "maxLength": 500,
      +                "minLength": 3,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "partNumber",
      +              "package",
      +              "revision",
      +              "source",
      +              "section"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "componentRef",
      +          "pin",
      +          "reference"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "componentRef": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "function": {
      +            "enum": [
      +              "pull",
      +              "decoupling",
      +              "reset_boot",
      +              "esd",
      +              "protection"
      +            ],
      +            "type": "string"
      +          },
      +          "kind": {
      +            "const": "required_support",
      +            "type": "string"
      +          },
      +          "pin": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "reference": {
      +            "properties": {
      +              "package": {
      +                "maxLength": 120,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "partNumber": {
      +                "maxLength": 150,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "revision": {
      +                "maxLength": 100,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "section": {
      +                "maxLength": 120,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "source": {
      +                "maxLength": 500,
      +                "minLength": 3,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "partNumber",
      +              "package",
      +              "revision",
      +              "source",
      +              "section"
      +            ],
      +            "type": "object"
      +          },
      +          "supportPin": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "supportRef": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "componentRef",
      +          "pin",
      +          "supportRef",
      +          "function",
      +          "reference"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "componentRef": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "inputPin": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "kind": {
      +            "const": "regulator_headroom",
      +            "type": "string"
      +          },
      +          "minHeadroomV": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "outputPin": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "reference": {
      +            "properties": {
      +              "package": {
      +                "maxLength": 120,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "partNumber": {
      +                "maxLength": 150,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "revision": {
      +                "maxLength": 100,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "section": {
      +                "maxLength": 120,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "source": {
      +                "maxLength": 500,
      +                "minLength": 3,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "partNumber",
      +              "package",
      +              "revision",
      +              "source",
      +              "section"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "componentRef",
      +          "inputPin",
      +          "outputPin",
      +          "minHeadroomV",
      +          "reference"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  "maxItems": 24,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedOutput schema / properties / datasheet_review
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "engineering_sign_off": {
      +      "const": false,
      +      "type": "boolean"
      +    },
      +    "finding_count": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "findings": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "component_ref": {
      +            "type": "string"
      +          },
      +          "evidence": {
      +            "enum": [
      +              "explicit_netlist",
      +              "incomplete_or_ambiguous"
      +            ],
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "kind": {
      +            "enum": [
      +              "pin_voltage",
      +              "io_domain_voltage",
      +              "intentional_nc",
      +              "required_support",
      +              "regulator_headroom"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          },
      +          "nets": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "observed_voltages_v": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "net": {
      +                  "type": "string"
      +                },
      +                "voltage_v": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "net",
      +                "voltage_v"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "pins": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "related_component_ref": {
      +            "type": "string"
      +          },
      +          "related_pin": {
      +            "type": "string"
      +          },
      +          "source": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "package": {
      +                "maxLength": 120,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "partNumber": {
      +                "maxLength": 150,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "revision": {
      +                "maxLength": 100,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "section": {
      +                "maxLength": 120,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "source": {
      +                "maxLength": 500,
      +                "minLength": 3,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "partNumber",
      +              "package",
      +              "revision",
      +              "source",
      +              "section"
      +            ],
      +            "type": "object"
      +          },
      +          "status": {
      +            "enum": [
      +              "WARNING",
      +              "UNKNOWN"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "kind",
      +          "status",
      +          "component_ref",
      +          "pins",
      +          "nets",
      +          "observed_voltages_v",
      +          "source",
      +          "message",
      +          "evidence"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "limitations": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "netlist_scope": {
      +      "enum": [
      +        "CALLER_SUPPLIED_NOT_LIVE_VERIFIED",
      +        "LIVE_BRIDGE_READ_NOT_INDEPENDENTLY_VERIFIED"
      +      ],
      +      "type": "string"
      +    },
      +    "source_authenticity": {
      +      "const": "CALLER_DECLARED_UNVERIFIED",
      +      "type": "string"
      +    },
      +    "status": {
      +      "enum": [
      +        "WARNING",
      +        "UNKNOWN"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "source_authenticity",
      +    "netlist_scope",
      +    "finding_count",
      +    "findings",
      +    "limitations",
      +    "engineering_sign_off"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / electrical_approval
      Added value: +{
      +  "const": false,
      +  "type": "boolean"
      +}
  2. 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"
  3. Addedv0.19.1

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds meaningful context: rules are compared without source authentication, UNKNOWN evidence never yields passed=true or electrical approval, and pin types remain inferred with incomplete inventories blocking datasheet review. That is genuinely useful behavioral disclosure, though return shape and failure modes beyond 'never passed=true' are unstated.

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?

Four sentences, front-loaded with the core purpose and followed by caveats, with no obvious filler. Some phrasing is dense ('compare pin/net identity without source authentication') but every sentence adds information.

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 needn't be explained, and the behavioral caveats are well covered. For a tool with a two-parameter schema containing a five-variant oneOf of up to 24 rules, the description leaves the rule vocabulary and projectId scope unexplained and gives no sibling routing, so it is adequate rather than complete.

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%, so the description must carry the burden, and it partially does: it explains datasheetConstraints as optional caller-declared rules comparing pin/net identity and flags the lack of source authentication. It does not explain projectId or enumerate the five rule kinds (pin_voltage, io_domain_voltage, intentional_nc, required_support, regulator_headroom) or the 24-item cap, leaving substantial schema complexity uninterpreted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states it reads LIVE nets, devices and pins for semantic ERC, which conveys the resource and a verb, but it never explicitly says it extracts the netlist and runs ERC end-to-end as the title claims. It also gives no differentiation from close siblings like easyeda_semantic_erc_validate or easyeda_erc_run, so an agent cannot tell from the description which entry point 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?

It notes that datasheetConstraints is optional and that incomplete inventories block datasheet review, which implies some usage conditions. However, there is no explicit when-to-use guidance and no mention of the obvious alternatives (validate, erc_run), leaving the agent to infer selection.

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