get_service_health
Check service health by retrieving metrics for latency, error rate, and throughput to detect performance issues.
Instructions
Get health metrics for a service including latency, error rate, and throughput. Useful for monitoring service performance and health status.
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": {
"serviceName": "<serviceName>",
"from": "<from>",
"to": "<to>"
},
"name": "get_service_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End time as Unix timestamp (seconds/ms) or ISO 8601 string | |
| env | No | Optional environment to scope metrics (e.g. production, staging) | |
| from | Yes | Start time as Unix timestamp (seconds/ms) or ISO 8601 string | |
| serviceName | Yes | Name of the service to get health metrics for |