Skip to main content
Glama
emasoudy

mem0-custom-mcp

by emasoudy

get_memories

Fetch all memories for a given user ID. This tool retrieves the user's complete memory history from a Mem0 API instance.

Instructions

Retrieve all memories for a user

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results (default: 100)
user_idNoUser ID (defaults to env DEFAULT_USER_ID)
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It only states the action without mentioning pagination, default limits, memory volume, ordering, or response format. For a retrieval tool that may return large datasets, this lack of behavioral context is a significant gap.

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

Conciseness5/5

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

The description is a single concise sentence with clear verb-object structure. Every word earns its place, and the information is front-loaded.

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

Completeness3/5

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

The tool is simple with two optional parameters, but with no annotations and no output schema, the description is relatively thin. It lacks context about return format, behavior with large result sets, or how limit interacts with 'all memories'. Additional behavioral notes would improve completeness.

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?

The input schema already describes both parameters (limit and user_id) with 100% coverage. The description adds no additional parameter semantics, so the baseline score of 3 is appropriate since the schema handles the details.

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

Purpose5/5

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

The description uses a specific verb ('Retrieve') and resource ('all memories for a user'), clearly distinguishing this from sibling tools like search_memories (focused retrieval) and add/delete memory operations. The word 'all' explicitly communicates the bulk scope.

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 phrase 'all memories' implies a bulk retrieval use case, but the description does not explicitly mention when to prefer this over search_memories or other alternatives. No exclusions or prerequisites are stated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/emasoudy/mem0-custom-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server