Skip to main content
Glama

schedule_campaign

Schedule email campaigns for automated delivery at specified times using the Mailchimp Marketing API. Set campaign_id and schedule_time in ISO 8601 UTC format to plan future email sends.

Instructions

Schedule a campaign. schedule_time must be ISO 8601 UTC (e.g. '2026-04-01T14:00:00+00:00').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaign_idYes
schedule_timeYes

Implementation Reference

  • The schedule_campaign tool handler, which uses the Mailchimp API client to POST to the /campaigns/{campaign_id}/actions/schedule endpoint.
    async def schedule_campaign(campaign_id: str, schedule_time: str) -> str:
        """Schedule a campaign. schedule_time must be ISO 8601 UTC (e.g. '2026-04-01T14:00:00+00:00')."""
        mc = get_client()
        await mc.post(
            f"/campaigns/{campaign_id}/actions/schedule",
            json={"schedule_time": schedule_time},
        )
        return _fmt({
            "campaign_id": campaign_id,
            "scheduled_for": schedule_time,
            "message": "Campaign scheduled.",
        })

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