Skip to main content
Glama

Confirm CookUnity Order

cookunity_confirm_order

Submit your CookUnity meal delivery order to lock in cart contents before the cutoff. Provide delivery date, optional instructions, and tip to complete purchase.

Instructions

Confirm/place the order for a delivery date. Takes the current cart contents and submits them as an order.

Prerequisites:

  • Meals must be in the cart (use cookunity_add_to_cart first)

  • Must be before the cutoff (check with cookunity_list_deliveries)

  • Cart should have enough meals to meet the plan minimum (typically 6)

Args:

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

  • comment (string, optional): Delivery instructions

  • tip (number, optional): Tip amount in dollars

Returns: Order confirmation with ID and payment status, or error with out-of-stock meal IDs

Important: Without confirming, cart items are NOT locked in. CookUnity will auto-fill with recommendations at cutoff instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesDelivery date in YYYY-MM-DD format (must be a Monday). Defaults to next Monday if omitted.
commentNoDelivery instructions or comment
tipNoTip amount in dollars
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations indicate this is a non-read-only, non-destructive, non-idempotent operation with open-world data. The description adds valuable behavioral context beyond annotations: it explains that cart items are not locked in without confirmation, CookUnity auto-fills at cutoff, and returns order confirmation with ID/payment status or error with out-of-stock meal IDs. This provides practical implementation details not covered by annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (overview, prerequisites, args, returns, important note). Every sentence adds value: the first states the core purpose, prerequisites list essential conditions, args/returns provide outcome details, and the final note explains critical behavioral consequences. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an order confirmation tool with no output schema, the description provides comprehensive context: it explains prerequisites, parameters, return values (confirmation with ID/payment status or error details), and important behavioral notes (auto-fill at cutoff). This adequately compensates for the lack of structured output documentation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, providing complete parameter documentation. The description adds minimal semantic value beyond the schema: it mentions 'date' must be a delivery date (implied by context) and restates parameter purposes briefly. Since the schema already fully describes parameters, the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('confirm/place the order') and resource ('current cart contents'), distinguishing it from siblings like cookunity_add_to_cart (adds items) or cookunity_list_orders (lists existing orders). It explicitly mentions submitting cart contents as an order, which is distinct from cart management tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit prerequisites (meals in cart, before cutoff, meeting plan minimum) and references alternative tools (cookunity_add_to_cart, cookunity_list_deliveries). It also states when NOT to use it ('Without confirming, cart items are NOT locked in'), offering clear guidance on usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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