Skip to main content
Glama
gigapi

GigAPI MCP Server

by gigapi

ping

Check connectivity to the GigAPI server by sending a ping request. This tool verifies server responsiveness for managing timeseries data integration with Claude Desktop.

Instructions

Ping the GigAPI server to check connectivity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_Yes

Implementation Reference

  • The ping tool handler method in GigAPITools class, which calls the client's ping() and returns formatted response with success status.
    def ping(self) -> Dict[str, Any]: """Ping GigAPI server. Returns: Ping response """ try: response = self.client.ping() return { "response": response, "success": True, "status": "connected" } except GigAPIClientError as e: logger.error(f"Ping failed: {e}") return { "error": str(e), "success": False, "status": "disconnected" }
  • Registration of the 'ping' tool as a FastMCP Tool instance using Tool.from_function, wrapping the ping handler.
    Tool.from_function( lambda _: tools_instance.ping(), name="ping", description="Ping the GigAPI server to check connectivity.", ),
  • Server-side registration where all tools, including 'ping', are added to the FastMCP server instance.
    tools = create_tools(client) for tool in tools: mcp.add_tool(tool)
  • Helper method in GigAPIClient that performs the actual HTTP ping request to the GigAPI server.
    def ping(self) -> str: """Ping GigAPI server. Returns: Pong response """ response = self._make_request("GET", "/ping") return response.text

Other Tools

Related Tools

  • @gigapi/gigapi-mcp
  • @jamubc/gemini-mcp-tool
  • @orzcls/gemini-mcp-tool-windows-fixed
  • @azumausu/shogi-mcp
  • @livehybrid/splunk-mcp
  • @bobtista/luma-ai-mcp-server

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