Skip to main content
Glama

memory_list

Retrieve all memory schemas from a specified studio to manage AI agent knowledge structures, with options to paginate results.

Instructions

List all memory schemas defined in the studio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
studioNoStudio name to use. Available: STAGING, MAIN, DEV, PRODUCTION. Default: PRODUCTION
skipNoNumber of memories to skip. Default: 0
takeNoNumber of memories to return. Default: 10

Implementation Reference

  • The execution handler for the 'memory_list' tool. It constructs a GET request to the Pickaxe API endpoint `/studio/memory/list` with optional pagination parameters (skip and take) and returns the JSON response.
    case "memory_list": { const skip = args.skip ?? 0; const take = args.take ?? 10; const result = await pickaxeRequest(`/studio/memory/list?skip=${skip}&take=${take}`, "GET", undefined, studio); return JSON.stringify(result, null, 2); }
  • src/index.ts:411-428 (registration)
    Registration of the 'memory_list' tool in the tools array. Defines the tool name, description, and input schema (including optional studio, skip, and take parameters). The schema references the shared studioParam helper.
    { name: "memory_list", description: "List all memory schemas defined in the studio.", inputSchema: { type: "object", properties: { studio: studioParam, skip: { type: "number", description: "Number of memories to skip. Default: 0", }, take: { type: "number", description: "Number of memories to return. Default: 10", }, }, }, },
  • Input schema definition for the 'memory_list' tool, specifying the expected parameters and their types/descriptions.
    inputSchema: { type: "object", properties: { studio: studioParam, skip: { type: "number", description: "Number of memories to skip. Default: 0", }, take: { type: "number", description: "Number of memories to return. Default: 10", }, }, },
  • Shared helper schema for the 'studio' parameter, used across all tools including memory_list for selecting the Pickaxe studio.
    const studioParam = { type: "string", description: `Studio name to use. Available: ${configuredStudios.join(", ")}. Default: ${DEFAULT_STUDIO || configuredStudios[0]}`, };

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