Docs
MCPPricingGo to Sales Montana

MCP server

Campaign tools

Read and change campaigns. The builder tools at the end are the older step by step path; for a new campaign the setup tools are simpler.

ToolWhoLevelConfirmsWhat it does
list_campaignsAdmins, reps and clientsreadnoLists the campaigns in the workspace, newest first, with lead counts by queue state and calls in the last 7 days.
get_campaignAdmins, reps and clientsreadnoReturns one campaign in full: description, dialing hours, sending state, call outcomes, deal pipeline stages with a deal count each, queue counts and a link to its dashboard.
about_campaignAdminsreadnoReturns one campaign in full, as its About tab shows it: brief, who it targets, the offer and angles, each signal topic with its results, lead finding settings, the checks a good lead passes, and the newest nightly read.
create_campaignAdminsactnoCreates a new campaign in the workspace with a name and an optional description.
update_campaignAdminsactnoRenames a campaign, changes its description, or switches it on or off.
set_campaign_pausedAdminsactyespaused true stops the whole campaign: no calls, emails or LinkedIn, and an active cadence is paused with it.
set_pilot_modeAdminswriteyesPilot mode on lets a campaign run on its own: new leads that pass every check skip review, every waiting email and LinkedIn draft is approved, approve first is turned off, and a cadence that is not yet active is approved and started.
set_lead_findingAdminswritenoSets a campaign's lead finding: on or off, how many new leads a day, the monthly budget in credits, and whether new leads that pass every check go straight into the campaign or wait in review.
draft_campaignAdminsactnoOlder builder path.
get_campaign_planAdminsreadnoReads the plan JSON stored on campaigns.plan for one campaign, plus its status, version, ICP id and whether the sample is approved.
update_icpAdminsactnoEither points the campaign at another existing ICP, or edits the fields of the campaign's ICP (name, summary, company, buyer, why_now, not_fit), or both.
set_sourcesAdminsactnoWrites the campaign's two lead sources: the one time starting list and the every morning signals.
fetch_sampleAdminsactnoRuns the campaign-sample edge function (action sample): Montana screens a pool, keeps up to 10 companies, answers the checks, scores them and saves them as campaign_leads.
mark_sampleAdminsactnoMarks the campaign's sample as approved through mcp_campaign_approve_sample (which calls campaign_approve_sample as the person).
set_scoringAdminsactnoSaves the weights, the thresholds and the yes or no checks through mcp_campaign_save_score_settings (campaign_save_score_settings as the person).
set_repsAdminsactnoReplaces the campaign's reps and their round robin order through mcp_campaign_set_reps.
set_cadenceAdminsactnoReplaces all the campaign's cadence steps with the ones given, with a channel, a wait and a title each.
launch_campaignAdminsactyesTwo step launch.

Conventions for every tool are on the overview. The order to call them in is on workflows.

Tools

list_campaigns

Who: Admins, reps and clients. Level: read. Confirms: no.

Lists the campaigns in the workspace, newest first, with lead counts by queue state and calls in the last 7 days. By default only active campaigns are listed. Use it to find a campaign's exact name or id.

ArgumentTypeRequiredAccepts, default and limits
include_inactivebooleannoTrue or false. Default: false. Without it only campaigns with active = true are listed.

Returns: data is an array of campaigns: id, name, active, status, cadence_status, sending (true only when the campaign is on and the cadence is active), state (a plain sentence such as "Live, cadence not started"), description (cut to 300 characters, or null), leads {queued, in_progress, completed, exited}, calls_last_7_days.

Changes: None, read only

Good to know:

  • At most 100 campaigns are returned, newest first.
  • leads counts queued, in_progress, completed and exited enrollments only. Paused (held) enrollments are not counted.
  • calls_last_7_days counts calls started in the last 7 times 24 hours.
  • state and sending come from the campaign status and the cadence status together: a cadence only sends when status is on (not paused, archived, draft or done) and cadence_status is active.

Example call:

{
  "name": "list_campaigns",
  "arguments": {}
}

Example result:

[
  {
    "id": "0d9e6c1a-5b2f-4c1e-8f00-123456789abc",
    "name": "Dallas roofers Q4",
    "active": true,
    "status": "live",
    "cadence_status": "active",
    "sending": true,
    "state": "Live, cadence sending",
    "description": "Roofing contractors in Dallas with 5 to 50 staff.",
    "leads": {
      "queued": 120,
      "in_progress": 3,
      "completed": 40,
      "exited": 12
    },
    "calls_last_7_days": 88
  }
]

get_campaign

Who: Admins, reps and clients. Level: read. Confirms: no.

Returns one campaign in full: description, dialing hours, sending state, call outcomes, deal pipeline stages with a deal count each, queue counts and a link to its dashboard. Use it before creating or moving deals to learn the stage keys and names.

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign name or id. A unique part of the name also works.

Returns: data: id, name, active, description, status, cadence_status, sending, state, dial_window_start, dial_window_end, dial_window_days, created_at, standard_outcomes (a fixed list of 8), custom_outcomes [{label, maps_to, group_name, opens_deal_stage}] (active ones, in sort order), pipeline [{key, name, kind, deals}] in position order, leads {queued, in_progress, completed, exited}, link (the app dashboard URL).

Changes: None, read only

Good to know:

  • pipeline[].deals counts every deal of the campaign in that stage, closed ones included, not only open deals.
  • The deal count reads the campaign's deals in one query, so on a campaign with more than about 1,000 deals the per stage counts can fall short.
  • Pipeline kind is open for working stages; Won and Lost have their own kinds. Pass key or name to create_deal, move_deal and edit_deal_stages.
WhenMessageWhat to do
campaign matches nothingNo campaign "<ref>" in this workspace.Call list_campaigns and use an exact name or id.
a partial campaign name matches more than one"<ref>" matches several campaigns: <names>. Use the exact name or id.Use the exact name or the id.

Example call:

{
  "name": "get_campaign",
  "arguments": {
    "campaign": "Dallas roofers Q4"
  }
}

Example result:

