monitor_server_health
Run real-time health checks on an MCP server or web service using OpenTelemetry metrics, configurable timeouts, and expected status codes to analyze availability and response health.
Instructions
Perform real-time health check on an MCP server or web service.
This tool uses OpenTelemetry for metrics collection and provides comprehensive health monitoring with detailed response analysis.
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": {
"service_url": "<service_url>"
},
"name": "monitor_server_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_url | Yes | URL of the service to check (http:// or https://) | |
| timeout_seconds | No | Timeout for the health check request (1-30 seconds) | |
| expected_status_codes | No | List of acceptable HTTP status codes (default: [200]) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||