Skip to main content
Glama

pcb_doctor_pcb_sync

Verify schematic assembly evidence against a PCB document to catch mismatches before ordering. Supply the evidence JSON path and JLC EDA project path to run the consistency check.

Instructions

核对原理图装配证据与 PCB。软调用 pcb_doctor.pcb_sync.check_pcb_sync;模块尚未合入时返回可读错误,合入后自动生效。

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": {
      "evidence_path": "<evidence_path>",
      "project_path": "<project_path>"
    },
    "name": "pcb_doctor_pcb_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
pcb_nameNoPCB 文档名称。省略时由 pcb_sync 自行选择。
project_pathYes嘉立创 EDA 工程目录或 .eprj3 路径。
evidence_pathYespcb-doctor/easyeda-assembly/v1 证据 JSON 路径。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/5.0
Behavior3/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 does add useful behavioral context — this soft-calls an internal module and returns a readable error if that module is not yet merged, becoming active automatically afterward — which prepares the agent for a graceful failure mode. However, it never says whether the operation is read-only, whether it mutates project files, or what permissions/paths it needs.

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?

Two tight sentences with the purpose front-loaded and the failure-mode caveat second. The second sentence leans on implementation detail (module merge state) but is short and earns its place by warning of a possible error response.

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 three-parameter check tool with a fully documented schema and no output schema, the description covers purpose and fallback behavior adequately. It still leaves open what a 'match' or 'mismatch' result looks like and whether any files are written, which an agent would want to know before invoking.

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%, so all three parameters (pcb_name, project_path, evidence_path) are already documented with format hints, including the optional pcb_name fallback. The description adds no further parameter meaning, so the baseline 3 applies.

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 pair: 核对 (verify) schematic assembly evidence against the PCB, and names the underlying check_pcb_sync routine. It is clear what the tool does, but it does not explicitly contrast itself with siblings such as pcb_doctor_audit or pcb_doctor_pack_check, leaving the agent to infer the boundary.

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 when-to-use / when-not-to-use guidance and no named alternative. The phrase '核对原理图装配证据与 PCB' implies a verification scenario, but nothing tells the agent whether to reach for this rather than audit, diff, or pack_check.

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