{
  "id": "0d9e6c1a-5b2f-4c1e-8f00-123456789abc",
  "name": "Dallas roofers Q4",
  "active": true,
  "description": "Roofing contractors in Dallas.",
  "status": "live",
  "cadence_status": "active",
  "sending": true,
  "state": "Live, cadence sending",
  "dial_window_start": "09:00",
  "dial_window_end": "17:00",
  "dial_window_days": [
    1,
    2,
    3,
    4,
    5
  ],
  "created_at": "2026-10-02T14:00:00Z",
  "standard_outcomes": [
    "Connected",
    "Voicemail",
    "No Answer",
    "Wrong Number",
    "Callback",
    "Not Interested",
    "DNC",
    "Bad Number"
  ],
  "custom_outcomes": [
    {
      "label": "Sent quote",
      "maps_to": "Connected",
      "group_name": "Positive",
      "opens_deal_stage": "quote_sent"
    }
  ],
  "pipeline": [
    {
      "key": "interested",
      "name": "Interested",
      "kind": "open",
      "deals": 4
    },
    {
      "key": "closed_won",
      "name": "Won",
      "kind": "won",
      "deals": 1
    }
  ],
  "leads": {
    "queued": 120,
    "in_progress": 3,
    "completed": 40,
    "exited": 12
  },
  "link": "https://app.salesmontana.com/o/<org id>/campaigns/<id>/dashboard"
}

about_campaign

Who: Admins. Level: read. Confirms: no.

Returns one campaign in full, as its About tab shows it: brief, who it targets, the offer and angles, each signal topic with its results, lead finding settings, the checks a good lead passes, and the newest nightly read. Use it to understand a campaign before changing it.

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign id, exact name (any case), or a part of the name that matches only one campaign. Looked up inside the current workspace only.

Returns: campaign {id, name, status, brief (1200 characters)}, summary, who {summary, industries, size, places, titles, must_haves, not_fit, audience, structured}, offer {offer, goal, angles, why_now, proof, avoid, arrival, channels}, intel {written_at, by}, signals (each name, kind, on, status, last_run_at, what, phrases (up to 8), countries, exclude (up to 6), why, expected_daily, fits, added), finding {on, note, daily_new, monthly_budget, straight_in, review_until}, learned {checks, working, objections, latest {at, headline, working, not_working, next}}, lists (number of lead lists).

Changes: None, read only.

Good to know:

  • finding.straight_in is true when review_until is set and in the past; that is the same switch set_lead_finding auto_add and set_pilot_mode change.
  • Signal fits and added are counted for at most 16 topics.
  • Signals linked to the campaign only through a signal topic (not in its Settings list) are listed too.
WhenMessageWhat to do
The campaign is not foundNo campaign "<name>" in this workspace.Call list_campaigns and use the exact name or id.
A partial name matches more than one campaign"<name>" matches several campaigns: A; B. Use the exact name or id.Use the exact name or the id.

Example call:

{
  "name": "about_campaign",
  "arguments": {
    "campaign": "Dental clinics TX"
  }
}

Example result:

{
  "campaign": {
    "id": "6c1e...",
    "name": "Dental clinics TX",
    "status": "live",
    "brief": "Dental practices in Texas with front desk overload."
  },
  "summary": "Dental practices in Texas with front desk overload.",
  "who": {
    "industries": [
      "Dental"
    ],
    "size": "2-50",
    "places": [
      "Texas"
    ],
    "titles": [
      "Practice manager"
    ],
    "must_haves": [],
    "not_fit": [
      "DSOs"
    ]
  },
  "signals": [
    {
      "name": "Hiring: Dental receptionist",
      "kind": "job_postings",
      "on": true,
      "status": "active",
      "last_run_at": "2026-12-02T13:00:00Z",
      "fits": 41,
      "added": 18
    }
  ],
  "finding": {
    "on": true,
    "daily_new": 25,
    "monthly_budget": 3000,
    "straight_in": false,
    "review_until": null
  },
  "lists": 6
}

create_campaign

Who: Admins. Level: act. Confirms: no.

Creates a new campaign in the workspace with a name and an optional description. The database gives it the standard deal pipeline when it is created. Use it before adding leads with import_leads, find_leads or create_lead.

ArgumentTypeRequiredAccepts, default and limits
namestringyesAny text. Refused if a campaign with the same name already exists (case does not matter). A web address slug is made from it, up to 64 characters, with -2, -3 and so on added if taken.
descriptionstringnoPlain text: who it targets and the pitch. Reps and the AI read it. Empty text is saved as no description.

Returns: An object with campaign_id, name and link (the campaign dashboard address in the app). Because the tool returns an undo, the result also has action_id and undo_with: "undo_action".

Changes: Inserts one campaigns row (active by default). A database trigger adds the standard deal stages. Nothing is sent or charged.

Undo: Yes. undo_action switches the campaign off (active false). It does not delete it; it stays in the list as inactive.

Good to know:

  • The duplicate name check uses a case insensitive match, so "Dental" and "dental" count as the same name.
  • The new campaign has no leads and no cadence. Add leads next.
WhenMessageWhat to do
name is empty after trimmingA campaign needs a name.Pass a name.
A campaign with that name existsThere is already a campaign called "<name>".Pick another name, or use the existing campaign.
The insert failsThe database error text.Read the message; retry only if it looks temporary.
The caller is not a workspace adminOnly a workspace admin can do this.Ask a workspace admin to do it.
The caller has the client roleA client account can only read.A client cannot use this tool.
The connection level is lower than actThis connection is "<level>" and this needs "act". Make a connection with more access in Sales Montana settings.Make a connection with more access in Sales Montana settings.

Example call:

{
  "name": "create_campaign",
  "arguments": {
    "name": "Dental clinics Ohio",
    "description": "Owner run dental clinics in Ohio. Pitch: fewer no shows with reminder calls."
  }
}

Example result:

{
  "campaign_id": "5b1f0c3e-2a77-4f61-9d0e-0c6f2b8e4a11",
  "name": "Dental clinics Ohio",
  "link": "https://app.salesmontana.com/o/9e2d.../campaigns/5b1f0c3e-2a77-4f61-9d0e-0c6f2b8e4a11/dashboard",
  "action_id": "c0a1e7d2-6f3b-4b55-8a90-1d2e3f4a5b6c",
  "undo_with": "undo_action"
}

update_campaign

Who: Admins. Level: act. Confirms: no.

Renames a campaign, changes its description, or switches it on or off. Only the fields you pass are changed. Switching it off deletes nothing.

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign name or id. Exact name first (case does not matter), then a unique part of the name.
namestringnoNew name. Empty text is ignored. No duplicate name check is made here, and the slug is not changed.
descriptionstringnoNew description. Any string is applied. Empty text clears the description.
activebooleannoTrue or false; "true" or "false" as text also works. False switches the campaign off.

Returns: An object with updated: the list of field names changed (name, description, active). Also action_id and undo_with: "undo_action".

Changes: Updates the campaigns row. Nothing sent or charged.

