A hierarchical knowledge graph system built over markdown files with MCP server integration for AI agent access to read, write, and query articles.
WikiKnowledge provides 17 tools with complete schemas and descriptions, but quality is uneven. Naming follows verb_noun convention well (get_article, list_articles, save_article, etc.). Descriptions are present but often generic, many lack context on WHEN to use the tool or what distinguishes it from similar tools. Parameters have types and descriptions, but several lack constraints (enums, ranges). Output schemas are not formally documented; responses are free-text strings rather than structured JSON. Error handling is minimal, most tools return error strings without recovery guidance. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels. Composition is reasonable: tools chain well (search → get → update), but some operations could be more atomic (e.g., save_article conflates create and update).
Delete an article and remove it from the index.
Delete a resource and its sidecar metadata file.
Read a full article (metadata + content) by its ID. Returns the article as YAML frontmatter + markdown body.
Get all articles that link to a given article ("What Links Here").
List all category articles.
Get the full knowledge graph structure (nodes and links) for visualization.
Get metadata for a single resource.
Responses are unstructured free-text strings instead of structured JSON objects. LLMs must parse natural language output, wasting tokens and increasing hallucination risk. Example: get_article returns YAML frontmatter as a string; list_articles returns formatted text lines. Structured output (JSON with typed fields) is required for reliable agent composition.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels. delete_article and delete_resource are marked DESTRUCTIVE but lack destructiveHint annotation. save_article conflates create and update (not idempotent). Annotations enable agents to reason about safety and retry logic.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 64 | 2026-07-28+ | v2 |
List all configured knowledge sources (local, Google Drive, etc.).
Get a subgraph centered on a specific article with configurable depth.
List all tags with their usage counts.
List articles, optionally filtered by type ('leaf'/'category'), tag, or category ID. Returns a formatted list of article IDs and titles.
List all media/binary resources with their metadata.
Rescan all configured knowledge sources for new or updated articles.
Create or update an article. Args: article_id: URL-safe unique identifier (slug). title: Human-readable title. article_type: 'leaf' or 'category'. tags: List of freeform tags. categories: List of category article IDs this article belongs to. content: Markdown body content (without frontmatter). Returns confirmation with the saved article ID.
Full-text search across article titles and tags.
Update an existing article using partial metadata, full content replacement, or diff-match-patch patches. Args: article_id: URL-safe unique identifier of existing article. title: Human-readable title (optional). article_type: 'leaf' or 'category' (optional). tags: List of freeform tags (optional). categories: List of category article IDs (optional). content: Entire new Markdown body content (optional). content_patches: Patches in standard diff-match-patch text format (optional). Returns confirmation of the update.
Upload a new resource (media file) with metadata.
Descriptions lack context on WHEN to use each tool and how they differ. Example: get_tags, get_categories, get_graph, get_subgraph all retrieve structural info but descriptions don't explain when to call each. 'List all tags with their usage counts' (get_tags) doesn't explain when this is useful vs search_articles. Descriptions should be 50-200 chars and answer: what, when, why.
Error handling is minimal and non-actionable. Example: get_article returns 'Error: Article not found' with no recovery guidance. Per pattern:recovery-guide, errors should suggest next steps: 'Article not found. Try search_articles() to find similar titles.' delete_article and delete_resource have no confirmation or dry-run option despite being irreversible.
save_article conflates create and update operations. The tool accepts article_id and checks if it exists, then either creates or updates. This is not idempotent, calling twice with the same ID produces different results (first creates, second updates). Per pattern:tool, split into create_article and update_article, or make save_article idempotent by always replacing.