Skip to main content
Glama

cozi_get_lists

Retrieve all shopping and todo lists from Cozi Family Organizer, including item counts and contents for family task management.

Instructions

Get all Cozi lists (shopping and todo lists) with their items. Returns complete list of all lists including item counts and contents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'cozi_get_lists' tool within the executeTool switch statement. It calls client.getLists() and maps the results to include id, title, and item_count for each list.
    case 'cozi_get_lists': { const lists = await client.getLists(); return { lists: lists.map(list => ({ id: list.listId, title: list.title, item_count: list.items.length, })), }; }
  • Input schema definition for the 'cozi_get_lists' tool, specifying no required input parameters as an empty object.
    { name: 'cozi_get_lists', description: 'Get all Cozi lists (shopping, to-do, etc.)', inputSchema: { type: 'object', properties: {}, }, },
  • src/index.ts:159-168 (registration)
    MCP 'tools/list' handler that registers and exposes the COZI_TOOLS array, including the 'cozi_get_lists' tool schema to the MCP client.
    case 'tools/list': { response = { jsonrpc: '2.0', id: mcpRequest.id, result: { tools: COZI_TOOLS, }, }; break; }

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/BrandCast-Signage/cozi-mcp-server'

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