Undo: Yes. undo_action writes back the earlier values of exactly the fields that were changed. Only while the changed fields still hold what this change set; if someone changed them since, undo refuses and says so.

Good to know:

  • findCampaign finds inactive campaigns too, so a switched off campaign can be switched back on here.
WhenMessageWhat to do
campaign is emptyName a campaign (its name or id). list_campaigns shows them.Pass a campaign name or id.
Part of the name matches more than one campaign"<text>" matches several campaigns: <names>. Use the exact name or id.Use the exact name or the id.
No campaign matches in this workspaceNo campaign "<text>" in this workspace.Check list_campaigns for the right name.
No name, description or active givenNothing to change. Give a name, description or active.Pass at least one field.
The update failsThe database error text.Read the message.
The caller is not a workspace adminOnly a workspace admin can do this.Ask a workspace admin to do it.
The caller has the client roleA client account can only read.A client cannot use this tool.
The connection level is lower than actThis connection is "<level>" and this needs "act". Make a connection with more access in Sales Montana settings.Make a connection with more access in Sales Montana settings.

Example call:

{
  "name": "update_campaign",
  "arguments": {
    "campaign": "Dental clinics Ohio",
    "active": false
  }
}

Example result:

{
  "updated": [
    "active"
  ],
  "action_id": "e1d2c3b4-a596-4877-8899-aabbccddeeff",
  "undo_with": "undo_action"
}

set_campaign_paused

Who: Admins. Level: act. Confirms: yes, preview first, then the same call with confirm: true.

paused true stops the whole campaign: no calls, emails or LinkedIn, and an active cadence is paused with it. paused false resumes the campaign, and a paused cadence is made active again. Only for a live or paused campaign.

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign id, exact name (case does not matter), or a part of the name that matches only one campaign in the workspace.
pausedbooleanyesTrue or false.
reasonstringnoAny text. Cut to 300 characters. Saved as paused_reason when pausing; cleared on resume.
confirmbooleannoTrue, or the text "true". Default: not set (returns the preview). Leave it out first and show the preview to the person. Call again with the same arguments plus confirm: true only after they agree.

Returns: Preview (pause): campaign, now, would_stop, needs. Preview (resume): campaign, now, cadence_now, cadence_resumes, needs. After confirm: campaign, status, cadence_status, plus action_id and undo_with.

Changes: Updates campaigns status (paused or live), active, paused_reason and cadence_status, and records who switched the cadence. Nothing is sent or charged.

Undo: Yes. undo_action runs set_campaign_paused with the opposite value and confirm true. Only while the changed fields still hold what this change set; if someone changed them since, undo refuses and says so.

Good to know:

  • On resume, a cadence whose status is paused becomes active, whether it was paused by this campaign pause or paused on its own earlier with set_cadence_running. To resume the campaign but keep the cadence paused, call set_cadence_running off afterwards.
  • A cadence in draft stays draft on resume.
  • It writes the campaign row directly, not through the campaign_set_paused database function.
WhenMessageWhat to do
No campaign argumentName a campaign (its name or id). list_campaigns shows them.Pass the campaign name or id.
A partial name matches several campaigns"<ref>" matches several campaigns: A; B. Use the exact name or id.Use the exact name or the id.
Nothing matchesNo campaign "<ref>" in this workspace.Check list_campaigns. Staff may need to pass workspace.
The caller's role is not org_admin or superadmin (checked by the server before run)Only a workspace admin can do this.Ask a workspace admin.
The person is not an admin of this workspace (checked in the database with mcp_is_org_admin; superadmins pass)Only an admin of <workspace> can do this.Ask a workspace admin to do it.
Campaign is draft, done or archivedOnly a live or paused campaign can be paused or resumed. Launch a draft with launch_campaign.Launch it with launch_campaign.
The campaign is 'No campaign'"No campaign" always stays paused.Pick a real campaign.
Resuming makes the cadence active and it has an email step but no usable chosen mailbox (database trigger)No mailbox is assigned to this cadence, so it cannot be started. Pick a connected mailbox in the cadence settings, under Sending, first.Choose or resume a mailbox, then resume again.

Example call:

{
  "name": "set_campaign_paused",
  "arguments": {
    "campaign": "Happy Billing Q1",
    "paused": true,
    "reason": "Client asked to hold",
    "confirm": true
  }
}

Example result:

{
  "campaign": "Happy Billing Q1",
  "status": "paused",
  "cadence_status": "paused",
  "action_id": "0a0a0a0a-bbbb-4a4a-8b8b-0123456789ab",
  "undo_with": "undo_action"
}

set_pilot_mode

Who: Admins. Level: write. Confirms: yes, preview first, then the same call with confirm: true.

Pilot mode on lets a campaign run on its own: new leads that pass every check skip review, every waiting email and LinkedIn draft is approved, approve first is turned off, and a cadence that is not yet active is approved and started. Off puts review and per lead approval back. The first call returns a preview.

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign id, exact name (any case), or a part of the name that matches only one campaign. Looked up inside the current workspace only.
onbooleanyesTrue or false (text is read) Anything other than true means off.
confirmbooleannoTrue or false. Default: false.

Returns: Preview: campaign, pilot ('on' or 'off'), means, what_will_send (on only), needs. Done: campaign_id, pilot (true or false), with action_id and undo_with.

Changes: On: sets review_until to now and email_approval_mode 'auto', approves every pending_approval lead draft, sets the LinkedIn bridge's approve_first false and approves its draft actions. If the campaign has active steps and the cadence is not active, it then runs the full approve_cadence (all copy approved, cadence_status active). Off: review_until cleared, email_approval_mode 'approve_first', LinkedIn bridge approve_first true. Off does not pause the cadence and does not unapprove anything.

Undo: Yes. undo_action runs set_pilot_mode again with the opposite value. Turning pilot off does not stop a cadence that pilot started. Only while the changed fields still hold what this change set; if someone changed them since, undo refuses and says so.

Good to know:

  • Pilot mode is not its own column: it is review_until set, email_approval_mode 'auto' and the LinkedIn bridge's approve_first false.
  • If the start is refused (mailbox, empty step, blanks), the pilot changes before it (auto mode, approved drafts, LinkedIn approvals, straight in leads) have already been saved, and no undo is recorded because the call failed.
  • A paused cadence (cadence_status 'paused') is restarted by pilot on, since it is not 'active'.
  • A reply anywhere stops everything for that company in either mode.
