ROAS and break-even ROAS
roas_checkCalculates ROAS from ad revenue and ad spend, derives break-even ROAS from gross margin, and indicates whether the campaign covers its product cost.
Instructions
Calculates return on ad spend from ad revenue and ad spend, and the break-even ROAS implied by gross margin, then says whether the campaign covers its product cost.
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": {
"ad_revenue": "<ad_revenue>",
"ad_spend": "<ad_spend>",
"gross_margin_pct": "<gross_margin_pct>"
},
"name": "roas_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_spend | Yes | Ad spend for the same period, in currency units. | |
| currency | No | ISO currency code for display, for example INR, USD or AED. Defaults to INR. | INR |
| ad_revenue | Yes | Revenue attributed to the ads, in currency units. | |
| gross_margin_pct | Yes | Gross margin as a percentage. |