Skip to main content
Glama

get_sequence

Retrieve detailed information about a specific Apollo.io email sequence, including steps, statistics, and configuration settings, to analyze and manage outreach campaigns.

Instructions

Get detailed information about a specific sequence including steps, stats, and settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesSequence ID

Implementation Reference

  • The core handler function that executes the get_sequence tool. Fetches sequence details from Apollo API endpoint `/emailer_campaigns/{id}` and returns formatted text response with sequence info and steps.
    private async getSequence(args: any) { const response = await this.axiosInstance.get(`/emailer_campaigns/${args.id}`); const seq = response.data.emailer_campaign; let result = `Sequence Details:\n\n`; result += `Name: ${seq.name}\n`; result += `ID: ${seq.id}\n`; result += `Status: ${seq.active ? "Active" : "Inactive"}\n`; result += `Created: ${seq.created_at ? new Date(seq.created_at).toLocaleDateString() : "N/A"}\n`; result += `Steps: ${seq.num_steps || 0}\n\n`; if (seq.emailer_steps && seq.emailer_steps.length > 0) { result += `Sequence Steps:\n`; seq.emailer_steps.forEach((step: any, index: number) => { result += `\nStep ${index + 1}:\n`; result += ` Type: ${step.type || "Email"}\n`; result += ` Wait: ${step.wait_time || 0} days\n`; result += ` Subject: ${step.subject || "N/A"}\n`; }); } return { content: [ { type: "text", text: result, }, ], }; }
  • Tool schema definition in the listTools response, including name, description, and input schema that requires a 'id' string parameter.
    { name: "get_sequence", description: "Get detailed information about a specific sequence including steps, stats, and settings.", inputSchema: { type: "object", properties: { id: { type: "string", description: "Sequence ID", }, }, required: ["id"], }, },
  • src/index.ts:74-75 (registration)
    Registration of the tool handler in the central switch dispatcher for CallToolRequestSchema.
    case "get_sequence": return await this.getSequence(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