Skip to main content
Glama

create_account

Create a new Apollo.io account by providing name, domain, phone number, and address details. The tool automatically parses domain and address information to enrich account data for sales and marketing workflows.

Instructions

Create a new account in Apollo.io.

This tool creates a new account with the provided information. The domain and address will be intelligently parsed for additional data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainNo
nameYes
phone_numberNo
raw_addressNo

Implementation Reference

  • Implements the create_account MCP tool by making a POST request to Apollo.io /v1/accounts endpoint with the provided account details. Uses type annotations for input schema. Handles errors gracefully.
    @mcp.tool() async def create_account( name: str, domain: Optional[str] = None, phone_number: Optional[str] = None, raw_address: Optional[str] = None ) -> Dict[str, Any]: """ Create a new account in Apollo.io. This tool creates a new account with the provided information. The domain and address will be intelligently parsed for additional data. """ endpoint = "/v1/accounts" data = {"name": name} if domain: data["domain"] = domain if phone_number: data["phone_number"] = phone_number if raw_address: data["raw_address"] = raw_address 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