Skip to main content
Glama

localnest_memory_update

Update stored memory entries and append revisions to maintain accurate local knowledge bases for AI agents.

Instructions

Update a stored memory entry and append a revision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
kindNoknowledge
titleNo
summaryNo
contentNo
statusNoactive
importanceNo
confidenceNo
tagsNo
linksNo
scopeNo
source_typeNo
source_refNo
change_noteNoMemory updated
response_formatNojson

Implementation Reference

  • The handler function for 'localnest_memory_update', which calls memory.updateEntry.
    async ({ id, ...patch }) => {
      const result = await memory.updateEntry(id, patch);
      return normalizeMemoryEntryPayload(result, {
        updated: true
      });
    }
  • The registration block for 'localnest_memory_update' including its input schema and metadata.
    ['localnest_memory_update'],
    {
      title: 'Memory Update',
      description: 'Update a stored memory entry and append a revision.',
      inputSchema: {
        id: z.string().min(1),
        kind: MEMORY_KIND_SCHEMA.optional(),
        title: z.string().min(1).max(400).optional(),
        summary: z.string().max(4000).optional(),
        content: z.string().min(1).max(20000).optional(),
        status: MEMORY_STATUS_SCHEMA.optional(),
        importance: z.number().int().min(0).max(100).optional(),
        confidence: z.number().min(0).max(1).optional(),
        tags: z.array(z.string()).max(50).optional(),
        links: z.array(MEMORY_LINK_SCHEMA).max(50).optional(),
        scope: MEMORY_SCOPE_SCHEMA.optional(),
        source_type: z.string().max(60).optional(),
        source_ref: z.string().max(1000).optional(),
        change_note: z.string().max(400).default('Memory updated')
      },
      annotations: {
        readOnlyHint: false,
        destructiveHint: false,
        idempotentHint: false,
        openWorldHint: false
      }
    },

Latest Blog Posts

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/wmt-mobile/localnest'

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