analyze_recipe_cost
Cost a plate (mode=recipe), a liquor drink (mode=drink_recipe), or a fountain+spirit drink (mode=fountain_spirit_drink). Drink recipes pull liquor fl oz from THIS unit’s house pour; fountain soda needs BIB mix ratio + cup liquid fill after ice — never assume 1.5 / 1.75 / 2 or 5+1. Also EP unit cost / food COGS / food-cost % when counts and sales share scope. Unverified math; never invents yield or treats an invoice as COGS.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mode": "<mode>"
},
"name": "analyze_recipe_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| bib_cost | No | Invoice/landed $ for THIS BIB. | |
| store_id | No | Required for drink_recipe. Pour standards are per unit. | |
| food_cogs | No | ||
| purchases | No | ||
| syrup_gal | No | BIB syrup gallons (e.g. 5). | |
| food_sales | No | ||
| menu_price | No | ||
| soda_label | No | For fountain_spirit_drink (e.g. Pepsi). | |
| ingredients | No | recipe: [{name?, epQty, epUnitCost}]. drink_recipe: liquor lines use pourCategory + house pour; fixed/recipe_specific need epQty. | |
| location_id | No | ||
| recipe_cost | No | ||
| syrup_parts | No | Declared syrup parts (usually 1). | |
| water_parts | No | Declared water parts (e.g. 5 for 5+1). | |
| ap_unit_cost | No | ||
| spirit_label | No | For fountain_spirit_drink (e.g. Hawkeye vodka). | |
| yield_fraction | No | ||
| cup_marked_fl_oz | No | ||
| ending_inventory | No | ||
| house_pour_lines | No | For drink_recipe: operator-declared pour lines for THIS unit (from declare_pour_standards). Empty → Missing Evidence + ask. | |
| liquid_fill_fl_oz | No | Liquid fl oz after ice + straw — not the cup mark alone. | |
| spirit_pour_fl_oz | No | THIS unit’s mixed-drink liquor pour for the spirit line. | |
| beginning_inventory | No | ||
| spirit_cost_per_fl_oz | No | Spirit cost per fl oz after bottle pack conversion. |