WhenMessageWhat to do
The campaign is not foundNo campaign "<name>" in this workspace.Call list_campaigns and use the exact name or id.
A partial name matches more than one campaign"<name>" matches several campaigns: A; B. Use the exact name or id.Use the exact name or the id.
Pilot on starts the cadence and there is no usable mailbox for email stepsNo mailbox is assigned to this cadence, so it cannot be started. Pick a connected mailbox in the cadence settings, under Sending, first.Pick and resume mailboxes, then call again. Note the pilot settings were already applied.
Pilot on starts the cadence and a step is empty or has blanksStep <n> ... with no words yet ... / Not approved: the copy still has blanks ...Fix the step, then call again.
Other backend failureThe backend's error, or 'Pilot mode could not be changed just now.'Try again.

Example call:

{
  "name": "set_pilot_mode",
  "arguments": {
    "campaign": "Dental clinics TX",
    "on": true,
    "confirm": true
  }
}

Example result:

{
  "campaign_id": "6c1e...",
  "pilot": true,
  "action_id": "2c4...",
  "undo_with": "undo_action"
}

set_lead_finding

Who: Admins. Level: write. Confirms: no.

Sets a campaign's lead finding: on or off, how many new leads a day, the monthly budget in credits, and whether new leads that pass every check go straight into the campaign or wait in review. Send only what changes.

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign id, exact name (any case), or a part of the name that matches only one campaign. Looked up inside the current workspace only.
keep_findingbooleannoTrue or false. Turning it on clears keep_finding_note.
daily_newnumbernoWhole number. 1 to 1000, rounded. Also written to plan.setup.daily_new and plan.budget.daily_limit.
monthly_budgetnumber or nullnoCredits a month, or null for no cap. 0 or more, rounded. Also written to plan.setup.monthly_budget.
auto_addbooleannoTrue or false. True sets review_until to now (straight in); false clears it (review).

Returns: campaign_id and changed (plain lines such as 'finding on', '25 new a day', '3,000 credits a month', 'new leads wait in review'). action_id and undo_with are added.

Changes: Updates the campaign row (keep_finding, daily_new_leads, monthly_budget_credits, review_until, plan). Finding leads spends credits within the budget. Nothing is sent.

Undo: Yes. undo_action puts back the exact earlier values of only the columns this change wrote (review_until as the old date, plan as it was), and only while those columns still hold what this change set.

Good to know:

  • auto_add here is the review switch for finding (review_until). It is not the cadence switch set_cadence_auto_add.
WhenMessageWhat to do
The campaign is not foundNo campaign "<name>" in this workspace.Call list_campaigns and use the exact name or id.
A partial name matches more than one campaign"<name>" matches several campaigns: A; B. Use the exact name or id.Use the exact name or the id.
daily_new out of rangedaily_new is 1 to 1000.Send 1 to 1000.
monthly_budget not a numbermonthly_budget is a number of credits, or null.Send a number or null.
Nothing sentNothing to change: send keep_finding, daily_new, monthly_budget or auto_add.Send at least one field.

Example call:

{
  "name": "set_lead_finding",
  "arguments": {
    "campaign": "Dental clinics TX",
    "daily_new": 25,
    "monthly_budget": 3000
  }
}

Example result:

{
  "campaign_id": "6c1e...",
  "changed": [
    "25 new a day",
    "3,000 credits a month"
  ],
  "action_id": "3b9...",
  "undo_with": "undo_action"
}

draft_campaign

Who: Admins. Level: act. Confirms: no.

Older builder path. Sends one sentence to the campaign-plan edge function (action draft), which has a model write a plan and creates a NEW draft campaign every call: an ICP, a starting list source (switched off), typed every morning signals with paused topics, checks and score settings. Nothing dials and no reps or cadence steps are written. Prefer build_campaign (the setup path) for a new campaign.

ArgumentTypeRequiredAccepts, default and limits
promptstringyesOne sentence: who to reach and why. Must not be empty. Becomes the goal the drafter plans from. The workspace notes (signup places, other ICPs, playbooks) are added as background.

Returns: { campaign_id, slug, plan, plan_version, used, cap }. plan holds icp (with id and version), sources (starting_list, every_morning with signals carrying their ids and topic_id), checks, scoring, reps, cadence, budget and montana_suggestion. used is drafts used today, cap is 40.

Changes: Creates a campaigns row (status draft, active false, builder_step who), an icps row and its first icp_versions row, a campaign_sources list row with enabled false, one campaign_sources row and one paused signal_topics row per drafted signal, campaign_checks rows and campaign_score_settings. Bumps the workspace's daily draft counter (campaign_plan_claim). No credits are charged. The model's cadence stays only inside plan.cadence: no campaign_steps rows are written.

Good to know:

  • Every call creates a new campaign. It never edits one.
  • The starting list source is written with enabled false. launch_campaign switches it on when no source is on; set_sources also switches it on by default.
  • Signal topics are created paused while the campaign is a draft.
  • The daily cap of 40 drafts per workspace is shared with build_campaign, which drafts through the same action.
  • Montana chat's own rule: never build a new campaign this way; use setup_context then build_campaign (montana-org/index.ts SETUP_RULES step 10).
WhenMessageWhat to do
prompt emptyGive one sentence describing the campaign.Pass a prompt.
40 drafts already made in this workspace today (shared with build_campaign)You have reached today’s limit for drafting campaignsWait until tomorrow or edit an existing draft.
Edge function not configuredThe campaign service is not configured.Report it; nothing to retry.
Any other campaign-plan failureThe function's error text, or "campaign-plan failed (<status>)"Read the message; retry once.

Example call:

{
  "name": "draft_campaign",
  "arguments": {
    "prompt": "Dental clinics in Austin with 5 to 20 staff that are hiring a front desk person"
  }
}

Example result:

{
  "campaign_id": "3f1c0b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
  "slug": "austin-dental-clinics",
  "plan_version": 1,
  "used": 3,
  "cap": 40,
  "plan": {
    "icp": {
      "id": "9a8b...",
      "name": "Austin dental clinics",
      "version": 1
    },
    "sources": {
      "starting_list": {
        "description": "Dental clinics in Austin"
      },
      "every_morning": {
        "enabled": true,
        "signals": [
          {
            "id": "c1...",
            "name": "Hiring front desk",
            "source": "job_postings",
            "topic_id": "t1..."
          }
        ]
      }
    },
    "scoring": {
      "fit_weight": 55,
      "intent_weight": 25,
      "reach_weight": 20,
      "add_threshold": 70,
      "review_threshold": 40
    },
    "cadence": {
      "steps": []
    }
  }
}

get_campaign_plan

Who: Admins. Level: read. Confirms: no.

