Get SMS Campaign Stats
get-sms-campaign-statsRetrieve SMS campaign performance metrics—recipients, delivery status counts, clicks, conversions, and attributed revenue—to evaluate delivery outcomes and campaign results.
Instructions
Get how one SMS campaign performed: recipients, a count per delivery status (delivered, undelivered, failed, blocked, rejected, expired, pending), clicks, and the conversions and revenue attributed to it. clicks leaves out link scanners, which are counted in bot_clicks. Rates are fractions from 0 to 1, so 0.25 is 25%, and null while there is nothing to divide by. Totals cover the whole life of the campaign and are recounted periodically (every 15 minutes for email), so a campaign sent minutes ago can still read 0: check again later rather than reporting that nothing was delivered.
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": {
"id": "<id>"
},
"name": "get-sms-campaign-stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The SMS campaign id. |