Skip to main content
Glama

list_sequences

Retrieve all automated email campaigns from your Apollo account to manage outreach workflows and track campaign status.

Instructions

List all email sequences in your Apollo account. Sequences are automated email campaigns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number

Implementation Reference

  • The handler function for 'list_sequences' tool. Fetches email sequences (campaigns) from Apollo.io API endpoint '/emailer_campaigns', formats a human-readable list including name, ID, status, number of steps, and creation date, and returns it as MCP text content.
    private async listSequences(args: any) { const response = await this.axiosInstance.get("/emailer_campaigns", { params: args, }); const sequences = response.data.emailer_campaigns || []; let result = `Email Sequences (${sequences.length}):\n\n`; sequences.forEach((seq: any, index: number) => { result += `${index + 1}. ${seq.name}\n`; result += ` ID: ${seq.id}\n`; result += ` Status: ${seq.active ? "Active" : "Inactive"}\n`; result += ` Contacts: ${seq.num_steps || 0} steps\n`; result += ` Created: ${seq.created_at ? new Date(seq.created_at).toLocaleDateString() : "N/A"}\n\n`; }); return { content: [ { type: "text", text: result, }, ], };
  • Input schema definition for the 'list_sequences' tool, allowing optional 'page' parameter for pagination.
    inputSchema: { type: "object", properties: { page: { type: "number", description: "Page number", }, }, },
  • src/index.ts:298-309 (registration)
    Registration of the 'list_sequences' tool in the getTools() method, including name, description, and input schema for the MCP server.
    name: "list_sequences", description: "List all email sequences in your Apollo account. Sequences are automated email campaigns.", inputSchema: { type: "object", properties: { page: { type: "number", description: "Page number", }, }, },
  • src/index.ts:72-73 (registration)
    Dispatch case in the main tool handler switch statement that routes 'list_sequences' calls to the listSequences implementation.
    case "list_sequences": return await this.listSequences(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