Skip to main content
Glama

bulk_enrich_organizations

Enrich multiple company profiles simultaneously by processing up to 10 domains in one request to gather comprehensive organization data.

Instructions

Bulk enrich multiple organizations at once.

This tool enriches multiple companies simultaneously based on their domains. Up to 10 domains can be processed in a single request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainsYes

Implementation Reference

  • The handler function for the 'bulk_enrich_organizations' MCP tool. It is registered via the @mcp.tool() decorator, validates that no more than 10 domains are provided, and makes a POST request to the Apollo.io bulk enrich endpoint using the shared ApolloAPIClient.
    @mcp.tool() async def bulk_enrich_organizations(domains: List[str]) -> Dict[str, Any]: """ Bulk enrich multiple organizations at once. This tool enriches multiple companies simultaneously based on their domains. Up to 10 domains can be processed in a single request. """ if len(domains) > 10: return {"error": "Maximum 10 domains allowed per bulk enrichment request"} endpoint = "/api/v1/organizations/bulk_enrich" data = {"domains": domains} try: result = await apollo_client.make_request("POST", endpoint, data=data) 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)}"}
  • The @mcp.tool() decorator registers this function as an MCP tool named 'bulk_enrich_organizations' in the FastMCP server.
    @mcp.tool() async def bulk_enrich_organizations(domains: List[str]) -> Dict[str, Any]: """ Bulk enrich multiple organizations at once. This tool enriches multiple companies simultaneously based on their domains. Up to 10 domains can be processed in a single request. """ if len(domains) > 10: return {"error": "Maximum 10 domains allowed per bulk enrichment request"} endpoint = "/api/v1/organizations/bulk_enrich" data = {"domains": domains} try: result = await apollo_client.make_request("POST", endpoint, data=data) 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