get_health
Retrieve server health status, circuit breaker states, cache health, and metrics summary to monitor availability and diagnose system degradation.
Instructions
Get MCP server health status including circuit breaker state.
Story 2.3: Advanced Error Handling & Retry Logic Exposes circuit breaker state and system health for monitoring.
Returns: dict[str, Any]: Dictionary containing health status with keys: - status: Overall health status ("healthy", "degraded", "unhealthy") - timestamp: Current timestamp - circuit_breakers: Dictionary of circuit breaker states - cache_health: Cache system health information - metrics_summary: Performance metrics summary
Example:
json { "status": "healthy", "timestamp": "2025-11-01T10:00:00", "circuit_breakers": { "canary-api": { "state": "closed", "failure_count": 0, "state_changes": 2 } }, "cache_health": { "operational": true, "entry_count": 42, "hit_rate_percent": 75.5 } }
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||