Reads the plan JSON stored on campaigns.plan for one campaign, plus its status, version, ICP id and whether the sample is approved. Use it to see what the builder or build_campaign saved (plan.setup holds the setup spec and the sample state).

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign id (uuid), exact name (case insensitive), or a part of the name that matches only one campaign in the workspace. Resolved by findCampaign. A slug is not matched. Several partial matches give an error listing them.

Returns: { campaign_id, name, status, plan, plan_version, icp_id, sample_approved }. plan is the raw stored object: icp, sources, checks, scoring, reps, cadence, budget, and setup when the campaign came from build_campaign.

Changes: None, read only.

Good to know:

  • plan is a saved copy. The live tables (campaign_sources, campaign_checks, campaign_steps, campaign_reps) can differ when they were changed elsewhere.
WhenMessageWhat to do
No campaign matchesNo campaign "<ref>" in this workspace.Call list_campaigns and pass the id.
A partial name matches several campaigns"<ref>" matches several campaigns: <names>. Use the exact name or id.Pass the id or the exact name.
The caller is not org_admin or superadminOnly a workspace admin can do this.Use an admin connection.

Example call:

{
  "name": "get_campaign_plan",
  "arguments": {
    "campaign": "Austin dental clinics"
  }
}

Example result:

{
  "campaign_id": "3f1c0b7e-...",
  "name": "Austin dental clinics",
  "status": "draft",
  "plan_version": 4,
  "icp_id": "9a8b...",
  "sample_approved": false,
  "plan": {
    "setup": {
      "goal": "book meetings",
      "places": [
        "Austin"
      ],
      "sample": {
        "state": "done",
        "message": "8 leads found of 10 checked."
      }
    },
    "budget": {
      "daily_limit": 10
    }
  }
}

update_icp

Who: Admins. Level: act. Confirms: no.

Either points the campaign at another existing ICP, or edits the fields of the campaign's ICP (name, summary, company, buyer, why_now, not_fit), or both. An edit bumps the ICP version and writes an icp_versions row. The ICP snapshot is also saved into campaigns.plan.icp.

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign id (uuid), exact name (case insensitive), or a part of the name that matches only one campaign in the workspace. Resolved by findCampaign. A slug is not matched. Several partial matches give an error listing them.
icpstringnoAn active ICP's id, or its exact name (case insensitive, no partial match) Left out, the campaign's current icp_id is used.
fieldsobjectnoAny of name (string), summary (string), company (object), buyer (object), why_now (object), not_fit (array) A field left out keeps its value. company, buyer and why_now replace the whole object, they are not merged. not_fit is used only when it is an array. An empty name keeps the old name.

Returns: The campaign plan after the save: { campaign_id, name, status, plan, plan_version, icp_id, sample_approved }. Note icp_id in this result is read before the campaign's icp_id is updated, so it can show the old ICP when you switched ICP.

Changes: With fields: updates the icps row and inserts an icp_versions row (note "Changed over MCP"). Always: writes plan.icp and bumps plan_version, then sets campaigns.icp_id. Switching to a different ICP on a draft clears the sample approval (database trigger). No credits.

Good to know:

  • An ICP can be shared by several campaigns. Editing fields changes it for every campaign that uses it.
  • Editing fields on the same ICP does not clear the sample approval; only a change of icp_id on a draft does (trigger clear_sample_on_campaign_change).
  • For a campaign built with build_campaign, change who it targets with build_campaign (campaign plus changed spec fields) instead, so the setup spec, the sample and the ICP stay in step.
WhenMessageWhat to do
No campaign matchesNo campaign "<ref>" in this workspace.Call list_campaigns and pass the id.
A partial name matches several campaigns"<ref>" matches several campaigns: <names>. Use the exact name or id.Pass the id or the exact name.
The caller is not org_admin or superadminOnly a workspace admin can do this.Use an admin connection.
icp names nothing activeNo ICP "<ref>" in this workspace.Use the ICP id.
icp name matches several ICPs"<ref>" matches several ICPs. Use the id.Use the ICP id.
No icp given and the campaign has noneThis campaign has no ICP yet. Name one to choose.Pass icp.
fields given but the ICP is in another workspaceThat ICP is not in this workspace.Pick an ICP from this workspace.

Example call:

{
  "name": "update_icp",
  "arguments": {
    "campaign": "Austin dental clinics",
    "fields": {
      "summary": "Independent dental clinics in Austin, 5 to 20 staff",
      "not_fit": [
        "Dental chains",
        "DSOs"
      ]
    }
  }
}

Example result:

{
  "campaign_id": "3f1c0b7e-...",
  "name": "Austin dental clinics",
  "status": "draft",
  "plan_version": 5,
  "icp_id": "9a8b...",
  "sample_approved": false,
  "plan": {
    "icp": {
      "id": "9a8b...",
      "name": "Austin dental clinics",
      "version": 2
    }
  }
}

set_sources

Who: Admins. Level: act. Confirms: no.

Writes the campaign's two lead sources: the one time starting list and the every morning signals. The list row is deleted and inserted again; signals go through the shared signal writer, which keeps each signal's row and topic. Older builder path.

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign id (uuid), exact name (case insensitive), or a part of the name that matches only one campaign in the workspace. Resolved by findCampaign. A slug is not matched. Several partial matches give an error listing them.
starting_listobjectno{ enabled?, description?, filters? }. Default: enabled true; description and filters keep the stored values. Enabled left out means TRUE, even when the stored row was off. filters is used only when it is an array.
every_morningobjectno{ enabled?, description?, signals? }. Each signal: { id?, name, source: linkedin_posts/job_postings/funding_rounds/tech_stack, config, searches?, looks_like?, off? }, or a plain string used as the name. Default: enabled true; description and signals keep the stored values. Linkedin_posts takes searches; the other sources take config. Send a signal's id to keep its row and topic. A signal left out of the list has its row deleted and its topic paused and detached.

Returns: The campaign plan after the save: { campaign_id, name, status, plan, plan_version, icp_id, sample_approved }. plan.sources.every_morning.signals carries each signal's id, topic_id and problem (why it has no topic, or null).

Changes: Deletes and inserts the campaign_sources list row. Creates, updates or deletes campaign_sources signal rows and creates or updates signal_topics (active only when the campaign is active and every_morning is on, else paused; new topics get a 1500 credit monthly cap and 50 a day). On a draft any campaign_sources change clears the sample approval (trigger). Writes plan.sources. No credits now; active topics spend credits on their daily runs.

