calculate_menu_item_metrics
Calculate a menu item's food cost and contribution margin from selling price, ingredient cost, and units sold to assess profitability.
Instructions
Calculate food cost and contribution margin for one menu item.
Args: selling_price: Realized selling price per unit, excluding tax and tips. ingredient_cost: Direct ingredient cost for one unit. units_sold: Number of units sold in the period being analyzed.
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": {
"selling_price": "<selling_price>",
"ingredient_cost": "<ingredient_cost>"
},
"name": "calculate_menu_item_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units_sold | No | ||
| selling_price | Yes | ||
| ingredient_cost | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||