Skip to main content
Glama
EasyEDA MCP

EasyEDA MCP

by junior941230

pcb_add_fill

Add solid copper or silkscreen fills, such as thermal pads, using rectangles, circles, or polygon points to create filled PCB areas on a chosen layer.

Instructions

新增實心銅箔 / 絲印填充(Fill),例如散熱銅面。

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": {
      "shape": "<shape>"
    },
    "name": "pcb_add_fill"
  }
}

Input Schema

NameRequiredDescriptionDefault
netNo
layerNotop
shapeYesrect / points / circle 三擇一

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description must explain that this is a mutating operation and what it affects. It does not say whether the fill requires a valid net or layer, what happens with the default empty net, whether it can overlap existing primitives, whether it is undoable/removable, or whether it affects DRC. These are only implicit in the phrase '新增'.

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?

It is a single, front-loaded sentence with no wasted words, which is good. However, it is under-specified rather than concise, given a nested polymorphic shape parameter and three-layer parameter set. The brevity costs coverage instead of adding clarity.

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 tool whose required parameter is a union of three nested shape variants, with no annotations and no output schema, one sentence is not enough. It should at minimum explain the rect/circle/points choice (mm units), what net and layer mean for the fill, and what the tool returns or changes on the board.

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 description coverage is 33%. The nested shape schema partially documents 'rect' x/y and 'points', but the circle fields, corner_radius, net, and layer have no descriptions. The description adds no information about which shape variant to use, how net and layer interact with the fill, or that exactly one of rect/circle/points must be supplied.

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 resource in Chinese ('新增實心銅箔 / 絲印填充(Fill)'), which makes clear that the tool creates a solid filled area on copper or silkscreen. An example ('散熱銅面', a thermal pad) reinforces this purpose. It does not distinguish itself from sibling pcb_add_copper_pour, and for an agent, the fill-versus-pour distinction is the most important disambiguation.

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?

The only usage signal is one example ('e.g. thermal copper surface'). The description does not state when to use this tool instead of pcb_add_copper_pour, when to use pcb_add_keepout for exclusion zones, or any prerequisite such as an active board or layer setup. The agent must infer that this tool creates geometry rather than a pour.

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