Skip to main content
Glama

search_memories

Find relevant stored information using semantic search across memory data with natural language queries, supporting user, agent, and run scoping.

Instructions

Semantic search across existing memories.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesNatural language description of what to find.
user_idNoUser scope. Defaults to MEM0_USER_ID.
agent_idNoAgent scope.
run_idNoRun scope.
filtersNoAdditional structured filter clauses.
limitNoMaximum number of results.
thresholdNoMinimum relevance score (0.0-1.0).
rerankNoWhether to apply reranking.
enable_graphNoOverride default graph toggle.

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