Skip to main content
Glama
mayjack0312
by mayjack0312

eda_dmt_pcb_create_pcb

Create a new PCB in the active EasyEDA Pro window and retrieve its UUID for further design operations.

Instructions

dmt_Pcb.createPcb(boardName?: string) -> Promise<string | undefined> 创建 PCB returns: PCB UUID,如若为 undefined 则创建失败

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo按官方签名顺序排列的JSON参数数组
windowIdNo目标EDA窗口ID;省略时使用当前活动窗口

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It does add useful return semantics: a PCB UUID is returned, and undefined means creation failed. However, it does not disclose side effects, prerequisites, or whether the newly created PCB becomes active or appears in a specific project.

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?

The description is minimal and front-loaded: API signature, one-line purpose, and return/failure semantics. Every line earns its place, and there is no filler or repetition.

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

Completeness4/5

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

For a simple creation tool, the description is mostly complete: it gives the optional parameter, the promise return type, and the failure signal. Since there is no output schema, the explicit return description is valuable. It could provide more context about creation side effects, but the essential invocation details are present.

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

Parameters4/5

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

The schema only describes 'args' as a JSON array in official signature order, but the description supplies the actual meaningful parameter via 'boardName?: string'. This adds real semantic value beyond the generic schema. windowId semantics are already covered by 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?

The description clearly states '创建 PCB' (creates a PCB) and provides the API signature dmt_Pcb.createPcb. It specifies a concrete verb and resource, and the name distinguishes it from sibling operations like copy/delete/get/modify, though it does not explicitly contrast them.

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 about when to use this tool versus alternatives such as eda_dmt_pcb_copy_pcb or other create_* tools. Usage context is only implied by the verb 'create' and the resource name, with no exclusions or prerequisites.

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

Deploy Server

Other Tools