Skip to main content
Glama

health_check

Verify the Apollo.io API connection status and authentication validity to ensure the sales and marketing data service is accessible and operational.

Instructions

Check the health and authentication status of the Apollo.io API connection.

This tool verifies that the API key is valid and the service is accessible.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'health_check' MCP tool. It performs a GET request to the Apollo.io /v1/auth/health endpoint to verify API connectivity and authentication status, returning the result or an error message.
    @mcp.tool() async def health_check() -> Dict[str, Any]: """ Check the health and authentication status of the Apollo.io API connection. This tool verifies that the API key is valid and the service is accessible. """ endpoint = "/v1/auth/health" try: result = await apollo_client.make_request("GET", endpoint) return result except httpx.HTTPStatusError as e: return {"error": f"API request failed: {e.response.status_code} {e.response.text}"} except Exception as e: return {"error": f"Request failed: {str(e)}"}

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/FromSmall2Big/Apollo-MCP'

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