Good to know:

  • Calling it at all on a draft clears the sample approval, because the list row is always deleted and inserted again.
  • Leaving starting_list.enabled out turns the starting list ON.
  • A signal that cannot run (for example no searches) is saved with its row switched off and a problem line.
  • Topic status follows campaigns.active, not campaigns.status: an active campaign gets active topics.
  • Not for campaigns built with build_campaign: the setup chooses its sources from spec.arrival and spec.triggers.
WhenMessageWhat to do
No campaign matchesNo campaign "<ref>" in this workspace.Call list_campaigns and pass the id.
A partial name matches several campaigns"<ref>" matches several campaigns: <names>. Use the exact name or id.Pass the id or the exact name.
The caller is not org_admin or superadminOnly a workspace admin can do this.Use an admin connection.
A topic insert failsSomething went wrong: Saving the signal failed: <db error>Check the signal's source and config.

Example call:

{
  "name": "set_sources",
  "arguments": {
    "campaign": "Austin dental clinics",
    "starting_list": {
      "enabled": true,
      "description": "Independent dental clinics in Austin"
    },
    "every_morning": {
      "enabled": true,
      "signals": [
        {
          "name": "Hiring front desk",
          "source": "job_postings",
          "config": {
            "role": "front desk",
            "location": "Austin"
          }
        }
      ]
    }
  }
}

Example result:

{
  "campaign_id": "3f1c0b7e-...",
  "status": "draft",
  "plan_version": 6,
  "sample_approved": false,
  "plan": {
    "sources": {
      "starting_list": {
        "enabled": true,
        "description": "Independent dental clinics in Austin",
        "filters": []
      },
      "every_morning": {
        "enabled": true,
        "signals": [
          {
            "id": "c1...",
            "name": "Hiring front desk",
            "source": "job_postings",
            "topic_id": "t1...",
            "problem": null
          }
        ]
      }
    }
  }
}

fetch_sample

Who: Admins. Level: act. Confirms: no.

Runs the campaign-sample edge function (action sample): Montana screens a pool, keeps up to 10 companies, answers the checks, scores them and saves them as campaign_leads. It also stores the run so mark_sample can approve it. Use it on the older builder path, or when more_leads says the three free runs for today are used.

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign id (uuid), exact name (case insensitive), or a part of the name that matches only one campaign in the workspace. Resolved by findCampaign. A slug is not matched. Several partial matches give an error listing them.
countnumbernoAny number. Default: 10. IGNORED. run() never passes it on; the sample is always up to 10 companies.
notesstringnoA calibration note in plain words. Kept as the run's guidance notes for this and later runs.

Returns: The campaign-sample body: { run_id, cost_cents, companies[], estimated_full_count, estimated_full_cents, empty, message, thinking, suggestions, changes, pool, guidance, action, verdicts }. Each company has company_id, name, score, parts, answers (per check), facts, reasoning, already_in and weak. An empty run returns companies: [], empty: true, cost_cents 0, a message, and reason search_failed when the search did not answer.

Changes: Upserts campaign_leads for each company kept (status ready at or above the add threshold, review between thresholds, not_added below, dismissed when the core check failed, not_added when the company is live in another campaign), lead_check_answers, a campaign_sample_runs row, and campaigns.sample_run_id. May create new companies from a fresh search. Starts a background lookup of decision makers (campaign-keep-finding contacts_only), which can spend credits. Charges 4 credits (cents) per company shown, so up to 40, through spend_reserve and spend_settle; free for a draft's first 3 sample, rerun or more runs of the UTC day, and free for a self serve workspace in sandbox until it holds 30 campaign leads. An empty or failed run charges nothing.

Good to know:

  • On a draft built with build_campaign the first three runs a day are already used up by build_campaign and more_leads; this tool is the paid fourth run.
  • An empty run's run_id is not saved on the campaign, so mark_sample would approve the previous run.
  • summary counts companies returned, and cost is in cents, which equal credits on a self serve workspace.
WhenMessageWhat to do
No campaign matchesNo campaign "<ref>" in this workspace.Call list_campaigns and pass the id.
A partial name matches several campaigns"<ref>" matches several campaigns: <names>. Use the exact name or id.Pass the id or the exact name.
The caller is not org_admin or superadminOnly a workspace admin can do this.Use an admin connection.
The wallet refuses the reservation (HTTP 402)campaign-sample failed (402)Tell the person credits are short; check credits_overview.
The run crashesThe function's error, or "The sample run failed; nothing was charged"Retry once.

Example call:

{
  "name": "fetch_sample",
  "arguments": {
    "campaign": "Austin dental clinics",
    "notes": "Skip chains, independent clinics only"
  }
}

Example result:

{
  "run_id": "5d2e...",
  "cost_cents": 0,
  "empty": false,
  "estimated_full_count": 240,
  "estimated_full_cents": 960,
  "companies": [
    {
      "company_id": "a1...",
      "name": "Barton Creek Dental",
      "score": 78,
      "facts": {
        "category": "Dentist",
        "place": "Austin, TX",
        "size": "12 people"
      },
      "weak": false
    }
  ],
  "action": "sample"
}

mark_sample

Who: Admins. Level: act. Confirms: no.

Marks the campaign's sample as approved through mcp_campaign_approve_sample (which calls campaign_approve_sample as the person). An approved sample is what campaign_launch needs on the older builder path.

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign id (uuid), exact name (case insensitive), or a part of the name that matches only one campaign in the workspace. Resolved by findCampaign. A slug is not matched. Several partial matches give an error listing them.
runstringnoA sample run id from fetch_sample. Default: campaigns.sample_run_id (the last saved run). Any text is accepted; the database does not check that the run exists.

Returns: { approved_at, run_id, scoring_version } from the database.

Changes: Sets campaigns.sample_approved_at, sample_run_id and sample_scoring_version. No credits.

Good to know:

  • On a draft the approval is cleared again by any change to campaign_sources or campaign_checks, or a switch of ICP. Approve last, just before launch.
  • Not needed for a campaign built with build_campaign: launch_campaign approves its sample itself.
WhenMessageWhat to do
No campaign matchesNo campaign "<ref>" in this workspace.Call list_campaigns and pass the id.
A partial name matches several campaigns"<ref>" matches several campaigns: <names>. Use the exact name or id.Pass the id or the exact name.
The caller is not org_admin or superadminOnly a workspace admin can do this.Use an admin connection.
No run given and none savedNo sample run to approve. Fetch one first with fetch_sample.Run fetch_sample first.
Database refuses (not an admin of that workspace)Only a workspace admin can do this.Use an admin account.

Example call:

