Create memories MCP tool
Creates a durable user memory for stable preferences, facts, or long-term context after searching for existing entries; do not store ephemeral task details or PII.
- MCP tool name:
Create_Memories - Data type: Memory data type
- Returns: Memory MCP response
- Annotations: Not read only, not destructive, not idempotent, closed world
- Surfaces: GovTribe AI (when memories are enabled)
Examples
Search first so the agent does not create duplicate durable memories.
Save a stable preference after checking for an existing memory
{
"tool": "Search_Memories",
"arguments": {
"query": "saved search notification preference",
"search_mode": "keyword",
"size": 5
}
}{
"tool": "Create_Memories",
"arguments": {
"memory": "The user prefers weekly saved-search notification examples unless they ask for instant alerts."
}
}Related articles
- Memory MCP response: Review the response shape returned by this tool.
- Memory data type: Understand the shared record fields and relationships used by this tool.
- GovTribe AI: Review the GovTribe AI surface where this tool can be called.