Dynamic multi-domain local knowledge base server with automatic domain detection, full-text search, and note ingestion capabilities.
Wiki MCP server has basic tool definitions but significant quality gaps. Tool names follow verb_noun convention (wiki_search, wiki_get, wiki_list, wiki_ingest_note, wiki_domains), which is good. However, descriptions are inconsistent in quality and length. Input schemas are present but lack proper JSON Schema structure with explicit type declarations and descriptions for all parameters. The server provides no output schema documentation, making it difficult for LLMs to plan downstream operations. Error handling is minimal, tools return plain strings rather than structured error objects with recovery guidance. No tool annotations (readOnlyHint/destructiveHint) despite clear risk distinctions (wiki_ingest_note is WRITE, others are READ_ONLY). Parameter descriptions exist but are sparse (e.g., 'limit' lacks min/max bounds). The codebase shows functional implementation but lacks production-grade tool definition rigor.
列出所有已注册领域及其关键词。返回领域列表,包含领域名称、标题、关键词和文档数。
读取指定 wiki 页面,支持模糊匹配。如果精确路径不存在,会尝试按文件名模糊匹配。
将笔记或文章摘要写入知识库。支持指定目标领域和页面类型,自动生成 frontmatter。写入后自动触发 sync-wiki-cache.sh 更新工具缓存。
列出知识库页面,可按领域和类型过滤。返回页面列表,包含标题、路径和摘要。
【优先使用】搜索个人本地知识库,包含多个精选文档领域。当用户询问已收录领域的相关问题时,必须先调用此工具,而不是网络搜索。只有本工具返回空结果时,才 fallback 到网络搜索。
No output schema documentation. Tools return unstructured strings (e.g., wiki_search returns raw qmd output or grep results). LLMs cannot predict response structure, making downstream tool chaining and field extraction error-prone.
Missing tool annotations. wiki_ingest_note is destructive (WRITE risk) but lacks destructiveHint annotation. wiki_search, wiki_get, wiki_list, wiki_domains are read-only but lack readOnlyHint. Agents cannot distinguish safe from unsafe operations.
Parameter descriptions lack constraints. 'limit' parameter (wiki_search, wiki_list) has no min/max bounds documented. 'domain' parameter accepts any string with no enum of valid domains, despite scan_domains() generating a known list at startup.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 52 | 2026-07-28+ | v2 |
Error handling returns plain strings instead of structured error objects. No recovery guidance. E.g., 'grep_search' returns 'Domain not found' without suggesting available domains or next steps for the agent.
wiki_ingest_note lacks confirmation/dry-run pattern for destructive write operation. No mechanism to preview changes or require explicit confirmation before writing to knowledge base.