Skip to main content
Glama

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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}

Tool Description Quality Score

Score is being calculated. Check back soon.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dogonthehorizon/elrond-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server