{
  "name": "mark_sample",
  "arguments": {
    "campaign": "Austin dental clinics"
  }
}

Example result:

{
  "approved_at": "2026-12-02T15:04:11Z",
  "run_id": "5d2e...",
  "scoring_version": 2
}

set_scoring

Who: Admins. Level: act. Confirms: no.

Saves the weights, the thresholds and the yes or no checks through mcp_campaign_save_score_settings (campaign_save_score_settings as the person). Each save bumps the score settings version and writes a version snapshot. Sent values are also merged into plan.scoring and plan.checks.

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign id (uuid), exact name (case insensitive), or a part of the name that matches only one campaign in the workspace. Resolved by findCampaign. A slug is not matched. Several partial matches give an error listing them.
settingsobjectno{ fit_weight, intent_weight, reach_weight, add_threshold, review_threshold }, all integers. Default: Each key left out keeps the campaign's value, else 55, 25, 20, 70, 40. Weights at least 0. Thresholds 0 to 100. Weights are not checked to add up to 100.
checksarray of objectsno{ key, label?, question?, part: fit/intent/reach, enabled?, position?, source? }. Default: Left out, the checks are not touched. REPLACES the list: every stored check whose key is not sent is deleted. A check with no key or a part other than fit, intent or reach is skipped silently, so a list of only bad checks deletes all checks. label defaults to key, enabled to true, position to 0, source to custom.

Returns: The campaign plan after the save: { campaign_id, name, status, plan, plan_version, icp_id, sample_approved }. The new score settings version is only in the summary line.

Changes: Upserts campaign_score_settings (version plus one), upserts and deletes campaign_checks, inserts campaign_score_settings_versions (note "Changed over MCP"). Any check change on a draft clears the sample approval. No credits.

Good to know:

  • Checks sent here lose the core and stage fields the drafter writes, because the upsert does not set them; existing values stay on update, new rows get the column defaults.
  • Leads already scored are not rescored by this call.
WhenMessageWhat to do
No campaign matchesNo campaign "<ref>" in this workspace.Call list_campaigns and pass the id.
A partial name matches several campaigns"<ref>" matches several campaigns: <names>. Use the exact name or id.Pass the id or the exact name.
The caller is not org_admin or superadminOnly a workspace admin can do this.Use an admin connection.
A setting is not a whole numberPostgres cast error textSend integers.

Example call:

{
  "name": "set_scoring",
  "arguments": {
    "campaign": "Austin dental clinics",
    "settings": {
      "add_threshold": 65
    }
  }
}

Example result:

{
  "campaign_id": "3f1c0b7e-...",
  "status": "draft",
  "plan_version": 7,
  "plan": {
    "scoring": {
      "fit_weight": 55,
      "intent_weight": 25,
      "reach_weight": 20,
      "add_threshold": 65,
      "review_threshold": 40
    }
  }
}

set_reps

Who: Admins. Level: act. Confirms: no.

Replaces the campaign's reps and their round robin order through mcp_campaign_set_reps. New leads added to the campaign are assigned to the active rep who was assigned least recently.

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign id (uuid), exact name (case insensitive), or a part of the name that matches only one campaign in the workspace. Resolved by findCampaign. A slug is not matched. Several partial matches give an error listing them.
repsarrayyesEach item a person's name (partial), email, id or "me", or { rep, active }. At least one. Order sets position 0, 1, 2 and so on. active defaults to true. Each person is resolved with findPerson inside the workspace; any role is accepted, not only agents.

Returns: The campaign plan after the save: { campaign_id, name, status, plan, plan_version, icp_id, sample_approved } with plan.reps.order as the profile ids in order.

Changes: Upserts campaign_reps (position, active) and deletes reps not in the list. Writes plan.reps. No credits.

