Skip to main content
Glama

search_long_term_memories

Search and activate relevant long-term memories based on current conversation context to provide contextual information and serendipitous recall.

Instructions

Search and activate relevant long-term memories based on current conversation context. Returns activated memories (whose triggers evaluated to true) and random memories for serendipity.

Input Schema

NameRequiredDescriptionDefault
messagesYes
conversation_idYes
participantsNo

Input Schema (JSON Schema)

{ "properties": { "conversation_id": { "_def": { "checks": [], "coerce": false, "description": "Current conversation ID", "typeName": "ZodString" }, "~standard": { "vendor": "zod", "version": 1 } }, "messages": { "_def": { "description": "Recent conversation messages", "exactLength": null, "maxLength": null, "minLength": null, "type": { "_cached": null, "_def": { "catchall": { "_def": { "typeName": "ZodNever" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodObject", "unknownKeys": "strip" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodArray" }, "~standard": { "vendor": "zod", "version": 1 } }, "participants": { "_def": { "description": "Optional participants information", "innerType": { "_cached": null, "_def": { "catchall": { "_def": { "typeName": "ZodNever" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodObject", "unknownKeys": "passthrough" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodOptional" }, "~standard": { "vendor": "zod", "version": 1 } } }, "required": [ "messages", "conversation_id" ], "type": "object" }

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/win10ogod/memory-mcp-server'

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