给 AI 助手装上记忆大脑!完全基于 Cloudflare 免费服务构建的生产级 AI Agent 记忆框架
Memory-buddy defines 5 tools with clear verb-noun naming (recall_, search_, store_, forget_, list_). All tools have descriptions (avg 120 chars) and input schemas with types. However, output schemas are undocumented, LLMs cannot predict what recall_memory or search_memory return. Parameter descriptions are present but sparse (avg 45 chars). The forget_memory tool lacks a dry-run/confirmation pattern despite being destructive. No tool annotations (readOnlyHint, destructiveHint) are present in the MCP registration. Error handling is minimal, no recovery guidance or actionable error messages visible in the tool definitions.
Permanently delete all memory for a user/agent. Cannot be undone.
List all user/agent IDs that have stored memories.
Retrieve all stored long-term memory for a user/agent. Call this at the start of a conversation to load context. Returns facts and summaries.
Semantic search across stored memories. Returns most relevant memories ranked by similarity.
Store a fact into long-term memory. Remembered across sessions and shared with other agents. Use when user shares preferences, decisions, or important context.
Output schemas undocumented. recall_memory, search_memory, and list_memory_users return unspecified structures. LLMs cannot plan downstream operations or extract required fields without knowing response shape.
forget_memory lacks confirmation or dry-run pattern. A destructive operation that permanently deletes all user memory should require explicit confirmation or offer a preview before execution.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) in MCP registration. The server marks tools as READ_ONLY or DESTRUCTIVE in comments but does not expose these hints via the MCP protocol, limiting agent safety reasoning.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 61 | 2026-07-28+ | v2 |
Parameter descriptions are minimal. 'Natural language query to search' and 'User/agent ID' lack actionable guidance on format, length, or constraints. Descriptions should be 50 - 200 chars and include examples or constraints.
No error handling guidance in tool definitions. If a search returns no results, or a store fails due to quota, the LLM has no recovery path. Error responses should guide the agent on retry, user input, or fallback actions.