Skip to main content
Glama
mayjack0312
by mayjack0312

eda_pcb_document_import_changes

Update your PCB design by importing changes from the schematic. This tool returns whether the import succeeded, helping you verify synchronization.

Instructions

pcb_Document.importChanges(uuid?: string) -> Promise 从原理图导入变更 returns: 导入操作是否成功,导入失败或未传入原理图 UUID 的游离 PCB 将返回 false

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden. It does reveal a return behavior (returns false if import fails or if PCB is 'orphaned' without a schematic UUID) and implies the operation is a mutation (imports changes). However, it doesn't disclose whether the operation is destructive, requires user confirmation, updates the PCB document automatically, or whether it is reversible. The description does not contradict anything, but it is thin.

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?

The description is compact--three lines--and front-loads the function signature and purpose. The return semantics are useful. It could be more structured (e.g., separating the Chinese description from the signature), but it is efficiently sized and doesn't waste words.

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 mutation tool with no annotations and no output schema, the description should explain more about what 'import changes' means, what happens on success/failure beyond the boolean, and how the optional uuid relates to the current PCB document (e.g., what happens if no uuid and no current schematic association). The return value is documented but the high-level context is incomplete.

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 description coverage is 100% (both windowId and args are described in the schema, though args is a generic array that needs format). The description does mention the optional uuid parameter in the signature, which adds semantics beyond the schema--it identifies that the schematic UUID is the input to the importChanges function. However, the description does not explain how args should be constructed or how windowId interacts, so it only modestly compensates.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states 'import changes from schematic' (从原理图导入变更), which identifies the action and resource domain, but does not specify what type of changes are imported (netlist? design changes? annotation changes?) or what the resulting effect is on the PCB document. It also doesn't clarify distinction from the sibling tool eda_sch_document_import_changes, whose name mirrors this one (though the domain differs: pcb vs sch).

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 description does not state when to use this tool versus alternatives. It implies it is for importing changes from a schematic into a PCB, but doesn't contrast with eda_sch_document_import_changes or the netlist-related tools like eda_pcb_net_set_netlist, nor does it mention any prerequisites (e.g., having a linked schematic, having the PCB document active).

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