MCP server for Engramia execution memory and evaluation infrastructure. Exposes tools for recording agent runs, semantic pattern recall, LLM-based evaluation, and agent prompt optimization.
Engramia MCP server has well-structured tool definitions with complete JSON schemas and reasonable descriptions. All 9 tools have input schemas with typed parameters and descriptions. However, descriptions are often terse (many under 100 chars), parameter descriptions lack actionable constraints, and error handling guidance is absent. No tool annotations (readOnlyHint/destructiveHint) despite clear WRITE vs READ_ONLY semantics. Output schemas are not documented. Tools like engramia_learn and engramia_aging perform state mutations but lack confirmation/dry-run patterns. Parameter naming is generally clear (task, code, eval_score) but some lack format guidance (e.g., 'code' parameter has no hint about language or size limits).
Apply time-based decay to all stored patterns (2%/week) and prune those below the minimum threshold.
Cluster recurring failure feedback into systemic issues with counts and example feedback strings.
[Experimental] Decompose a high-level task into a validated multi-agent pipeline. Each stage is matched against stored patterns.
Run N independent LLM evaluations on an agent run and return median score, variance, and feedback.
Generate an improved system prompt for an agent role by analyzing recurring failure feedback. Does NOT run A/B evaluation — returns a candidate prompt for the caller to validate.
Return top recurring quality issues suitable for injection into agent prompts.
No tool annotations (readOnlyHint/destructiveHint/idempotentHint) despite clear semantic differences. engramia_learn and engramia_aging are WRITE operations; others are READ_ONLY. LLMs cannot infer safety/idempotency without explicit hints.
Output schemas not documented. Tools return results but LLMs cannot plan downstream calls without knowing field names and types. E.g., engramia_recall returns 'patterns' but structure is undocumented.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | 2026-07-28+ | v2 |
Record a successful agent run so Engramia can store it as a reusable pattern. Stores the task, code, and eval score.
Return aggregate Engramia statistics: runs, success rate, pattern count, reuse rate.
Find stored patterns most relevant to a new task using semantic search with optional eval-score weighting and recency bias.
Parameter descriptions lack actionable constraints. 'code' parameter has no guidance on language, size limits, or format. 'task' is described generically without examples of valid task types. Descriptions under 100 chars for most tools.
Destructive operations (engramia_learn, engramia_aging) lack confirmation/dry-run patterns. Agents could accidentally overwrite patterns or prune data without safeguards.
No error handling guidance. Tools do not document what errors are retryable, user-fixable, or fatal. E.g., engramia_recall could fail if embeddings service is down, but no recovery hint is provided.