check_system_status
Monitor the health and configuration status of the thinking augmentation system to verify API availability and operational readiness.
Instructions
Check the status of the thinking augmentation system.
Returns: Dictionary containing system status information including API key availability, model configurations, and health status
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": "check_system_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- elrond_mcp/server.py:67-116 (handler)The main handler function for the 'check_system_status' tool. It is decorated with @app.tool() for registration and implements the logic to check API key status, system health, and return configuration details.
@app.tool() async def check_system_status() -> dict: """ Check the status of the thinking augmentation system. Returns: Dictionary containing system status information including API key availability, model configurations, and health status """ try: # Check API key from environment import os api_key = os.getenv("GEMINI_API_KEY") or os.getenv("GOOGLE_API_KEY") if api_key: api_key_status = "configured" api_key_masked = ( f"{api_key[:8]}...{api_key[-4:]}" if len(api_key) > 12 else "***" ) else: api_key_status = "missing" api_key_masked = "not_configured" # System is functional (no global state) system_initialized = True status = { "system_status": "healthy" if api_key_status == "configured" else "unhealthy", "api_key_status": api_key_status, "api_key_masked": api_key_masked, "system_initialized": system_initialized, "models": { "critique_model": "gemini-2.5-flash", "synthesis_model": "gemini-2.5-pro", }, "capabilities": [ "parallel_critique_analysis", "structured_synthesis", "markdown_proposal_processing", ], } logger.info("System status check completed") return status except Exception as e: logger.error(f"Error checking system status: {e}") return {"system_status": "error", "error": str(e), "system_initialized": False}