score_outliers
Identify and flag financial data outliers using Z-score and IQR methods to assess risk per record.
Instructions
Scores each record in a financial dataset for outlier risk using Z-score and IQR methods across specified numeric fields. Returns per-record risk flags and a summary of flagged anomalies.
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": {
"records": "<records>",
"numeric_fields": "<numeric_fields>"
},
"name": "score_outliers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| records | Yes | Array of financial records | |
| z_threshold | No | Z-score threshold above which a value is flagged (default 3.0) | |
| numeric_fields | Yes | Numeric fields to analyze for outliers |