detect_anomalies
Flag unusually large purchases and months where a spending category spiked using robust z-scores. Adjust threshold and minimum amount to identify outliers in imported bank-statement data.
Instructions
Flag unusually large purchases and months where a category spiked.
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 |
|---|---|---|---|
| month | No | Calendar month, YYYY-MM. | |
| currency | No | Reporting currency for converted totals. | UAH |
| threshold | No | Robust z-score cut-off; lower = more. | |
| min_amount | No | Ignore single expenses below this amount. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| notes | Yes | ||
| currency | Yes | ||
| threshold | Yes |