Skip to main content
Glama

initialize_campaign_tool

Destructive

Creates a DRAFT outreach campaign. For ai-generated campaigns it starts a background job in which an AI model analyzes the optional userPrompt (it may search the public web) and generates topics and sequence steps; a step order named in the prompt replaces stepChannels, and when templateId is given the template's steps are used instead. Manual campaigns get empty starter steps (or the template's) and no background job. The new campaign is initialized, NOT active — it sends nothing, and creating it charges no credits. Each call also saves this campaign's timezone, sending days and hours (and ctaLink, if given) as the user's remembered campaign defaults, replacing the previous ones. Activating it is a separate, explicit act this tool never performs: only activate when the user explicitly asks, and confirm first. Returns 202 with the new campaignId and initializationStatus ('pending' for ai-generated campaigns, 'completed' for manual ones). Required: campaignName, campaignType (ai-generated | manual), stepChannels, campaignStartDate (ISO), timezone (IANA, e.g. America/New_York), emailDays (Monday...Sunday), excludeEngagedContacts (true skips contacts who have already replied to any of the user's campaigns; out-of-office auto-replies do not count), isDynamic (true: while the campaign is active, contacts later added to its source lists are enrolled automatically and start the sequence; false: later additions are not enrolled), listIds (at least one CRM prospect list id — a campaign cannot be created without a source list; add_list_to_campaign_tool only adds further lists later). Optional calendar link: ctaLink (http(s) booking URL), only when the user gave one; a campaign gets no link unless one is passed and does not need one. Optional schedule: emailStartHour / emailEndHour (24-hour H:MM; if omitted, the user's remembered hours apply, else 09:00–17:00). The campaign also inherits the user's remembered auto-pilot setting: when it is on, follow-ups to contacts who replied are sent without waiting for approval once the campaign is active. Optional AI context: writingStyleId (ai-generated campaigns only; one of the user's styles from list_writing_styles, else the user's default style applies), vectorStoreId (a Knowledge Hub profile's vectorStoreId from list_knowledge_hub_profiles, whose company knowledge the AI draws on when generating the campaign's topics; omitted, the team's Knowledge Hub is used) and useLinkedinPosts (default false; when true, each contact's public LinkedIn posts are fetched once the campaign is active and AI-written messages draw on them). Optional audience filters: excludeLists (CRM prospect list ids whose contacts are not enrolled), excludeCompanyLists (up to 20 company or people list ids; contacts at those companies, or at the companies of those people, are not enrolled), excludeContacted (default none, which skips nobody; ever, last_1_month, last_3_months, last_6_months or last_1_year skips contacts already contacted ever or within that window; true means ever) and sendOnlyToValidatedEmailsEnabledAt (an ISO 8601 timestamp turns it on, null leaves it off: when the sequence has an email step, only contacts whose email is already verified valid are enrolled, so catch-all and unverified addresses are skipped). Optional launch-time email finding: findMissingEmailsEnabledAt (an ISO 8601 timestamp turns it on, null leaves it off): when the campaign is launched and its sequence has an email step, work emails are first looked up for contacts on its lists never searched for one; each email found is saved to its contact and charged in credits to the campaign owner. Optional send-time check: validateEmailsBeforeSendEnabledAt (an ISO 8601 timestamp turns it on, null leaves it off): once the campaign is active, each address is verified just before its email is sent and each address verified is charged in credits; an email whose address fails is skipped, that contact is stopped and an invalid address is marked invalid, and the campaign is deactivated when credits run out. Optional tracking: addUnsubscribeLink (default true), openRateTrackingEnabledAt / clickTrackingEnabledAt (default off; pass true to enable), trackingDomainId (from list_tracking_domains_tool; omit/null uses the team's default ACTIVE domain at send time). Click tracking must be on for a custom tracking domain to rewrite email links. Optional daily caps: dailyEmailLimit / dailyLinkedinConnectionLimit / dailyLinkedinMessageLimit (sends per calendar day in the campaign's timezone across all its accounts; omit/null = no campaign-level cap, account limits always apply). Optional co-owners: delegates (user ids of teammates from list_team_members who co-own the campaign and can edit it; the first one owns its dialer (call) tasks).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "campaignName": "<campaignName>",
      "campaignType": "<campaignType>",
      "stepChannels": "<stepChannels>",
      "campaignStartDate": "<campaignStartDate>",
      "timezone": "<timezone>",
      "emailDays": "<emailDays>",
      "excludeEngagedContacts": "<excludeEngagedContacts>",
      "isDynamic": "<isDynamic>"
    },
    "name": "initialize_campaign_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
