Persistent memory system for AI agents with MCP server integration, knowledge consolidation, and learning capabilities
The Crab Engram defines 10 tools with explicit schemas and descriptions, but quality is inconsistent. All tools have descriptions (10-100+ chars) and input schemas with typed parameters. However, descriptions are often generic and lack actionable context for LLM selection. Parameter descriptions are minimal (e.g., 'Session ID for proper scoping' for session_id). No output schemas are documented. Error handling guidance is absent. Tool naming follows verb_noun convention (mem_*) but lacks clarity on when to use mem_search vs mem_context vs mem_capsules. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk profiles (WRITE, DESTRUCTIVE, READ_ONLY). Composition is reasonable, tools are single-purpose, but chaining is unclear (e.g., does mem_save return an ID for later mem_delete?).
Get anti-pattern boundaries and constraints
List knowledge capsules (synthesized knowledge by topic)
Run memory consolidation to merge duplicates and mark obsolete entries
Get session context with recent observations
Delete an observation (admin-only tool)
Merge observations from one project into another (admin-only tool)
Store learnings and observations in persistent memory
Find observations and knowledge by semantic search
No output schemas documented. LLMs cannot infer what fields mem_search, mem_context, mem_capsules return, forcing them to guess downstream field names and risk broken tool chains.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite explicit risk labels (WRITE, DESTRUCTIVE, READ_ONLY). LLMs cannot determine which tools are safe to retry or have side effects.
Descriptions lack actionable context. 'Get session context with recent observations' (mem_context) does not explain when to call it vs mem_search. 'Get anti-pattern boundaries and constraints' (mem_boundaries) is vague, what are boundaries? What constraints?
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 42 | <=2025-11-25 | v2 |
Get project statistics (admin-only tool)
Get timeline of observations around a specific observation (admin-only tool)
Parameter descriptions are minimal. 'Session ID for proper scoping' does not explain what a session_id is, how to obtain one, or whether it is required. 'Optional topic key for knowledge capsule organization' lacks format/constraint guidance.
No error handling guidance. If mem_delete fails (e.g., observation not found, permission denied), the LLM has no recovery path. No distinction between retryable and fatal errors.