Local-first supply-chain knowledge base and Pi agent package with MCP server for SAP/CRM troubleshooting, vessel tracking, and work handoff management
Server has 6 tools with complete Zod schemas and tool annotations (readOnlyHint, destructiveHint, idempotentHint). Descriptions are present and substantive (avg ~180 chars), exceeding the 10-char minimum. However, several tools lack parameter descriptions in the schema definitions, and output schemas are not formally documented. Error handling is basic (jsonResult/errorResult wrappers) without recovery guidance. Tool naming follows verb_noun convention (kb_search, kb_get, system_troubleshoot, vessel_lookup) but some names are domain-specific and could be clearer for cross-domain agents. No critical security issues detected, all tools are read-only or safe operations.
按 kb_search 返回的 chunkId 读取完整片段、审核状态和真实来源定位。只读。
检索 SOP、SAP/CRM 故障、制度、协议、流程图和业务笔记,返回来源文件、页码/幻灯片/工作表及逐字证据。默认只返回 approved。
检查本地供应链知识库的文档、审核、索引和失败状态。只读。
根据系统、模块、事务码/页面、报错代码、现象和流程阶段,从已审核知识中查找处理路径。客户端只能复述 evidence 并引用其实际文件与定位;insufficient_evidence 时必须拒绝猜测。不会自动操作生产系统。
仅在本地 system_troubleshoot 返回 insufficient_evidence 后,实时检索 SAP Help Portal 或 Microsoft Learn 的公开官方文档候选。厂商资料与企业内部处理路径严格分开,只读且不会操作生产系统。
使用已配置的 AIS 数据源查询船舶当前位置、航行状态、数据新鲜度、目的地及近期到离港事件。结果明确标注缓存、时间和事件来源;inferred=true 表示本地轨迹推断,inferred=false 仅表示供应方直接返回,均不代表港口或船公司确认。
Parameter descriptions missing or incomplete in Zod schemas. kb_search 'topK' and 'includeDrafts', system_troubleshoot 'module'/'transactionOrPage'/'errorCode'/'processStage'/'topK', vendor_support_search 'product'/'version'/'topK' lack .describe() annotations in the schema code.
Output schemas not formally documented. Tools return JSON via jsonResult() wrapper, but the structure of kb.search(), kb.troubleshoot(), kb.searchVendorSupport(), kb.lookupVessel() responses is not visible in the MCP server code. LLMs cannot plan downstream calls without knowing return field names and types.
Error handling lacks recovery guidance. errorResult() returns only the error message with isError=true flag. No categorization (retryable vs user-fixable vs fatal), no suggestions for next steps, no invalid-value echoing for self-correction.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 60 | 2026-07-28+ | v2 |
Tool naming could be more discoverable. 'kb_search', 'kb_status', 'kb_get' use domain-specific prefix 'kb' (knowledge base). In a multi-domain agent context, 'search_knowledge_base' or 'search_supply_chain_docs' would be clearer. 'system_troubleshoot' is vague, does it troubleshoot the MCP server, the supply chain system, or SAP/CRM?
No pagination or result-limiting guidance in descriptions. kb_search and system_troubleshoot accept topK (max 20 and 12 respectively), but descriptions do not state the default or warn about context window impact if topK is omitted.