util_anomalies
Time-series anomaly + level-shift detector — Find spikes, dips and level shifts in a series of numbers offline. data= comma-separated numbers in time order (5-2000). Optional: threshold= robust z cut-off (default 3.5), window= rolling baseline size (>=5; default global), direction=both|up|down, shift_t= t-stat needed for a change point (default 5), labels= comma list naming each point (dates, ids). Uses median/MAD robust z-scores plus binary-segmentation change points on spike-clipped data. Returns verdict NORMAL/ANOMALIES_FOUND/LEVEL_SHIFT/ANOMALIES_AND_LEVEL_SHIFT, each anomaly with expected value and score, change points with before/after means, and whether the latest point is anomalous. Price: $0.003 USDC (Base, via x402).
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": {
"data": "<data>"
},
"name": "util_anomalies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | 10,11,10,12,11,48,11,10,12,11,10,11,20,21,19,20,22,21,20,19 |