detect_anomalies
Flag unusual spend, CPA, ROAS, CTR, or CPC changes against a trailing baseline using robust z-scores, returning severe issues first for campaign review.
Instructions
Flag unusual moves in spend/CPA/ROAS/CTR/CPC using robust z-scores (median + MAD) against a trailing baseline. Returns the most severe first.
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": "detect_anomalies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| threshold | No | ||
| onlyHarmful | No |