Skip to main content
Glama
adamanz

Apollo.io MCP Server

by adamanz

organization_enrichment

Enrich company data by providing domain or name to retrieve comprehensive organizational information from Apollo.io.

Instructions

Use the Organization Enrichment endpoint to enrich data for 1 company

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainNoCompany domain
nameNoCompany name

Implementation Reference

  • Core handler function that executes the organization enrichment by calling Apollo.io API /organizations/enrich endpoint with query params.
    async organizationEnrichment(query: OrganizationEnrichmentQuery): Promise<any> {
      try {
        const url = `${this.baseUrl}/organizations/enrich`;
        const response = await this.axiosInstance.get(url, { params: query });
        
        if (response.status === 200) {
          return response.data;
        } else {
          console.error(`Error: ${response.status} - ${response.statusText}`);
          return null;
        }
      } catch (error: any) {
        console.error(`Error: ${error.response?.status} - ${error.response?.statusText || error.message}`);
        return null;
      }
    }
  • TypeScript interface defining the input query for organization enrichment.
    export interface OrganizationEnrichmentQuery {
      domain?: string;
      name?: string;
      [key: string]: any;
    }
  • src/index.ts:112-128 (registration)
    Tool registration in MCP server, defining name, description, and input schema for listTools.
    {
      name: 'organization_enrichment',
      description: 'Use the Organization Enrichment endpoint to enrich data for 1 company',
      inputSchema: {
        type: 'object',
        properties: {
          domain: { 
            type: 'string', 
            description: 'Company domain' 
          },
          name: { 
            type: 'string', 
            description: 'Company name' 
          }
        }
      }
    },
  • MCP CallToolRequest handler case that invokes the ApolloClient organizationEnrichment method and formats response.
    case 'organization_enrichment': {
      const result = await this.apollo.organizationEnrichment(args);
      return {
        content: [{
          type: 'text',
          text: JSON.stringify(result, null, 2)
        }]
      };

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/adamanz/apollo-io-mcp-server'

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