Skip to main content
Glama
AgentX-ai

Mailchimp MCP Server

by AgentX-ai

get_automation_email_report

Retrieve detailed performance data for specific emails within Mailchimp automation workflows to analyze campaign effectiveness and track engagement metrics.

Instructions

Get automation email report data

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflow_idYesThe workflow ID of the automation
email_idYesThe email ID within the automation

Implementation Reference

  • The core handler function that executes the tool logic by making a request to the Mailchimp API endpoint for the specific automation email report.
    async getAutomationEmailReport( workflowId: string, emailId: string ): Promise<any> { return await this.makeRequest( `/automations/${workflowId}/emails/${emailId}` ); }
  • Defines the input schema, name, and description for the tool.
    { name: "get_automation_email_report", description: "Get automation email report data", inputSchema: { type: "object", properties: { workflow_id: { type: "string", description: "The workflow ID of the automation", }, email_id: { type: "string", description: "The email ID within the automation", }, }, required: ["workflow_id", "email_id"], }, },
  • Registers and handles the tool call within the main switch statement, invoking the service handler and formatting the response.
    case "get_automation_email_report": const emailReport = await service.getAutomationEmailReport( args.workflow_id, args.email_id ); return { content: [ { type: "text", text: JSON.stringify(emailReport, 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/AgentX-ai/mailchimp-mcp'

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