Skip to main content
Glama

create_account

Create new Apollo.io accounts with company details like name, domain, and contact information to establish organizational presence in the B2B sales platform.

Instructions

Create a new account/organization in Apollo with company details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCompany name
domainNoCompany domain
phone_numberNoCompany phone
website_urlNoWebsite URL

Implementation Reference

  • The main handler function that implements the create_account tool logic. It sends a POST request to the Apollo API /accounts endpoint with the provided args, extracts the created account data, and returns a formatted text response with the account ID, name, and domain.
    private async createAccount(args: any) { const response = await this.axiosInstance.post("/accounts", args); const account = response.data.account; return { content: [ { type: "text", text: `Account created successfully!\nID: ${account.id}\nName: ${account.name}\nDomain: ${account.domain || "N/A"}`, }, ], }; }
  • src/index.ts:516-542 (registration)
    The tool registration entry in the getTools() method, including the name, description, and input schema definition for the create_account tool.
    { name: "create_account", description: "Create a new account/organization in Apollo with company details.", inputSchema: { type: "object", properties: { name: { type: "string", description: "Company name", }, domain: { type: "string", description: "Company domain", }, phone_number: { type: "string", description: "Company phone", }, website_url: { type: "string", description: "Website URL", }, }, required: ["name"], }, },
  • The input schema defining the parameters for the create_account tool: requires 'name', optional 'domain', 'phone_number', 'website_url'.
    inputSchema: { type: "object", properties: { name: { type: "string", description: "Company name", }, domain: { type: "string", description: "Company domain", }, phone_number: { type: "string", description: "Company phone", }, website_url: { type: "string", description: "Website URL", }, }, required: ["name"], },
  • The switch case in the tool request handler that dispatches to the createAccount method based on the tool name.
    case "create_account": return await this.createAccount(args);

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/masridigital/apollo.io-mcp'

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