Skip to main content
Glama

cookunity_add_to_cart

Add meals to your CookUnity cart for specific delivery dates by providing inventory IDs and optional quantities.

Instructions

Add a meal to the cart for a specific delivery date.

Args:

  • date (string, required): YYYY-MM-DD delivery date

  • inventory_id (string, required): Inventory ID from menu/search results

  • quantity (number): Portions to add, default 1 (max 10)

  • batch_id (number, optional): Batch ID from menu results

Returns: Confirmation with updated quantity

Examples:

  • Add one meal: { date: "2025-02-24", inventory_id: "ABC123" }

  • Add 2 portions: { date: "2025-02-24", inventory_id: "ABC123", quantity: 2 }

Error Handling:

  • Invalid inventory_id: API returns error

  • Past cutoff: API returns error — check cutoff with cookunity_list_deliveries first

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesDelivery date in YYYY-MM-DD format (must be a Monday). Defaults to next Monday if omitted.
inventory_idYesInventory ID of the meal (from menu/search results)
quantityNoNumber of portions to add
batch_idNoBatch ID of the meal (optional, from menu results)

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/ggonzalezaleman/cook-unity-mcp'

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