Skip to main content
Glama
better-mem0-mcp

better-mem0-mcp

by n24q02m

memory

Save, search, list, and delete persistent records so AI assistants can retain and retrieve context across sessions.

Instructions

Memory operations: add, search, list, delete.

  • add: Save information (requires content)

  • search: Find memories (requires query)

  • list: Get all memories

  • delete: Remove by ID (requires memory_id) Use help tool for full documentation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
actionYes
contentNo
user_idNo
memory_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It does not say whether memories persist, how `user_id` scopes storage, whether deletion is permanent, how search matches, or what `limit` controls. The action list describes basic intent but leaves important behavioral consequences undisclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded and organized as a compact action list, with no wasted prose. The closing pointer to `help` is brief, though it defers full documentation rather than making the definition self-sufficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This action-dispatch tool has six parameters, no annotations, and an output schema. The description covers the core actions but does not explain two of the six parameters or key behavioral details such as persistence, scoping by `user_id`, or deletion permanence. More is needed for an agent to invoke it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must explain parameter meaning. It usefully maps `content` to add, `query` to search, and `memory_id` to delete, but it omits the purpose of `limit` and `user_id`, and does not formally state the valid `action` values beyond the bullet labels.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (memory) and enumerates four specific operations: add, search, list, and delete. This is clear enough for an agent to understand it is an action-dispatch memory tool, though it does not explicitly say how it differs from the sibling `help` beyond pointing to it for documentation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The per-action bullets imply when each action is appropriate and list the required parameter for three of them. There is no explicit when-not-to-use guidance, no explanation of how actions combine with `user_id` or `limit`, and the only alternative mentioned is `help` for documentation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools