Find unusual days
find_anomaliesDetect days where clicks or impressions broke sharply from the same weekday in prior weeks, flagging sudden drops, spikes, or tracking gaps for site monitoring.
Instructions
Days where clicks or impressions broke sharply from the same weekday in the previous four weeks: sudden drops, spikes, or tracking gaps. Good for monitoring and 'did anything weird happen?'.
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": "find_anomalies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back to scan | |
| site | No | e.g. "example.com" or any URL on it. Optional if there is one property. | |
| filter | No | e.g. "page contains /blog/; country equals usa". Ops: equals, notEquals, contains, notContains, includingRegex, excludingRegex | |
| metric | No | clicks | |
| threshold | No | How unusual a day must be (z-score) |