Skip to main content
Glama
adamanz

Apollo.io MCP Server

by adamanz

people_search

Find professionals by organization domains, job titles, and seniority levels to identify potential contacts for business development, recruitment, or networking purposes.

Instructions

Use the People Search endpoint to find people

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
q_organization_domains_listNoList of organization domains to search within
person_titlesNoList of job titles to search for
person_senioritiesNoList of seniority levels to search for

Implementation Reference

  • Core handler function that executes the people_search tool logic by calling the Apollo.io People Search API endpoint.
    * Use the People Search endpoint to find people. * https://docs.apollo.io/reference/people-search */ async peopleSearch(query: PeopleSearchQuery): Promise<any> { try { const url = `${this.baseUrl}/mixed_people/search`; const response = await this.axiosInstance.post(url, 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 parameters for the peopleSearch query.
    export interface PeopleSearchQuery { q_organization_domains_list?: string[]; person_titles?: string[]; person_seniorities?: string[]; [key: string]: any; }
  • src/index.ts:129-152 (registration)
    MCP tool registration defining the 'people_search' tool name, description, and input schema.
    { name: 'people_search', description: 'Use the People Search endpoint to find people', inputSchema: { type: 'object', properties: { q_organization_domains_list: { type: 'array', items: { type: 'string' }, description: 'List of organization domains to search within' }, person_titles: { type: 'array', items: { type: 'string' }, description: 'List of job titles to search for' }, person_seniorities: { type: 'array', items: { type: 'string' }, description: 'List of seniority levels to search for' } } } },
  • MCP server request handler that dispatches to the ApolloClient peopleSearch method and returns formatted response.
    case 'people_search': { const result = await this.apollo.peopleSearch(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