Skip to main content
Glama

search_short_term_memories

Find relevant recent conversation memories by searching against current message context. Retrieve top matches, related items, and random flashbacks from short-term memory storage.

Instructions

Search and retrieve relevant short-term memories based on recent conversation context. Returns top relevant, next relevant, and random flashback memories.

Input Schema

NameRequiredDescriptionDefault
recentMessagesYes
conversation_idYes
roleWeightsNo

Input Schema (JSON Schema)

{ "properties": { "conversation_id": { "_def": { "checks": [], "coerce": false, "description": "Current conversation ID", "typeName": "ZodString" }, "~standard": { "vendor": "zod", "version": 1 } }, "recentMessages": { "_def": { "description": "Recent messages to search against", "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 } }, "roleWeights": { "_def": { "innerType": { "_cached": null, "_def": { "catchall": { "_def": { "typeName": "ZodNever" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodObject", "unknownKeys": "strip" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodOptional" }, "~standard": { "vendor": "zod", "version": 1 } } }, "required": [ "recentMessages", "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