listIdNoDeprecated single-list form. Prefer listIds. If sent alone it is promoted to listIds[0]. One of listId or listIds is required.
ctaLinkNoThe calendar/booking link (absolute http(s) URL) recipients follow to book a meeting. Optional: omitted or null, the campaign has no link.
listIdsNoCRM prospect list ids to source contacts from (1-10). Required at create (or send legacy listId). To add another list after create, use add_list_to_campaign_tool.
timezoneYesIANA time zone in which sending days and the daily window are evaluated, e.g. America/New_York. Invalid zones are rejected (the scheduler would otherwise silently fall back to UTC).
delegatesNoUser ids of teammates who co-own the campaign, from list_team_members. The FIRST id owns the campaign's dialer (call) tasks: the campaign appears on that person's dialer page and its call batch is created for them instead of the creator. Every id must be the team owner or an active member of the user's team.
emailDaysYesWeekdays on which the campaign may send. English names with a capital first letter: Monday ... Sunday. At least one day required.
isDynamicYes
templateIdNo
userPromptNo
campaignNameYes
campaignTypeYes
emailEndHourNoLocal end of the daily sending window as 24-hour H:MM or HH:MM (e.g. 17:00). Default 17:00 if omitted.
excludeListsNo
stepChannelsYes
vectorStoreIdNo
emailStartHourNoLocal start of the daily sending window as 24-hour H:MM or HH:MM (e.g. 09:00). Default 09:00 if omitted.
writingStyleIdNo
dailyEmailLimitNoMaximum emails this campaign sends per calendar day in its timezone, across all its mailboxes and excluding replies. Mailbox limits and sharing with other campaigns still apply. Null (default) means no campaign-level cap.
excludeContactedNonone
trackingDomainIdNoId of an ACTIVE team tracking domain (from list_tracking_domains_tool). Null (default) does not mean the Fuse origin: click-tracked links use the team's default ACTIVE domain automatically if one exists. Click tracking must also be enabled or links are not rewritten.
useLinkedinPostsNo
campaignStartDateYes
addUnsubscribeLinkNoWhen true, every email step appends a one-click unsubscribe footer (email channel only). Default true.
excludeCompanyListsNo
clickTrackingEnabledAtNoRewrite links in outgoing emails to tracked redirects. Must be on for a custom tracking domain to appear in the email; otherwise links stay as the original URL. Pass true to turn on, false or null to leave off (default off). An ISO 8601 timestamp is also accepted.
excludeEngagedContactsYes
dailyLinkedinMessageLimitNoMaximum LinkedIn messages (InMails included) this campaign sends per calendar day in its timezone, across all its LinkedIn accounts. Account limits still apply. Null (default) means no campaign-level cap.
openRateTrackingEnabledAtNoEnable the open-tracking pixel on outgoing emails. Pass true to turn on, false or null to leave off (default off). An ISO 8601 timestamp is also accepted.
findMissingEmailsEnabledAtNoFind missing work emails at launch: an ISO 8601 timestamp turns it on, null (default) leaves it off. When on and the sequence has an email step, contacts in the campaign's lists never searched for an email are enriched before enrollment, charged to the campaign owner (only emails found are charged).
dailyLinkedinConnectionLimitNoMaximum LinkedIn connection requests this campaign sends per calendar day in its timezone, across all its LinkedIn accounts. Account limits still apply. Null (default) means no campaign-level cap.
validateEmailsBeforeSendEnabledAtNo
sendOnlyToValidatedEmailsEnabledAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the destructive/openWorld annotations: it discloses the AI background job and optional public-web search, that creation charges no credits but that email-finding and pre-send validation do (with campaign-owner billing and deactivation on exhausted credits), and the non-obvious side effect that each call overwrites the user's remembered defaults (timezone, days, hours, ctaLink). It also states the exact response contract (202 with campaignId and initializationStatus).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening two sentences are well front-loaded, but the remainder is a single dense block that enumerates every optional parameter in one unbroken run, making it hard to scan under 32-param load. Most sentences carry real information, yet the lack of any grouping (schedule / audience / tracking / billing) costs readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 32-parameter mutation tool with no output schema, the description is unusually complete: it covers the return payload, credit implications, side effects on user defaults, the AI-vs-manual branching, and the exact gating of click tracking on a custom tracking domain. An agent could call this correctly without further discovery.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 32 parameters and only 50% schema description coverage, the prose compensates for most gaps: isDynamic, excludeEngagedContacts, excludeContacted, excludeCompanyLists, findMissingEmailsEnabledAt, validateEmailsBeforeSendEnabledAt, useLinkedinPosts and delegates all get meaning the schema lacks. A few required params are only named rather than explained (campaignStartDate gets just "(ISO)"), so not every gap is closed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb, resource and lifecycle state: "Creates a DRAFT outreach campaign," then immediately splits the two behaviors (ai-generated background job vs manual empty/template steps). It is distinguishable from launch_campaign_tool, activate_campaign_lead_tool and add_list_to_campaign_tool without opening any schema, and it explicitly states activation is a separate tool's job.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when/when-not rules: "only activate when the user explicitly asks, and confirm first," "ctaLink ... only when the user gave one," and "add_list_to_campaign_tool only adds further lists later." It also routes to the right lookup tools for dependent ids (list_writing_styles, list_knowledge_hub_profiles, list_team_members, list_tracking_domains_tool).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.