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

Get board dimensions

easyeda_board_dimensions
Read-onlyIdempotent

Get PCB outline dimensions, drilled-pad counts, and minimum drill from verified pad/via inventories. Missing drill evidence stays unknown; mounting-hole classification needs explicit evidence.

Instructions

Get PCB outline dimensions, drilled-pad counts and minimum drill from verified pad/via inventories. Missing native drill evidence remains unknown; mounting-hole classification requires explicit evidence.

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

Input Schema

NameRequiredDescriptionDefault
projectIdYes

Output Schema

NameRequiredDescriptionDefault
errorNo
shapeNo
area_mm2No
width_mmNo
height_mmNo
project_idYes
has_outlineYes
min_drill_mmNo
not_availableNo
unknown_fieldsNo
drilled_pad_countNo
mounting_hole_countNo
plated_drill_pad_countNo
unplated_drill_pad_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.19.8
    • addedOutput schema / properties / drilled_pad_count
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / min_drill_mm
      Added value: +{
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedOutput schema / properties / plated_drill_pad_count
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / unknown_fields
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "mounting_hole_count",
      +      "drilled_pad_count",
      +      "plated_drill_pad_count",
      +      "unplated_drill_pad_count",
      +      "min_drill_mm"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / unplated_drill_pad_count
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "project_id",
      -  "mounting_hole_count",
      -  "has_outline"
      -]New value: +[
      +  "project_id",
      +  "has_outline"
      +]
  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. Changed3 schema fields changedv0.19.1
    • addedOutput schema / properties / error
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / has_outline
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "project_id",
      -  "mounting_hole_count"
      -]New value: +[
      +  "project_id",
      +  "mounting_hole_count",
      +  "has_outline"
      +]
  4. First observedv0.19.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds genuine behavioral context beyond that: results are derived only from verified pad/via inventories, absent native drill evidence is reported as unknown rather than fabricated, and mounting-hole classification is conditional on explicit evidence. That is exactly the kind of caveat an agent needs to interpret the output, though it says nothing about cost, size or failure modes.

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 primary outputs, followed by the evidence caveats. No filler or restatement of the title. Slightly dense, domain-specific phrasing ('native drill evidence', 'mounting-hole classification') but every clause carries information.

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?

With an output schema present, return values need no explanation, so the description's burden is mainly scope and evidence caveats, which it covers. For a single-parameter read tool this is nearly complete; the missing piece is explicit positioning against the other board/pad/via inspection siblings.

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?

There is a single required parameter, projectId, with 0% schema description coverage, so the schema contributes no meaning. The description does not explain the parameter at all, but projectId is self-evident in an EasyEDA project-scoped tool, so the practical loss is small; the score lands at the minimum-viable baseline rather than being penalized further.

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 names a specific verb and concrete resources: PCB outline dimensions, drilled-pad counts and minimum drill, plus the source of truth ('verified pad/via inventories'). An agent can tell this is a measurement/aggregation read rather than a raw geometry dump, but it never names the closest siblings (easyeda_board_features, easyeda_pcb_vias) so the differentiation is implicit rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the note that missing native drill evidence 'remains unknown' and that mounting-hole classification 'requires explicit evidence' tells the agent what the tool will and won't answer, which is useful. There is no explicit when-to-use/when-not statement and no alternative named, so an agent choosing between this and easyeda_board_features or easyeda_pcb_vias gets no routing help.

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