Skip to main content
Glama
EasyEDA MCP

EasyEDA MCP

by junior941230

pcb_add_keepout

Add a keepout region on PCB layers to block traces, pours, fills, or components, such as under antennas. Define rectangular, circular, or polygonal areas with specific rules.

Instructions

新增禁止區(Region),例如天線下方禁止走線 / 鋪銅。

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

Input Schema

NameRequiredDescriptionDefault
nameNo
layerNotop / bottom / inner… 或 multi(所有層)top
rulesNo
shapeYesrect / points / circle 三擇一

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3/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 burden. It says nothing about whether the keepout is additive, how overlapping keepouts behave, whether DRC enforcement is immediate, what permissions or board state are required, or what is returned. Only the vague notion of 'prohibiting routing/pouring' hints at behavior.

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 front-loaded sentence with no wasted wording; the verb+resource comes first and the example follows. It is arguably under-specified rather than verbose, but structurally clean.

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?

For a mutation tool with a nested shape object, no annotations, and no output schema, one line is thin: shape alternatives, layer semantics, and rule defaults are left entirely to the schema. It is adequate to identify the tool but not to call it confidently in edge cases.

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 only 50% for four parameters (with a nested shape object). The description's '禁止走線 / 鋪銅' loosely maps to the rules enum values no_wires/no_pours, but it omits no_components, no_fills, and no_inner_planes, and says nothing about layer (top/bottom/multi), name, or the rect/circle/points shape variants. It adds marginal meaning over the schema.

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: 新增禁止區 (Region), which unambiguously identifies the operation as creating a keepout area. The antenna example reinforces what a keepout is. It does not explicitly contrast with siblings such as pcb_add_copper_pour or pcb_add_fill, so it stops short of a 5.

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?

The antenna example implies a usage scenario (keep routing/copper out from under sensitive areas), which is useful context. However, there is no explicit when-to-use/when-not guidance, no mention of prerequisites (board open, layer selection), and no reference to alternatives like pcb_add_fill or pcb_add_copper_pour.

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