pcb-doctor
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pcb_doctor_auditB | 对嘉立创 EDA 装配证据做确定性审查,返回 pcb-doctor/report/v2。status 为 fail 或 unknown 表示门禁结论,工具调用本身仍然成功。 |
| pcb_doctor_planB | 从装配证据生成修复计划 pcb-doctor/repair-plan/v1。只生成计划,不写盘。 |
| pcb_doctor_diffB | 比较两份装配证据或审查报告,返回 pcb-doctor/diff/v1。 |
| pcb_doctor_fix_previewA | 以 approve=false 且 verify=false 预览 .evar 装配修复。不修改源工程,也不把补丁写入输出目录。真正写盘只能由人工执行 CLI --approve。 |
| pcb_doctor_reportA | 把 evidence、report/v2 或 fix --verify 产物渲染为离线单页 HTML。会创建 HTML 父目录。拒绝未开启 --verify 的 fix 产物。 |
| pcb_doctor_pcb_syncB | 核对原理图装配证据与 PCB。软调用 pcb_doctor.pcb_sync.check_pcb_sync;模块尚未合入时返回可读错误,合入后自动生效。 |
| pcb_doctor_pack_checkB | 核验 BOM/CPL 生产包。软调用 pcb_doctor.pack_check.check_production_pack。若提供 project_path,则再软调用 pcb_doctor.pcb_sync.inspect_project_pcb 取得 pcb_data。 |
| pcb_doctor_pre_orderB | 一键投板总检:合并原理图/变体多规则审查、可选 .epcb2 同步、可选贴片坐标 CPL 与可选 Gerber ZIP 归档完整度,返回统一 pcb-doctor/report/v2 报告(含 stages 分项)。 |
| pcb_doctor_pack_fix_previewA | 以 approve=false 只读预览贴片坐标 CPL 清洗计划(移除 DNP 泄漏与非 BOM 幽灵位号)。绝不修改源 CPL 或写入磁盘;真正写出清洗后副本须由人工执行 CLI |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Most tools target distinct artifacts (diff, report, pcb_sync, pack_check), but pcb_doctor_audit and pcb_doctor_pre_order overlap heavily since pre_order explicitly merges the multi-rule audit into a broader check. Likewise pcb_doctor_fix_preview (.evar assembly repair) and pcb_doctor_pack_fix_preview (CPL cleaning) share near-identical names and must be read carefully to distinguish.
All nine tools share a uniform pcb_doctor_ snake_case prefix, which is predictable. Minor deviation: some names are bare nouns (plan, diff, report, audit) while others are action phrases (fix_preview, pack_check, pre_order, pcb_sync), so there is no single verb_noun convention.
Nine tools is well within the ideal range and each maps to a distinct stage of the PCB assembly workflow (plan, diff, audit, sync, pack check, previews, report, pre-order). No filler or trivially duplicative tools.
The surface covers the full read-only lifecycle: evidence audit, cross-check against PCB, production pack validation, repair planning, diffing, fix previews, and HTML reporting. Apply/write operations are deliberately delegated to human-run CLI --approve, which is a defensible design choice rather than a true gap, though an agent cannot complete a fix end-to-end.