Get Failure Predictions
metrx_get_failure_predictionsForecast error-rate breaches, latency degradation, cost overruns and traffic anomalies for one agent using its last 7 days of calls against a 30-day baseline, with severity and recommended actions.
Instructions
Predictive failure analysis for ONE agent, computed on request from its last 7 days of calls against a 30-day baseline: error-rate breaches, latency degradation, cost overruns and traffic anomalies, each with severity, confidence, trend and recommended actions. Needs at least 20 calls in the last 7 days — below that it returns no predictions, which means too little data, not a healthy agent. Do NOT use for current/past failures — use get_alerts for active issues. Requires an API key with the 'read' scope.
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": {
"agent_id": "<agent_id>"
},
"name": "metrx_get_failure_predictions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent (UUID) to analyze | |
| severity | No | Only show predictions of this severity |