Skip to main content
Glama

cozi_add_item

Add new items to your Cozi family organizer lists. Specify the list ID and item description to create shopping lists or todo items that sync across family members.

Instructions

Add a new item to a Cozi list. The item will be added to the specified list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
listIdYesThe ID of the list to add the item to
textYesThe text/description of the item

Implementation Reference

  • Handler for the cozi_add_item tool. Calls CoziClient.addItem with list_id and text, returns success message.
    case 'cozi_add_item': { await client.addItem(args.list_id, args.text); return { success: true, message: `Added "${args.text}" to list`, }; }
  • src/tools.ts:41-58 (registration)
    Registers the cozi_add_item tool in the COZI_TOOLS array, including name, description, and input schema.
    { name: 'cozi_add_item', description: 'Add a new item to a Cozi list', inputSchema: { type: 'object', properties: { list_id: { type: 'string', description: 'The ID of the list to add the item to', }, text: { type: 'string', description: 'The text/name of the item to add', }, }, required: ['list_id', 'text'], }, },
  • Defines the input schema for cozi_add_item tool: requires list_id and text strings.
    inputSchema: { type: 'object', properties: { list_id: { type: 'string', description: 'The ID of the list to add the item to', }, text: { type: 'string', description: 'The text/name of the item to add', }, }, required: ['list_id', 'text'], },
  • Core implementation of adding an item via POST request to Cozi API endpoint.
    async addItem(listId: string, text: string): Promise<void> { await this.request(`/${this.accountId}/list/${listId}/item/`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ text }), }); }

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