Skip to main content
Glama

memory_get_user

Retrieve user memories from the Pickaxe platform by email, with options to filter by memory type, skip records, and 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

  • Switch case that handles execution of the 'memory_get_user' tool by building a query URL with email, optional memoryId, skip, and take parameters, then performing a GET request via pickaxeRequest and returning the JSON-stringified result.
    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); }
  • The input schema definition for the 'memory_get_user' tool within the tools array, specifying properties for studio, email (required), memoryId, skip, and take.
    { 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"], }, },
  • src/index.ts:616-618 (registration)
    Registration of the tool list handler that returns the 'tools' array containing the 'memory_get_user' schema.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });

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