Marketing campaign ROI
campaign_roiCalculate campaign ROI from cost and attributed revenue, and optionally gross-margin profit ROI, to compare marketing channels and justify spend.
Instructions
Calculates ROI for a marketing campaign or channel (content, email, events, influencer, recruitment marketing) on revenue and on gross profit.
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": {
"cost": "<cost>",
"attributed_revenue": "<attributed_revenue>"
},
"name": "campaign_roi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | Total campaign cost. | |
| currency | No | ISO currency code for display, for example INR, USD or AED. Defaults to INR. | INR |
| campaign_name | No | Optional label. | |
| gross_margin_pct | No | Optional margin for profit-based ROI. | |
| attributed_revenue | Yes |