Skip to main content
Glama

memory_get_user

Retrieve stored memories for a specific user by email address, with options to filter by memory type, skip records, or limit results for efficient data access.

Instructions

Get all collected memories for a specific user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
studioNoStudio name to use. Available: STAGING, MAIN, DEV, PRODUCTION. Default: PRODUCTION
emailYesThe user's email address
memoryIdNoOptional: specific memory schema ID to filter by
skipNoNumber of memories to skip. Default: 0
takeNoNumber of memories to return. Default: 10

Implementation Reference

  • Executes the memory_get_user tool by constructing the appropriate Pickaxe API URL with user email and optional filters, then fetches and returns the JSON response.
    case "memory_get_user": { let url = `/studio/memory/user/${encodeURIComponent(args.email as string)}?`; if (args.memoryId) url += `memoryId=${args.memoryId}&`; url += `skip=${args.skip ?? 0}&take=${args.take ?? 10}`; const result = await pickaxeRequest(url, "GET", undefined, studio); return JSON.stringify(result, null, 2); }
  • Defines the input schema for the memory_get_user tool, including required email and optional studio, memoryId, skip, and take parameters.
    { name: "memory_get_user", description: "Get all collected memories for a specific user.", inputSchema: { type: "object", properties: { studio: studioParam, email: { type: "string", description: "The user's email address", }, memoryId: { type: "string", description: "Optional: specific memory schema ID to filter by", }, skip: { type: "number", description: "Number of memories to skip. Default: 0", }, take: { type: "number", description: "Number of memories to return. Default: 10", }, }, required: ["email"], }, },

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/aplaceforallmystuff/mcp-pickaxe'

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