Skip to main content
Glama
EasyEDA MCP

EasyEDA MCP

by junior941230

pcb_set_board_outline

Draw or replace a PCB board outline on the Board Outline layer using a rectangle, circle, or polygon, with optional removal of the existing outline.

Instructions

畫板框(Board Outline 層的封閉折線)。可選擇先刪除現有板框。

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

Input Schema

NameRequiredDescriptionDefault
shapeYesrect / points / circle 三擇一
line_widthNomm
replace_existingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the full behavioral load. It usefully discloses that the result is written to the Board Outline layer and is auto-closed, and it warns that the existing outline can be deleted, but it omits whether replace_existing defaults to destructive replacement, whether only one outline is permitted, and what happens on failure.

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

Conciseness5/5

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

Two short sentences, front-loaded with the core action and layer, followed by the one optional behavior worth flagging. Nothing is padded or restated.

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 moderate-complexity mutation tool with a nested union shape parameter, no annotations, and no output schema, so the description should do more. It covers the essential action and the destructive option, but leaves the geometry input forms, units, and post-call state to the schema.

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?

Schema coverage is 67%, with the nested shape union already documented as 'rect / points / circle 三擇一'. The description adds meaning for replace_existing by framing it as optionally deleting the existing board frame, but line_width and the unit/closure expectations receive no mention in the description.

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 states a specific verb and resource: drawing the board outline as a closed polyline on the Board Outline layer. That distinguishes it from generic drawing tools like pcb_draw_polyline or pcb_add_keepout by naming the layer and closure requirement, but it never explicitly contrasts with those siblings.

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: it is a board-frame-setting operation and the second sentence notes that deleting the current outline is optional. There is no explicit guidance on when to choose this over drawing a plain polyline, or on preconditions such as whether a board must already exist.

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