Skip to main content
Glama
gigapi

GigAPI MCP Server

by gigapi

ping

Check connectivity to the GigAPI Timeseries Lake server to verify network access and server responsiveness for data querying and management.

Instructions

Ping the GigAPI server to check connectivity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_Yes

Implementation Reference

  • The handler function for the 'ping' MCP tool. It calls the underlying client's ping method and returns a dictionary with the response, success status, and connection 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" }
  • The registration of the 'ping' tool using FastMCP's Tool.from_function, binding it to the GigAPITools.ping method with no input parameters.
    Tool.from_function( lambda _: tools_instance.ping(), name="ping", description="Ping the GigAPI server to check connectivity.", ),

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