get_anomalies
Anomaly detection across revenue, conversion rate, and refund rate for each of your stores (works for a single store too). Compares the most recent 7-day window against the prior 4 weeks and flags moves outside +/- 1.5 standard deviations or 25% — whichever is stricter. Returns ranked anomalies with store, metric, current vs baseline, severity, and a one-line explanation. High-severity anomalies carry EITHER drivers+driverSummary (the tag/source/country slice that drove the move) OR driversNote (attribution ran, the move is broad-based — sitewide cause, not one channel), plus an investigate block: the exact next tool call WITH the anomaly's own window. USE investigate VERBATIM — the target tool's default 30-day window will NOT show a one-week move. Use as a session opener: 'anything weird happening?'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _offset | No | Pagination offset. If a response includes _pagination.hasMore=true, use _offset to fetch the next page. | |
| lookbackWeeks | No | How many prior weeks to use as baseline (default 4). |