Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MEM0_API_KEYYesMem0 platform API key (required)
MEM0_DEFAULT_USER_IDNoDefault user_id injected into filters and write requestsmem0-mcp
MEM0_MCP_AGENT_MODELNoDefault LLM for the bundled agent exampleopenai:gpt-4o-mini

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
add_memoryB

Store a new preference, fact, or conversation snippet. Requires at least one: user_id, agent_id, or run_id.

search_memoriesA

Run a semantic search over existing memories.

    Use filters to narrow results. Common filter patterns:
    - Single user: {"AND": [{"user_id": "john"}]}
    - Agent memories: {"AND": [{"agent_id": "agent_name"}]}
    - Recent memories: {"AND": [{"user_id": "john"}, {"created_at": {"gte": "2024-01-01"}}]}
    - Multiple users: {"AND": [{"user_id": {"in": ["john", "jane"]}}]}
    - Cross-entity: {"OR": [{"user_id": "john"}, {"agent_id": "agent_name"}]}

    user_id is automatically added to filters if not provided.
    
get_memoriesA

Page through memories using filters instead of search.

    Use filters to list specific memories. Common filter patterns:
    - Single user: {"AND": [{"user_id": "john"}]}
    - Agent memories: {"AND": [{"agent_id": "agent_name"}]}
    - Recent memories: {"AND": [{"user_id": "john"}, {"created_at": {"gte": "2024-01-01"}}]}
    - Multiple users: {"AND": [{"user_id": {"in": ["john", "jane"]}}]}

    Pagination: Use page (1-indexed) and page_size for browsing results.
    user_id is automatically added to filters if not provided.
    
delete_all_memoriesC

Delete every memory in the given user/agent/app/run but keep the entity.

list_entitiesB

List which users/agents/apps/runs currently hold memories.

get_memoryB

Fetch a single memory once you know its memory_id.

update_memoryB

Overwrite an existing memory’s text.

delete_memoryB

Delete one memory after the user confirms its memory_id.

delete_entitiesA

Remove a user/agent/app/run record entirely (and cascade-delete its memories).

Prompts

Interactive templates invoked by user choice

NameDescription
memory_assistantGet help with memory operations and best practices.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 9 tools

Disambiguation4/5

Most tools have distinct purposes, but there is some potential confusion between get_memories (filtered listing) and search_memories (semantic search), as both involve retrieving memories with filters. The descriptions clarify the difference, but an agent might initially struggle to choose between them. Other tools like add_memory, delete_memory, and update_memory are clearly differentiated.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case, such as add_memory, delete_memory, and get_memories. This predictability makes it easy for agents to understand and use the tools without confusion about naming conventions.

Tool Count5/5

With 9 tools, this server is well-scoped for memory management, covering core operations like adding, retrieving, updating, deleting, and searching memories, as well as entity management. Each tool serves a clear purpose without redundancy, making the count appropriate for the domain.

Completeness5/5

The tool set provides comprehensive coverage for memory management, including CRUD operations (add, get, update, delete), bulk and entity-level deletions, listing entities, and both filtered and semantic search capabilities. There are no obvious gaps, allowing agents to handle full memory lifecycles effectively.