Skip to main content
Glama

get_memories

Retrieve stored memories by applying filters for user, agent, or run scopes instead of using search queries.

Instructions

Page through memories using filters instead of search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idNoUser scope. Defaults to MEM0_USER_ID.
agent_idNoAgent scope.
run_idNoRun scope.
limitNoMaximum number of memories to return.

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/elvismdev/mem0-mcp-selfhosted'

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