Skip to main content
Glama

send_campaign

Send a saved Mailchimp email campaign immediately to your audience. This tool dispatches pre-configured campaigns with content already set.

Instructions

Send a campaign immediately. The campaign must be in 'save' status with content set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaign_idYes

Implementation Reference

  • The `send_campaign` function is the handler registered as an MCP tool that sends a Mailchimp campaign by calling the `/campaigns/{campaign_id}/actions/send` endpoint.
    @mcp.tool()
    async def send_campaign(campaign_id: str) -> str:
        """Send a campaign immediately. The campaign must be in 'save' status with content set."""
        mc = get_client()
        await mc.post(f"/campaigns/{campaign_id}/actions/send")
        return _fmt({"campaign_id": campaign_id, "message": "Campaign is sending."})

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/AlexlaGuardia/mcp-mailchimp'

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