Skip to main content
Glama

cookunity_get_price_breakdown

Calculate delivery costs including subtotal, taxes, fees, discounts, and total for CookUnity orders. Provides detailed price breakdown for specific meals or current cart contents.

Instructions

Get a full price breakdown for a delivery including subtotal, taxes, delivery fee, discounts, and total.

Args:

  • date (string, optional): YYYY-MM-DD delivery date. Defaults to next Monday.

  • meals (array, optional): Meals to price, each with entityId, quantity, inventoryId. If omitted, prices the current cart contents.

  • response_format ('markdown'|'json'): Output format

Returns (JSON): { date, subtotal, taxes, delivery_fee, express_fee, promo_discount, total, total_after_credits, available_credits, qty_plan_meals, qty_items, total_extra_meals }

Returns (Markdown): Formatted order summary with line items and total.

Examples:

  • Current cart: { date: "2026-02-23" }

  • Specific meals: { date: "2026-02-23", meals: [{ entityId: 12272, quantity: 1, inventoryId: "ii-135055242" }] }

Error Handling:

  • If no meals provided and cart is empty, returns error suggesting to add meals first

  • Invalid meal IDs return API error

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoDelivery date in YYYY-MM-DD format (must be a Monday). Defaults to next Monday if omitted.
mealsNoMeals to price. If omitted, uses current cart contents for the date.
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

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