Skip to main content
Glama

update_long_term_memory

Modify existing long-term memories by updating trigger conditions, content, or context to maintain accurate and relevant stored information over time.

Instructions

Update an existing long-term memory. You can update the trigger condition, prompt content, or add update context.

Input Schema

NameRequiredDescriptionDefault
nameYes
triggerNo
promptNo
updatedContextNo
recentMessagesNo

Input Schema (JSON Schema)

{ "properties": { "name": { "_def": { "checks": [], "coerce": false, "description": "Name of the memory to update", "typeName": "ZodString" }, "~standard": { "vendor": "zod", "version": 1 } }, "prompt": { "_def": { "description": "New memory content", "innerType": { "_def": { "checks": [], "coerce": false, "typeName": "ZodString" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodOptional" }, "~standard": { "vendor": "zod", "version": 1 } }, "recentMessages": { "_def": { "description": "Optional recent messages to auto-generate updatedContext", "innerType": { "_def": { "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 } }, "typeName": "ZodOptional" }, "~standard": { "vendor": "zod", "version": 1 } }, "trigger": { "_def": { "description": "New trigger condition (JavaScript code)", "innerType": { "_def": { "checks": [], "coerce": false, "typeName": "ZodString" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodOptional" }, "~standard": { "vendor": "zod", "version": 1 } }, "updatedContext": { "_def": { "description": "Context about this update", "innerType": { "_def": { "checks": [], "coerce": false, "typeName": "ZodString" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodOptional" }, "~standard": { "vendor": "zod", "version": 1 } } }, "required": [ "name" ], "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