Skip to main content
Glama
EasyEDA MCP

EasyEDA MCP

by junior941230

pcb_add_vias

Add one or more vias to a PCB with specified coordinates, drill size, diameter, and net. Use it to create layer connections during board design.

Instructions

新增一或多個過孔。

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": {
      "vias": "<vias>"
    },
    "name": "pcb_add_vias"
  }
}

Input Schema

NameRequiredDescriptionDefault
viasYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing beyond the creation act implied by "新增". It says nothing about coordinate units, which layer(s) vias land on, whether a net must exist, whether drill/diameter are clamped to fabrication limits, whether the change persists to the file, or whether it is undoable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with no wasted wording and the action front-loaded. However, for a tool taking an array of nested objects with five fields, this length reflects under-specification rather than disciplined conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a bulk-creating PCB tool with nested parameters, no annotations, and no output schema, the description omits nearly everything an agent needs to form a valid call: units and origin for coordinates, layer selection, net-connection semantics, and any failure modes. Only the bulk nature of the operation is communicated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%: x, y, and net have no inline descriptions, and only drill/diameter carry brief unit hints (mm). The description adds nothing about the vias array beyond "one or more", leaving the coordinate frame, origin, and unit of x/y completely undocumented.

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?

"新增一或多個過孔" states a clear verb (add) and resource (via), and adds the multiplicity qualifier "one or more". It does not scope the operation (layer, board, net behavior) or distinguish it from the other creation tools in the sibling list such as pcb_route_track, so it is only minimally identifying.

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 pcb_add_fill, pcb_add_copper_pour, pcb_route_track, or pcb_import_changes, and no stated preconditions (selection state, active board, required net/design rules). The agent must infer the usage context entirely.

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