get_app_anomaly_events
Retrieve anomaly events for a Scout APM application over a specified timeframe to identify statistically significant metric deviations, with filters for state, metric, and endpoint.
Instructions
List anomaly events for a Scout APM application within a timeframe.
Anomaly events flag statistically significant deviations in a metric (e.g. response time spike, throughput drop) detected against a learned baseline.
Args: app_id: The ID of the Scout APM application. from_: Start datetime in ISO 8601 format. to: End datetime in ISO 8601 format. state: Filter by state - "open", "closed", or "all". metric: Filter by metric (e.g. response_time, throughput, error_rate). endpoint: Filter by endpoint (controller path).
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": {
"app_id": "<app_id>",
"from_": "<from_>",
"to": "<to>"
},
"name": "get_app_anomaly_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from_ | Yes | ||
| state | No | ||
| app_id | Yes | ||
| metric | No | ||
| endpoint | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |