Skip to main content
Glama

health_check

Verify the Apollo.io API connection status and authentication validity to ensure reliable access for sales and marketing operations.

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 health_check tool handler function, decorated with @mcp.tool() which registers it in the FastMCP server. It performs a health check by making a GET request to Apollo.io's /v1/auth/health endpoint and returns 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