Skip to main content
Glama
gigapi

GigAPI MCP Server

by gigapi

health_check

Monitor the health status of the GigAPI MCP Server to ensure optimal performance and reliability for managing timeseries data integration with Claude Desktop.

Instructions

Check the health status of the GigAPI server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_Yes

Implementation Reference

  • The main MCP tool handler for health_check, which delegates to the client's health_check method and formats the response.
    def health_check(self) -> Dict[str, Any]: """Check GigAPI server health. Returns: Health status """ try: health = self.client.health_check() return { "health": health, "success": True, "status": "healthy" } except GigAPIClientError as e: logger.error(f"Health check failed: {e}") return { "error": str(e), "success": False, "status": "unhealthy" }
  • Registration of the 'health_check' tool using FastMCP's Tool.from_function, binding to the GigAPITools.health_check method.
    Tool.from_function( lambda _: tools_instance.health_check(), name="health_check", description="Check the health status of the GigAPI server.", ),
  • Low-level HTTP client method that performs the actual GET request to the GigAPI /health endpoint.
    def health_check(self) -> Dict[str, Any]: """Check GigAPI server health. Returns: Health status response """ response = self._make_request("GET", "/health") return response.json()

Other Tools

Related 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/gigapi/gigapi-mcp'

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