Good to know:

  • Optional before launch: campaign_launch adds the person launching (or the workspace's first admin) as a rep when none is active.
  • Does not reassign leads already in the campaign.
WhenMessageWhat to do
No campaign matchesNo campaign "<ref>" in this workspace.Call list_campaigns and pass the id.
A partial name matches several campaigns"<ref>" matches several campaigns: <names>. Use the exact name or id.Pass the id or the exact name.
The caller is not org_admin or superadminOnly a workspace admin can do this.Use an admin connection.
reps emptyGive at least one rep.Pass one or more people.
A name matches nobodyNobody called "<ref>" in this workspace.Call list_team and use an email or id.
A name matches several people"<ref>" matches several people: <names>. Be more specific.Use the email or id.

Example call:

{
  "name": "set_reps",
  "arguments": {
    "campaign": "Austin dental clinics",
    "reps": [
      "Nabil",
      {
        "rep": "sara@acme.com",
        "active": false
      }
    ]
  }
}

Example result:

{
  "campaign_id": "3f1c0b7e-...",
  "plan_version": 8,
  "plan": {
    "reps": {
      "order": [
        "p1...",
        "p2..."
      ]
    }
  }
}

set_cadence

Who: Admins. Level: act. Confirms: no.

Replaces all the campaign's cadence steps with the ones given, with a channel, a wait and a title each. Steps get no subject or body. Replacing the steps deletes every lead's own drafted email (approved ones too) and every LinkedIn step written for the old steps, so when the campaign has lead drafts, LinkedIn steps or a running cadence the first call only returns a preview with those counts, and the same call with confirm: true replaces them. Older builder path; the cadence tools (get_cadence, write_cadence, edit_step, set_step_wait) change steps without losing drafts.

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign id (uuid), exact name (case insensitive), or a part of the name that matches only one campaign in the workspace. Resolved by findCampaign. A slug is not matched. Several partial matches give an error listing them.
stepsarray of objectsyes{ channel, delay_minutes?, title?, active? }. Default: channel call; delay_minutes 0; title "First dial" for the first step, else "Follow-up N"; active true. Channel one of call, task, email, sms, linkedin_connect, linkedin_message, linkedin_engage. delay_minutes rounded and at least 0. Delay_minutes is the wait before that step. active is read though the schema does not list it.
confirmbooleannoTrue or false. Default: false. Needed only when lead drafts, LinkedIn steps or a running cadence would be affected. Leave it out first and show the preview to the person.

Returns: Preview (drafts, LinkedIn steps or a running cadence, and no confirm): campaign_id, preview true, cadence_running, old_steps, new_steps, drafts_deleted, approved_or_edited_drafts_deleted, linkedin_steps_deleted, note, needs. After the save: the campaign plan { campaign_id, name, status, plan, plan_version, icp_id, sample_approved } with plan.cadence.steps, plus drafts_deleted and linkedin_steps_deleted.

Changes: Deletes every campaign_steps row of the campaign and inserts the new ones (copy_status takes the column default, approved). Lead drafts (cadence_drafts) and LinkedIn steps on the old steps are deleted with them; this cannot be undone. Writes plan.cadence. Does not change cadence_status and does not move leads already waiting on old steps. No credits.

Good to know:

  • Email, text and LinkedIn message steps are saved with no words; approve_cadence refuses a message step with an empty body, so write the words (edit_step or write_cadence) first.
  • With no lead drafts, no LinkedIn steps and the cadence not running, it saves on the first call with no preview.
WhenMessageWhat to do
No campaign matchesNo campaign "<ref>" in this workspace.Call list_campaigns and pass the id.
A partial name matches several campaigns"<ref>" matches several campaigns: <names>. Use the exact name or id.Pass the id or the exact name.
The caller is not org_admin or superadminOnly a workspace admin can do this.Use an admin connection.
steps emptyGive at least one cadence step.Pass steps.
Unknown channelUnknown step channel "<channel>". Use call, task, email, sms, linkedin_connect, linkedin_message, linkedin_engage.Use a listed channel.
Removing the old steps failsCould not remove the old steps: <reason>Try again; nothing was replaced.

Example call:

{
  "name": "set_cadence",
  "arguments": {
    "campaign": "Austin dental clinics",
    "steps": [
      {
        "channel": "call"
      },
      {
        "channel": "email",
        "delay_minutes": 1440,
        "title": "Intro email"
      },
      {
        "channel": "call",
        "delay_minutes": 2880
      }
    ]
  }
}

Example result:

{
  "campaign_id": "3f1c0b7e-...",
  "plan_version": 9,
  "plan": {
    "cadence": {
      "steps": [
        {
          "channel": "call",
          "delay_minutes": 0,
          "title": "First dial"
        },
        {
          "channel": "email",
          "delay_minutes": 1440,
          "title": "Intro email"
        },
        {
          "channel": "call",
          "delay_minutes": 2880,
          "title": "Follow-up 2"
        }
      ]
    }
  }
}

launch_campaign

Who: Admins. Level: act. Confirms: yes, preview first, then the same call with confirm: true.

Two step launch. Without confirm: true it only returns a preview (sample count, cost estimate, what is missing, what would send). With confirm: true it runs the shared launchCampaign: the draft goes live, ready sample leads at or above the add threshold are added, finding new leads every day turns on with a 7 day review window, and the starting list is built and charged in the background. Works for both the setup path and the builder path.

ArgumentTypeRequiredAccepts, default and limits
campaignstringyesCampaign id (uuid), exact name (case insensitive), or a part of the name that matches only one campaign in the workspace. Resolved by findCampaign. A slug is not matched. Several partial matches give an error listing them.
confirmbooleannoTrue, or the text "true". Default: not set: preview only. Only exactly true launches. Show the preview to the person and get their yes first.
forcebooleannoTrue. Default: false. Launches a setup draft with 1 or 2 sample leads. Never overrides 0 sample leads or a sample still running. Use only when the person said to launch anyway.

Returns: Preview: { campaign_id, preview: true, sample_approved, estimate, sample_leads, refuses?, has_source, has_rep, has_cadence, what_will_send, note }. estimate is the campaign_setup_estimate object (per_lead, start_count, start_cost, daily_new, month_cost, budget, budget_left, balance, warning, note). sample_leads is null for a campaign without plan.setup. refuses is present when the launch would be refused. what_will_send is the sendSummary object or null. Launch: { ok: true, campaign_id, status: "live", starting, note }. starting is the start_count being checked for the starting list.

Changes: On confirm, for a draft: approves the sample (setup campaigns only), switches on or creates the list source unless the setup's arrival is trigger, calls mcp_campaign_launch (status live, active true, adds the launcher as rep when none, applies the sample verdicts), then adds the ready sample leads at or above add_threshold through mcp_campaign_add_leads (enrollments, rep assignment). For every campaign: sets keep_finding true, review_until now plus 7 days when empty, daily_new_leads and monthly_budget_credits from the setup when empty, splits the monthly budget across the campaign's signal topics as their caps. Then in the background: decision maker lookups, the starting list run (campaign-build-list start with limit start_count, then slices), and lookups again. The starting list charges credits per company checked (credit_rates lead_check) and per contact found; finding every day keeps spending within the monthly budget. Not undoable.

Good to know:

  • Read campaign_status first on a setup campaign and tell the person the starting list size (up to start_count), the daily pace and the monthly budget.
  • has_rep and has_cadence false do not block: a rep is added automatically and a cadence is optional.
  • A missing source never blocks from this tool: launchCampaign switches on the list source when none is on.
  • On a campaign that is not a draft (live or paused) it skips the launch step but still turns keep finding on and starts a NEW starting list run, which charges again. It does not resume a paused campaign, yet the result still says status live. Use set_campaign_paused to resume.
  • Added leads join the cadence only if the campaign adds new leads on its own (cadence_auto_add, off for campaigns made since 1 December); otherwise they wait in their week's list for add_lists_to_cadence. Nothing sends until the cadence is approved (approve_cadence).
  • By the code: launchCampaign approves the sample before it switches the list source on, and the campaign_sources trigger clears a draft's sample approval on that change, which could make campaign_launch report sample missing. Not verified against the live database.
WhenMessageWhat to do
No campaign matchesNo campaign "<ref>" in this workspace.Call list_campaigns and pass the id.
A partial name matches several campaigns"<ref>" matches several campaigns: <names>. Use the exact name or id.Pass the id or the exact name.
The caller is not org_admin or superadminOnly a workspace admin can do this.Use an admin connection.
Setup draft whose sample is still runningThe sample is still running. Wait for its leads, then launch.Read campaign_status until the sample is done.
Setup draft with 0 sample leadsThe sample found no leads, so the campaign was not launched. Try the sample again, or change who it targets.Run more_leads or change the audience with build_campaign.
Setup draft with 1 or 2 leads and no forceOnly <n> sample lead(s) so far. Find more first, or say launch anyway.Run more_leads, or pass force: true if the person says so.
Builder draft without an approved sampleCannot launch <name>: The campaign still needs: sample.fetch_sample then mark_sample, then launch.

Example call:

{
  "name": "launch_campaign",
  "arguments": {
    "campaign": "Austin dental clinics",
    "confirm": true
  }
}

Example result:

{
  "ok": true,
  "campaign_id": "3f1c0b7e-...",
  "status": "live",
  "starting": 50,
  "note": null
}