snap_anomaly_check
Detect sharp day-over-day anomalies in Snapchat ad spend, purchases, ROAS, and cost per purchase by comparing the last full day with a baseline to flag possible pixel or store issues.
Instructions
Did something change sharply yesterday? (read-only) Compares the last full local day with the usual day (the average of the days before the last two): spend spike or drop, zero or falling purchases (possible broken pixel or store), ROAS drop, cost-per-purchase spike. Account level. Days follow SNAP_REPORT_UTC_OFFSET; today is left out.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "snap_anomaly_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseline_days | No | ||
| min_daily_spend | No | Below this usual daily spend nothing is judged |