ml_detect_anomalies
Detect anomalies in ServiceNow operational metrics like alert volume and incident trends by analyzing numeric fields with configurable thresholds.
Instructions
Run anomaly detection on operational metrics (alert volume, incident trends, etc.)
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": {
"table": "<table>",
"field": "<field>"
},
"name": "ml_detect_anomalies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back period in days (default 30) | |
| field | Yes | Numeric field to analyse (e.g. priority, reassignment_count) | |
| table | Yes | Table to analyze (e.g. incident, sn_agent_alert) | |
| threshold | No | Standard deviations for anomaly threshold (default 2) |