Skip to main content
Glama
dazanza
by dazanza

send_campaign

Send an email campaign to its designated audience immediately. This action is irreversible and triggers the campaign delivery process.

Instructions

Send a campaign to its audience. This action is irreversible — the campaign will be sent immediately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaign_idYesCampaign ID to send

Implementation Reference

  • The handler for the 'send_campaign' tool, which uses the mailchimp SDK to send a campaign.
    server.tool(
      "send_campaign",
      "Send a campaign to its audience. This action is irreversible — the campaign will be sent immediately.",
      {
        campaign_id: z.string().describe("Campaign ID to send"),
      },
      async ({ campaign_id }) => {
        await mailchimp.campaigns.send(campaign_id);
        return {
          content: [{ type: "text", text: JSON.stringify({ success: true, campaign_id, status: "sent" }, 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/dazanza/mailchimp-mcp'

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