Skip to main content
Glama

server_health_check

Check the health status of the Azure DevOps server and connection to ensure system availability and proper functionality for development workflows.

Instructions

Performs a comprehensive health check of the server and Azure DevOps connection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function that performs the server health check, validating environment, client status, and Azure DevOps connectivity.
    async def _health_check(self) -> Dict[str, Any]: """Perform comprehensive health check.""" health_status = { "server_status": "healthy", "environment_check": self._validate_environment(), "client_initialized": self.client is not None, "tools_registered": self.tools_registered, "total_tools": len(self.tools), "azure_devops_connection": "unknown" } if self.client: try: # Test Azure DevOps connection projects = self.client.get_projects() health_status["azure_devops_connection"] = "connected" health_status["available_projects"] = len(projects) except Exception as e: health_status["azure_devops_connection"] = f"error: {str(e)}" return health_status
  • Defines the tool schema, including name, description, and empty input schema since no parameters are required.
    types.Tool( name="server_health_check", description="Performs a comprehensive health check of the server and Azure DevOps connection.", inputSchema={ "type": "object", "properties": {}, "additionalProperties": False } ),
  • Registers and dispatches the server_health_check tool call to the _health_check handler method.
    if name == "server_health_check": return await self._health_check()

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/xrmghost/mcp-azure-devops'

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