Skip to main content
Glama

cookunity_order_history

Retrieve detailed past order invoices with meal information, pricing, and billing breakdown for specific date ranges to review delivery history.

Instructions

Get past order invoices with full meal details, prices, reviews, and billing breakdown for a date range. This is the only way to see what meals were in past deliveries.

IMPORTANT: Always call this tool FRESH when the user asks about past orders or meals. NEVER rely on cached or previously returned data.

Args:

  • from (string, required): Start date YYYY-MM-DD (inclusive)

  • to (string, required): End date YYYY-MM-DD (inclusive)

  • limit (number): Invoices per page, default 10 (max 50)

  • offset (number): Pagination offset

  • response_format ('markdown'|'json')

Returns (JSON): { total, invoices[{ id, date, total, subtotal, taxes, deliveryFee, tip, discount, orders[{ delivery_date, items[{ name, chef, price, calories, rating, review }] }] }] }

Examples:

  • Last month: { from: "2026-01-01", to: "2026-01-31" }

  • Specific week: { from: "2026-02-03", to: "2026-02-09" }

  • All of 2025: { from: "2025-01-01", to: "2025-12-31", limit: 50 }

Error Handling:

  • Auth errors suggest checking credentials

  • Empty results if no invoices in date range

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesStart date (inclusive) for invoice range, e.g. '2025-01-01'
toYesEnd date (inclusive) for invoice range, e.g. '2025-12-31'
limitNoNumber of invoices to return (max 50)
offsetNoPagination offset
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