get_memory_stats
Retrieve memory storage statistics to monitor usage, identify cleanup opportunities, and track growth over time. Optionally filter by user or agent.
Instructions
Get statistics about stored memories.
OPTIONAL: 'user_id' OR 'agent_id' (if neither provided, auto-detects current user)
Returns: Memory counts by metadata type, date ranges, and storage summary.
Use for: Understanding memory usage, identifying cleanup opportunities, monitoring growth.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_memory_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | ||
| verbose | No | ||
| agent_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |