Docs
MCPPricingGo to Sales Montana

MCP server

MCP workflows, step by step

The exact order of tool calls for the jobs people ask for most. Each step that is marked confirm means: call once, show the preview to the person, and call again with confirm: true only after they say yes.

Staff working in a customer's workspace: pass workspace on every call below.

Create a campaign with Montana's setup tools

This is the way to make every new campaign. It is the same flow Montana runs in the app chat. Admins only.

  1. setup_context. Read what the workspace has: mailboxes, phone numbers, LinkedIn accounts, reps, credits, the plan and its default monthly budget (a third of the plan's credits), prices per lead and per piece of contact data, what the business sells, and the other campaigns.
  2. Ask the person what you do not know yet, in this order, a few questions at a time: the goal (only if unclear), then the kind of company, its size, where, and the buyer's title; then how new leads should arrive (companies that fit, every day; only companies showing a trigger such as a job post; or both) and the channels. Give each question three or four options backed by what setup_context showed, with one recommended. Never guess a place; offer only places the person named or the business serves. Work out contact data, budget and pace yourself from the channels and the plan.
  3. build_campaign with the whole spec: goal, lead_shape, audience, industries, places (or ["anywhere"]), size, titles, why_now, channels, arrival, triggers, monthly_budget, start_count, daily_new, and the person's choices word for word in answers. It creates a draft campaign, saves the plan, starts a free sample of about 10 real leads in the background, and drafts a suggested cadence (nothing sends). It refuses a campaign with no place, with no audience, and a twin of an existing campaign with the same industries and places unless separate: true.
  4. campaign_status on the next turn, before quoting any number. It shows whether the sample is running, done, empty or failed, and the leads found. Never launch on an empty or failed sample.
  5. Adjust on the same campaign: build_campaign with campaign and only the changed fields of spec (changing who it targets takes a fresh sample), more_leads for 10 more sample leads (free up to 3 runs a day), remove_leads to drop wrong ones (later samples learn from it).
  6. estimate_cost before launch: the cost per lead, the starting list, the month, and how long the budget lasts.
  7. launch_campaign, confirm. Only when the person asks to launch. The preview gives the sample count, the cost and anything missing. With confirm: true the campaign goes live, ready sample leads are added, the starting list is built and charged, and daily finding starts within the monthly budget. New leads wait in the review queue for the first 7 days. It refuses with fewer than 3 sample leads unless the person said to launch anyway (force: true).
  8. The cadence is next: see add a batch to a cadence and start it. The campaign finds leads; nothing is sent until the cadence is approved, has a mailbox, and a batch is added.

The older step by step builder (draft_campaign, update_icp, set_sources, fetch_sample, mark_sample, set_scoring, set_reps, set_cadence, launch_campaign) still works. Use it only to fine tune checks, scoring or reps, or for a campaign that was made with it.

Import leads and load each lead's own drafts

Use this when the person brings their own leads and their own email for each one.

  1. get_cadence and cadence_settings for the campaign. Note approve_each_email and montana_writes, and which step numbers are email steps.
  2. set_cadence_settings with settings: { "montana_writes": false }. Do this before anything else, so Montana's background writer does not write drafts for these leads first.
  3. import_leads, confirm. Up to 200 leads a call, each with name, phone, email, website and anything you know. Repeat for more. Numbers already in the workspace are reused; do not call and bad numbers are skipped.
  4. write_cadence or edit_step if the step's general copy needs words, then approve_step_copy for each email step. A step whose copy is still draft sends nothing, not even approved lead drafts.
  5. set_lead_drafts for one step, up to 200 { lead, subject, body } a call. lead can be the person's email, a contact id, the lead's id, name or phone. If the person has already said these are approved, send approve: true and confirm: true in the same call. Without approve the drafts wait for approval.
  6. Check: list_lead_drafts with status: "pending_approval" should be empty for that step, and get_cadence shows the draft counts.
  7. The leads are in the campaign but not yet in the cadence. Go on with add a batch to a cadence and start it.

If drafts were saved without approval, approve_lead_drafts, confirm, approves them: all of a campaign's, one step's, or chosen draft_ids. Check the ids: if none of them is valid, every waiting draft in scope is approved. To fix one draft, edit_lead_draft with approve: true saves and approves in one call.

Add a batch to a cadence and start it

  1. list_mailboxes. See which mailboxes are connected, which are paused, their daily limits, what each sent in the last 24 hours, and which other cadences already use them.
  2. set_cadence_mailboxes to choose the mailboxes this cadence sends from, and each one's cap per day for this cadence (15 unless set). Do this first. A cadence with an email step cannot start without a connected, unpaused mailbox chosen, and there is no fallback to anyone else's mailbox.
  3. If a chosen mailbox is paused: resume_mailbox_sending, confirm. The preview names every running cadence that would start sending from it.
  4. set_mailbox_limits and set_send_window if the person wants a different daily limit, gap or sending hours.
  5. preview_cadence with up to 3 sample leads: every step, its day and words, and sample emails with the mailbox and time each would go.
  6. test_send, confirm, sends one real step to the person's own address. It never goes to the lead.
  7. list_lead_lists to see the batches (lead lists by week). add_lists_to_cadence, confirm, with lists, a week (a date in that week) or all_ready: true. Waiting leads in those lists start at step 1. Or set_cadence_auto_add with on: true so every new lead joins at once.
  8. go_live_check. It lists what still blocks sending: steps not approved, no leads, no mailbox, paused mailboxes, drafts waiting for approval.
  9. Start, one of:
    • set_cadence_running with on: true, confirm. Starts it and keeps the approval setting as it is: with approve each email on, only approved emails go.
    • approve_cadence, confirm. Approves every step's copy and every waiting draft, turns approve each email off so Montana's later emails send as written, and starts it. It checks the steps, the mailbox, empty steps and unfilled placeholders before changing anything.
    • set_pilot_mode on, confirm. Goes further: new leads skip review too. If the start is refused, its earlier changes stay, so check go_live_check first.
  10. Confirm it moved: campaign_status or about_campaign should say "Live, cadence sending", and upcoming_sends shows the next emails with times.

Why are emails not sending?

Work down this list. Stop when you find the cause.

  1. about_campaign or campaign_status: is the state "Live, cadence sending"? A draft or paused campaign, or a cadence that is not started, sends nothing. set_campaign_paused with paused: false resumes a campaign; set_cadence_running starts a cadence.
  2. go_live_check: steps not approved, no mailbox, mailboxes paused, drafts waiting for approval, no leads in the cadence.
  3. cadence_results: per step, emails_waiting_to_send and waiting_because. Read the reasons:
    • daily_limit: the mailboxes hit their limit. Remember the mailbox's own daily limit is shared by every cadence and manual email using it; the cadence cap is per cadence. Add mailboxes or raise limits with set_cadence_mailboxes and set_mailbox_limits.
    • mailbox gap: normal pacing between emails from one mailbox.
    • outside_hours: outside the send window, on the lead's clock.
    • draft waiting for approval or approval: approve drafts (approve_lead_drafts) or switch approval off (set_cadence_writing with approve_each_email: false).
    • step copy not approved: approve_step_copy.
    • waiting for Montana to write: Montana is writing the lead's email; it will go within a few hours, or write_lead_emails writes it now.
    • earlier step not sent yet: the follow up guard. The earlier email has not reached this person yet; fix why that one is waiting.
    • step delay not passed: the step's wait has not passed since the earlier email was sent.
    • draft fails the approval check: the lead's email has a blank field, a greeting with a title and no name, or no address. list_lead_drafts shows its problems; fix the words with edit_lead_draft, or the lead, or the mailbox's sender name.
  4. upcoming_sends for one lead: the next step, the exact email, the mailbox, the time it can go, why it waits, and problems with the email itself.
  5. queue_status for the call side: how many leads are queued and due.
  6. campaign_emails for what was really sent, replies, bounces and failures.

"Completed" in cadence numbers means handed to the sender, not sent. Never report a completed count as emails sent.

Remove leads

Pick the tool by how far the lead should go:

GoalTool
Stop the cadence for some leads, keep calling themremove_from_cadence (acts at once, no preview; they stay in the dial queue as calls only)
Take leads out of a campaign's cadence and dial queueremove_from_cadence with exit_campaign: true
Take leads out of one campaign, and teach its finding to avoid ones like themremove_leads, confirm (undo puts them back)
Turn down leads waiting in the review queuedecide_review with decision: "dismiss" and a reason
Remove leads from the whole workspace, nothing deletedarchive_leads, confirm (restore_leads brings them back)
Never call a number againadd_to_dnc
Never email an address again (and stop its cadences, like an opt out)block_email (unblock_email takes it off)
Stop everything in a campaignset_cadence_running off, or set_campaign_paused

Send leads as a real list of ids, names, phones or emails. Ids are safest when names repeat.

Deals and stages

  1. get_campaign lists the campaign's deal stages and the deals in each.
  2. edit_deal_stages to add (action: "add", with before or after), rename, move or remove a working stage. Removing a stage with deals in it needs move_deals_to. Won and Lost can be renamed but not removed. Admins only.
  3. create_deal with lead, campaign, stage (key or name) and value in dollars (or value_cents). A lead has one open deal: setting a stage moves it.
  4. list_deals (filter by campaign, stage, owner, or stale_days for deals that have not moved) and move_deal with deal_id and the new stage.

Keep an outside sender off clients

A script that sends email outside Sales Montana (your own sender, an agency's tool) must never write to a signed client or to anyone who asked not to be contacted. do_not_email_list gives it the full list, a page at a time.

  1. In Sales Montana, Settings, Email and apps, AI assistants, make a personal token at the Read only level, signed in as an admin or rep of the workspace. The token reaches only that workspace and can only read.
  2. The script calls the tool with JSON-RPC over POST, limit up to 500, and follows next_offset until it is gone:
curl -s https://app.salesmontana.com/mcp \
  -H "Authorization: Bearer smpat_your_token" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"do_not_email_list","arguments":{"limit":500,"offset":0}}}'
  1. The reply's result.content[0].text is JSON: total, rows and next_offset while more remain. Each row has company, domain, emails, phones and reasons (each with since). Refuse any address in a row's emails, and treat a row's domain as taken.
  2. By default a client is a lead with a deal in a won stage, Pending Onboarding or Contracted, or with its own stage Won. Pass stages (for example ["Won", "Contracted"]) to use your own stage names. Leads marked do not contact, phones on the do not call list and every address on the do not email list are always in it.
  3. Read it fresh before each send run; it is read only and cheap.

Calls only leads

To put a lead in a campaign's dial queue without the campaign's cadence ever emailing it, enrol it with calls_only: true (enrol_lead, add_leads_to_campaign, create_lead, import_leads or decide_review). It stays out of the cadence for good, even if set_cadence_auto_add is turned on later, and add_lists_to_cadence skips it. get_lead shows calls_only: true on its queue, and cadence_people with status: "not_in_cadence" lists it as "Calls only".

The review queue

  1. list_review_queue for a campaign: leads waiting in review (or another status), best score first, with the signal and decision makers for each.
  2. Show them to the person. decide_review with a list of { company, decision, reason }, where decision is add or dismiss. Adding puts the lead in the campaign with the next rep. Dismissing marks it Lost with the reason, which later finding learns from.
  3. set_lead_finding with auto_add decides whether future leads skip review.

Signals

  1. list_signal_topics for a campaign: the job post and LinkedIn post searches it watches each morning.
  2. edit_signal_topic with op set to add (with kind: "job_postings" and role, location, days, or kind: "linkedin_posts" and searches), update, on, off or remove. Up to 12 per campaign.
  3. set_lead_finding for how many new leads a day and the monthly budget.
  4. credits_overview for what finding is spending.

Reporting

QuestionTool
How is a campaign doing?campaign_report with a period
How did the team do?team_report (admins)
How is the cadence doing, step by step?cadence_results, then cadence_people for who replied, bounced or is stuck
What did we send, what came back?campaign_emails, email_opens
Call qualityqa_report, list_calls, get_call
Calls we missedmissed_calls
Creditscredits_overview

Mistakes we have seen, and how to avoid them

Approving and confirming in two separate steps, or sending confirm as text. An assistant sent confirm: "true" as text and kept getting the preview back. Send real booleans. When the person has already approved drafts you are loading, use set_lead_drafts with approve: true, confirm: true in one call.

Reading "completed" as "sent". "Completed 260, sent 61" was read as lost emails. They were queued behind the mailboxes' daily limits. Read emails_waiting_to_send and waiting_because.

Forgetting that cadences share mailbox limits. A mailbox's daily limit counts everything it sends. Two cadences on the same ten mailboxes split one limit, and the gap applies across both. Check list_mailboxes before promising a pace.

Montana's drafts racing loaded copy. Leads drafted by Montana before the person's own copy arrived. Set montana_writes: false before loading. Montana never overwrites a draft, but it can write one first, and with approve each email off a Montana draft can send before you replace it.

Expecting a follow up to go first. A later email never goes before the earlier one reached the person, and it goes in the same thread from the same mailbox. If step 1 is stuck, step 2 waits too. Fix step 1.

Starting a cadence with no mailbox. Emails used to go from a lead owner's own mailbox when none was chosen. That fallback is gone, and the start is now refused. Choose mailboxes first.

Adding leads and expecting the cadence to work them. Campaigns made since 1 December do not add new leads to the cadence on their own. Add the batch with add_lists_to_cadence, or turn on auto add. A campaign with 146 leads and none in the cadence sends nothing: go_live_check, upcoming_sends, cadence_results and set_cadence_running all say "146 leads are in this campaign but not in the cadence, so nothing sends". Before 2 December they counted those leads as scheduled.

Editing a step and expecting it to keep sending. Changing a step's words puts it back to draft, and nothing on it sends until approve_step_copy.

Running in the wrong workspace. A staff call without workspace runs in the staff member's own workspace. Name the workspace at the start and pass it every time.

Writing to the database directly. It skips permissions, the log, the undo, the confirmation and the record of who started what. Always use the tools.