Enterprise-grade, local-first autonomous background AI daemon and headless mutation plane for Logseq OG. Provides MCP tools for reading, searching, mutating, and refactoring knowledge graphs.
Matryca Plumber has 8 tools with schemas and descriptions present, but significant quality gaps limit production readiness. Tool names lack clear action verbs (read_graph_data, search_graph, mutate_graph are vague). Descriptions are verbose (200-300+ chars) and lack WHEN/WHY guidance. Parameter descriptions exist but are minimal. Critical issue: payload parameters accept arbitrary JSON strings, bypassing schema validation entirely. No output schemas documented. Error handling and recovery guidance absent. Dry-run support on write tools is good, but no confirmation pattern for destructive operations. No tool annotations (readOnlyHint, destructiveHint). Overall pattern adherence ~35%.
Import Tana workspace data into the Logseq knowledge graph with structural mapping and entity resolution.
Ingest external documents into the knowledge graph with optional semantic processing and entity linking.
Write plane for graph mutations: write outlines, edit properties, append journal entries, inject queries, and generate maps of content. Routes by action discriminator to existing graph helpers.
Unified read plane: pages, dated journals, L1 memory, block excerpts, hops, dashboards. Pick target_type first, then set query exactly as specified. Supports page, journal_day, memory, block_ast, subtree, structural_hops, bootstrap_status, shadow_status, dashboard, and xray_page target types.
Block-level refactoring operations: split large blocks, reparent blocks, and generate flashcards from content.
Graph linting operations: unify tags, validate block references, and perform full wiki scans for consistency and health.
Payload parameters bypass schema validation. mutate_graph, refactor_blocks, run_linter, and ingest_document all accept 'payload' as free-form JSON strings. LLMs cannot validate structure, leading to silent failures or malformed mutations.
Tool names lack action verbs. 'mutate_graph' is vague (does it create, update, delete?). 'read_graph_data' and 'search_graph' are generic. Rename to: write_outline, edit_block_property, append_journal_entry, split_block, reparent_block, generate_flashcards, validate_block_refs, unify_tags, scan_wiki_health.
No output schemas documented. LLMs cannot plan downstream tool calls or extract required fields (e.g., does read_graph_data return page_id, block_id, links?). Agents must guess structure.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 51 | 2026-07-28+ | v2 |
Lexical and structural discovery on the on-disk graph (no vector DB). Supports BM25 keyword search, semantic search, regex pattern matching, unlinked mentions discovery, journal task scanning, entity resolution, and recall-gated block-reference envelope.
Persist user facts into the in-graph identity config page (pages/matryca-config.md) under the AI Constraints heading.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). Agents cannot distinguish safe reads from destructive writes without parsing descriptions. store_fact, mutate_graph, refactor_blocks, run_linter, ingest_document, import_tana should be marked destructiveHint=true.
No error recovery guidance. Descriptions lack 'If X fails, try Y' hints. No categorization of errors as retryable vs user-fixable. Agents cannot self-correct on failures.