Skip to main content
Glama

localnest_memory_store

Store durable local memory entries for AI agents to access knowledge and preferences from your codebase, keeping all data and processing on your local machine.

Instructions

Store a durable local memory entry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoknowledge
titleYes
summaryNo
contentYes
statusNoactive
importanceNo
confidenceNo
tagsNo
linksNo
scopeNo
source_typeNomanual
source_refNo
change_noteNoInitial memory creation
response_formatNojson

Implementation Reference

  • Registration and handler implementation for the 'localnest_memory_store' tool.
    registerJsonTool(
      ['localnest_memory_store'],
      {
        title: 'Memory Store',
        description: 'Store a durable local memory entry.',
        inputSchema: {
          kind: MEMORY_KIND_SCHEMA,
          title: z.string().min(1).max(400),
          summary: z.string().max(4000).default(''),
          content: z.string().min(1).max(20000),
          status: MEMORY_STATUS_SCHEMA,
          importance: z.number().int().min(0).max(100).default(50),
          confidence: z.number().min(0).max(1).default(0.7),
          tags: z.array(z.string()).max(50).default([]),
          links: z.array(MEMORY_LINK_SCHEMA).max(50).default([]),
          scope: MEMORY_SCOPE_SCHEMA,
          source_type: z.string().max(60).default('manual'),
          source_ref: z.string().max(1000).default(''),
          change_note: z.string().max(400).default('Initial memory creation')
        },
        annotations: {
          readOnlyHint: false,
          destructiveHint: false,
          idempotentHint: false,
          openWorldHint: false
        }
      },
      async (args) => {
        const result = await memory.storeEntry(args);
        return normalizeMemoryEntryPayload(result?.memory || null, {
          created: Boolean(result?.created),
          duplicate: Boolean(result?.duplicate)
        });
      }
    );

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