Skip to main content
Glama

pcb_doctor_plan

Generates a repair plan from PCB assembly evidence without writing to disk, so you can preview corrective actions before modifying project files.

Instructions

从装配证据生成修复计划 pcb-doctor/repair-plan/v1。只生成计划,不写盘。

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>"
    },
    "name": "pcb_doctor_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
groundNo地网络名称。GND
connectorNoUSB-C 受电接口位号。省略时按符号自动识别。
evidence_pathYespcb-doctor/easyeda-assembly/v1 证据 JSON 路径。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load; it usefully states the operation is non-destructive ('does not write to disk') and names the output contract version. It omits whether the evidence file must be valid/existing, whether failures are surfaced, and what the plan contains.

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 with zero filler: the action and output version come first, the non-destructive constraint second. Nothing repeats the title or schema.

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 3-parameter read-only-style tool with full schema coverage, the core is covered, and naming the output schema version partly compensates for the missing output schema. However, the absence of any workflow guidance (plan vs. fix_preview vs. audit) leaves an agent unable to sequence calls confidently.

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 ground, connector, and evidence_path are already documented in the schema, including the auto-detect fallback for connector. The description adds nothing beyond that, which is the expected baseline.

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 names a specific verb and artifact: generate a repair plan (pcb-doctor/repair-plan/v1) from assembly evidence. That is clearly distinct from audit/diff/pack tools, though it does not explicitly contrast itself with pcb_doctor_fix_preview, which sounds adjacent.

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 explicit when-to-use or when-not-to-use guidance, and no prerequisites (e.g., that an easyeda-assembly evidence file must already exist). The clause 'only generates a plan, does not write to disk' hints that a separate apply/fix step exists, but the agent must infer which sibling to use next.

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