Enhanced MCP Memory Server with hierarchical memory management, lifecycle management, deduplication, and analytics capabilities
The server defines 29 tools with generally adequate schemas and descriptions, but exhibits significant quality gaps. Most tool names follow verb_noun convention (e.g., add_document, query_documents, delete_document), which is good. However, there are several critical issues: (1) Many tools have generic, repetitive descriptions that lack specificity about use cases and error recovery. (2) Several tools appear to offer overlapping functionality without clear differentiation (e.g., multiple deduplication tools, multiple analytics tools). (3) Parameter descriptions are often brief and lack constraint documentation. (4) Output schemas are not visible in the provided source, only input schemas are shown, violating the requirement to document return types. (5) The tool set is heavily skewed toward read-only analytics (17 of 29 are READ_ONLY), with the core write operations compressed into a few tools. (6) Error handling guidance is absent from descriptions. (7) Tool names like 'get_system_intelligence' and 'get_optimization_recommendations' are vague, they suggest AI-powered analysis but lack specificity about what 'intelligence' or 'recommendations' means.
Adds a document to the hierarchical memory system with intelligent importance scoring, automatic collection selection, and permanent storage support.
Manually trigger cleanup of expired documents based on TTL. Useful for testing and immediate cleanup.
Manually trigger deduplication process on specified collections to remove duplicate content and optimize storage.
Delete a specific document from the memory system.
Reduce the importance score of a document to encourage its eventual expiration.
Export comprehensive performance data for external analysis and reporting.
Output schemas not documented. Only input schemas are visible in source; return types for 29 tools are completely undocumented. LLMs cannot plan downstream tool calls or extract the right response fields.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 59 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 33 | 2025-06-18+ | v1 |
Get advanced metrics about deduplication including redundancy analysis and compression potential.
Analyze relationships and cross-references between document chunks across collections.
Perform clustering analysis on document content to identify natural groupings and topics.
Get comprehensive analytics about memory usage patterns, content distribution, and system behavior.
Get comprehensive statistics about deduplication effectiveness, storage savings, and system performance.
Analyze content distribution across different domain patterns and provide insights.
Get comprehensive lifecycle management statistics including TTL tiers, aging status, and maintenance health.
Get comprehensive statistics about the memory system, including collection counts and status.
Get actionable recommendations for optimizing memory system configuration and performance.
Get statistics about permanent content in the memory system.
Get predictive insights about future memory needs, performance trends, and maintenance requirements.
Get detailed query performance metrics including latency, hit rates, and optimization suggestions.
Get real-time system metrics including memory usage, active queries, and system health indicators.
Get comprehensive health assessment of the memory system including potential issues and recommendations.
Get AI-powered insights about memory system patterns, bottlenecks, and optimization opportunities.
Dynamically optimize deduplication similarity thresholds based on system performance and content characteristics.
Preview potential duplicate documents without removing them, showing similarity scores and merge candidates.
Queries the hierarchical memory system with intelligent multi-factor scoring across all collections, with optional reranking.
Query only permanent documents that never expire (importance >= 0.95 or explicitly marked permanent).
Run advanced deduplication with configurable strategies including semantic merging and content consolidation.
Start automatic background maintenance processes for TTL cleanup and aging refresh.
Stop automatic background maintenance processes.
Update the content and/or metadata of an existing document.
Vague tool names reduce clarity. 'get_system_intelligence' and 'get_optimization_recommendations' lack actionable specificity, LLMs cannot infer what 'intelligence' or 'recommendations' contain. Does 'system_intelligence' return bottleneck analysis? Performance trends? Both?
Excessive tool duplication and unclear differentiation. Seven distinct analytics/stats tools (get_memory_stats, get_lifecycle_stats, get_permanence_stats, get_deduplication_stats, get_query_performance, get_real_time_metrics, get_comprehensive_analytics) with minimal description explaining when to use each. LLMs will struggle deciding which to call.
Missing error handling guidance. No tool description explains what to do on failure (retry? lookup alternatives? ask user?). E.g., 'delete_document' with no guidance on whether deletion is irreversible or can be undone.
Parameter descriptions lack constraint documentation. 'k' (max results) has min=1, max=20 documented, but most other numeric/string params lack explicit ranges, formats, or pattern constraints in descriptions. E.g., 'reduction_factor' lacks explanation of what 0.0 vs 1.0 mean.
Generic, non-specific descriptions on 17 read-only tools. Descriptions like 'Get statistics about the memory system' (get_memory_stats) or 'Get real-time system metrics' (get_real_time_metrics) fail to distinguish use cases or answer when to call this instead of a similar tool.
No confirmation step for destructive operations. 'delete_document' and 'run_advanced_deduplication' both risk permanent data loss but lack dry_run or confirmation mechanism. (deduplicate_memories has dry_run, but delete_document does not.)
Parameter interdependencies undocumented. Tools like 'run_advanced_deduplication' have strategy, similarity_threshold, and preserve_metadata but descriptions do not explain which combinations are valid or how they interact.