ConnfigConnfig Docs
Tool Reference

Campaign Read Tools

The 6 MCP tools that read campaigns, templates, sending domains, send history and the email quota.

With these tools your assistant reads the state of your campaigns, your saved templates, the sending domains you can use and the results of each email sent. None of them change data or send email. All six need the Campaigns permission.

To start and manage campaigns, see Campaign Write Tools. For templates and test emails, see Campaign Extras.

How to check a campaign's results

  1. Your assistant gets the campaigns and their recipient counts with list_campaigns.
  2. It opens the campaign you care about with get_campaign and shows how recipients split by status.
  3. For opens, clicks and bounces, it calls get_campaign_history with the campaign name.
  4. It checks how many sends you have left with get_mail_usage.

Tools

list_campaigns

Lists the workspace's campaigns, newest first. For each campaign it returns the name, subject, status, audience, planned start, start and finish times, and recipient counts by status (recipients).

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
statusenumNodraft, running, paused, completed, cancelled
limit / offsetnumberNoPaging. limit 1–200, default 50.

Recipient statuses: pending (in the queue), scheduled, sending, sent, failed, bounced, unsubscribed, skipped.

Ask your assistant: "List the campaigns that are sending right now and show how many recipients each one has reached."

get_campaign

Returns all settings of one campaign and how its recipients split by status (recipient_breakdown). The full recipient list is not included. Only the first 500 characters of the email body come back, as a preview (body_html_preview).

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
campaign_idstring (UUID)YesCampaign ID

Ask your assistant: "Open the November sale campaign. How many recipients are still waiting in the queue?"

list_campaign_templates

Lists the workspace's saved email templates, most recently updated first: name, subject, reply address, audience and dates.

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
limit / offsetnumberNoPaging. limit 1–200, default 50.

Ask your assistant: "List my saved templates, most recently edited first."

get_mail_usage

Compares the number of emails sent this period with the plan limit. The period runs monthly from the day the subscription started. The quota is charged to the workspace owner's account, so you see the same numbers in every workspace of that owner.

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID

Fields in the answer:

FieldMeaning
planIdThe owner's plan
limitSending limit per period. null means unlimited.
usedEmails sent this period
remainingWhat is left. null when there is no limit.
periodStart / periodEndWhen the period started and when the quota resets
hasOverridetrue when the account has a custom limit instead of the plan's

Ask your assistant: "How much of my email quota have I used this period, and when does it reset?"

list_sending_domains

Lists the domains that can send campaigns in this workspace. The list includes the workspace owner's Connfig Mail domains and other sending domains together.

  • For each domain you get the ID (id), name, verification status (status, true when verified), whether it is turned off (isDisabled), the sender name (senderHeader) and sender address (senderName), the daily sending limit, and today's and total send counts.
  • The owner and trusted users (trusted) see every domain.
  • A member limited to specific domains sees only the ones opened to them. If none are opened, the list is empty.
ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID

Campaigns send from the verified domains in this list that are not turned off. To choose which domains a member can send from, pass these id values in allowed_domain_ids of update_workspace_member. To add and verify domains, see Domain Tools.

Ask your assistant: "List my sending domains. How many emails went out from each today, and what are the daily limits?"

get_campaign_history

Lists sent emails one by one, newest first: recipient, subject, campaign name, send and delivery time, open, click and bounce times, whether a reply came in, and the error state.

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
campaign_namestring (up to 200)NoText contained in the campaign name
startstring (ISO date-time)NoCreated after this time
endstring (ISO date-time)NoCreated before this time
limit / offsetnumberNoPaging. limit 1–200, default 50.

start and end work independently, so you can send just one of them. Open times are filled only for emails sent with open tracking on.

Ask your assistant: "Which emails sent last week were opened but not clicked? Break it down by campaign."

Mini scenarios

A weekly campaign summary. Every Monday the marketing lead asks for last week's summary. The assistant finds the completed campaigns with list_campaigns, counts opens and clicks with get_campaign_history and adds the remaining quota from get_mail_usage.

A check before a new campaign. Before a large send, a sales rep asks which domains are ready. The assistant picks out the verified domains that are turned on with list_sending_domains and compares today's send counts with the daily limits.