Skip to main content
Glama
EasyEDA MCP

EasyEDA MCP

by junior941230

pcb_set_copper_layers

Sets the PCB copper layer count to values such as 2, 4, or 6, letting you match board stackup requirements before routing.

Instructions

設定銅層數(2、4、6…)。

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": {
      "layers": "<layers>"
    },
    "name": "pcb_set_copper_layers"
  }
}

Input Schema

NameRequiredDescriptionDefault
layersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.6/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing. It does not say whether changing layer count destroys or relocates existing copper, whether it requires an open board, whether the change is reversible, or whether it triggers a re-route/DRC. For a structural board-setting mutation with zero annotation coverage this is a serious gap.

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?

A single short sentence with no filler, front-loading the verb and the value family. It is efficiently written, though the parenthetical ellipsis is slightly imprecise as a specification of allowable values.

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?

This is a simple one-parameter setter, so a brief description can suffice; the even-number constraint is the key fact. Still, with no annotations and no output schema, the description should say what happens to existing copper layers and what the valid range is, which it omits.

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

Parameters2/5

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

Schema coverage is 0% and the schema only declares an unconstrained integer (min/max ±9e15 with no description). The description does add the meaningful constraint that values are even (2, 4, 6…), which the schema lacks. However it leaves the maximum layer count undefined and the trailing ellipsis is ambiguous about whether odd or very large values are rejected.

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+resource: setting the copper layer count, with the typical value family (2, 4, 6…). An agent can tell this apart from siblings like pcb_set_board_outline or pcb_add_copper_pour without opening a schema. It stops short of 5 because it never states scope or context (e.g. whether it applies to the active board/document).

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?

No when-to-use or when-not-to-use guidance, no prerequisites, and no mention of alternatives. The only implicit cue is the even-number constraint, which hints at valid inputs but says nothing about when an agent should change layer count rather than, say, add a copper pour.

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