Skip to main content
Glama
Sequenzy MCP Server

Sequenzy MCP Server

Official
by Sequenzy

Sequenzy MCP Server

Official MCP server for Sequenzy, the AI-powered email marketing platform.

Connect Sequenzy to Claude Desktop, Claude Code, Codex, Cursor, Windsurf, VS Code Copilot, OpenClaw, and other MCP clients so your AI assistant can manage email operations with structured tools instead of hand-written API calls.

Interactive email and sequence previews

In clients that support MCP Apps, including compatible ChatGPT and Claude connections, you can review your saved emails and sequences directly in the conversation.

  • render_email opens the rendered email with Desktop (640px) and Mobile (375px) views, its subject, preview text and personalization warnings. Pass a campaign ID, template ID, or sequence ID plus node ID using the existing tool inputs. It renders your saved content through Sequenzy's email renderer. Personalization and locale options remain available through the same tool.

  • preview_sequence({ companyId, sequenceId }) opens the saved sequence as a connected diagram with triggers, delays, branches and actions. Select an email to render it, switch between available A/B variants, or use the Emails tab to browse the sequence's emails. Random splits show their configured allocation. Refresh reloads saved content, and failed requests offer an explicit retry.

  • list_sequence_email_variations, generate_sequence_email_variations, list_campaign_variations and generate_campaign_variations open the design variations side by side, each rendered as it would send. While some are still generating, the view updates every few seconds for up to five minutes; after a generate call it follows only the new ones. Use for Email 1 and Use for every email (campaigns: Use this design) ask for confirmation, then save through use_sequence_email_variation or use_campaign_variation with your existing permissions and tell your assistant what changed. Nothing changes until you confirm.

In Claude, previews can also open in the side panel or full screen with the expand button in the view's header, and open_sequenzy is listed on Claude's Artifacts page so you can open (and pin) your workspace without asking. These parts of Claude are rolling out gradually; where they are unavailable the previews work as before.

  • open_sequenzy({ companyId? }) opens your workspace: the company's sequences (up to 50) and recent campaigns (up to 25), with a company switcher when your connection reaches more than one. Select a sequence to open its flow or a campaign to render its email; the back link returns to the list. Every input is optional. A list your key cannot read shows as unavailable while the other still loads.

  • While a preview is open, your assistant can change what it shows through tools the view itself offers: get_view_state (what you have open), open_sequence_step, open_sequence, open_campaign_email, show_sequence_overview, set_preview_width and reload_view. After it edits the sequence or email you are looking at, reload_view shows the saved change in place. These tools only change the view; edits go through the usual write tools and permissions. Your client may ask you to approve them.

  • Ask for changes, on an open email, sends your assistant a message naming that email so it can suggest improvements. Nothing changes until you agree to an edit.

Supporting workflows use compact cards in the same Sequenzy style:

  • open_image_upload({ companyId }) opens an image picker. Choose a PNG, JPEG, GIF or WebP up to 10 MB, optionally describe it, then select Upload image. Opening the widget does not write anything. Submission uses upload_image_asset with your existing permissions and returns the saved asset to your assistant. After an uncertain failure, check your image library before retrying; uploads are never automatically retried.

  • monitor_subscriber_import({ companyId, importId }) shows counts and progress for an existing import. It polls get_subscriber_import every five seconds while running, for up to five minutes. Completion, blocked status, errors or leaving the view stop polling. Refresh status restarts monitoring. This does not start or retry imports.

Both widgets pin the company explicitly. Clients without MCP Apps can use upload_image_asset and get_subscriber_import directly; the same operations are available through the existing REST API and CLI.

The sequence preview requires an explicit company ID from get_account and keeps every email render pinned to that company. Previews never activate sequences, enroll subscribers or send email. A/B previews require the existing access to variant content; unavailable variants are shown as unavailable instead of being replaced with the control email.

Email content is isolated from the widget. Scripts, forms, nested frames and link navigation are disabled; external stylesheets and fonts are not loaded. HTTPS email images may load from their original hosts, subject to the client's policy. The widget itself bundles its logo and font and uses authenticated MCP tool calls without exposing credentials. Actual email-client rendering can differ, so use test sends for final inbox verification.

Clients without MCP Apps still receive the existing rendered HTML or sequence data. The same workflows are available through the existing public render and sequence-read endpoints and CLI render/sequence commands. No new REST endpoint or CLI command is needed for this presentation layer.

Related MCP server: Mailjet MCP Server

What You Can Do

Use create_campaign_for_audience for a frozen group of selected contacts or all contacts matching contact/activity filters. It creates a blank draft, reports selected and currently eligible counts, and preserves existing campaign read/update/clear/schedule workflows. The limit is 100,000 contacts and 8 MiB; drafting sends no email.

  • Manage subscribers, tags, lists, and dynamic segments, including bulk tag reconciliation and synthetic event testing.

  • Sync segments to Meta custom audiences for Facebook and Instagram retargeting.

  • Sync contacts and events from Snowflake, BigQuery, Redshift or Postgres on a schedule.

  • Stream email events, custom events and subscriber snapshots to your S3 or GCS bucket for your data warehouse.

  • Manage products and attach digital delivery files for purchase automations.

  • Upload hosted email images with alt text and reusable responsive crop settings.

  • Draft, update, schedule, and inspect campaigns, including resolved audience previews, persisted conversion goals, and From, Reply-To, CC, and BCC identities.

  • Render campaigns, sequence steps, and templates to their exact email-safe HTML without sending.

  • Add one-click Poll and NPS survey blocks to emails and inspect campaign response summaries.

  • Create and edit email sequences, including multi-list/tag triggers, entry-audience and property-filtered stop conditions, sending identity overrides, existing graph restructuring, and direct step test sends to internal reviewers.

  • Cancel, pause, resume, duplicate, or delete campaigns and enroll contacts into sequences.

  • Manage transactional email templates and send transactional emails to shared To, Cc, and Bcc recipient lists.

  • Supply localized template variants or queue AI translation for enabled locales.

  • Create, preview, edit, publish, unpublish, and delete landing pages.

  • Create list-scoped saved signup forms with responsive stack, row, grid, and single-image overlay block groups (including foreground gap controls), then return client-safe static-site embeds.

  • Create, target, publish, duplicate, and deploy saved signup popups with the same recursive block layouts.

  • Connect and verify custom domains for published landing pages.

  • Manage team invitations, the inbox (its address, conversations, replies, forwards), and outbound webhook endpoints.

  • Manage geofences (places the mobile SDKs watch) and bulk-import them by external ID. Visits become app.geofence_* events for sequence triggers and geofence segment filters.

  • Generate email copy, subject lines, and multi-step sequences.

  • Inspect analytics, subscriber activity, deliverability health, company-level sending pauses, integrations, published event payload schemas, sending identities, tracking settings, and dashboard URLs.

  • Inspect whether "Sent with Sequenzy" is visible for a workspace, why the owner subscription does or does not remove it, and open the canonical subscription page for an upgrade or renewal. Entitlement changes apply to future sends from existing live sequences without editing their blocks.

  • Diagnose why sending is paused and restore eligible hard-bounce pauses after confirming list cleanup.

  • Inspect exact-recipient bounce, complaint, and email-hygiene suppression, and clean up eligible stale bounces without exposing the shared SES suppression list.

  • Configure company product info, account-wide sending identity defaults, rename individual sender and reply-to profiles, manage sender domains, and inspect integration examples for common frameworks.

Every published MCP tool includes explicit readOnlyHint, destructiveHint, idempotentHint, and openWorldHint annotations so compatible clients can display accurate tool-use affordances. Any write that overwrites, cancels, deletes, changes a live sequence, or can send email or SMS is marked destructive; tools that can email real contacts, publish a public link, or reach a third-party service are marked open-world. Tools also publish outputSchema definitions (except on the OpenAI-reviewed route) and return structuredContent, giving clients and models machine-readable result shapes for follow-up calls.

Tool results and recovery

Tool failures retain isError: true and readable error text, and also return structuredContent with { success: false, error: { code, message, howToFix, docsUrl } }. HTTP errors include statusCode; a valid API Retry-After header adds retryAfterSeconds. These fields are omitted when unavailable. The OpenAI profile uses safe recovery descriptions and known codes or status-derived fallbacks, omitting raw backend diagnostics.

Use the error code and recovery guidance to choose your next step. The client retries a read (GET) up to 3 times within about 3 seconds after a 502, 503, 504 or network error, waiting out a Retry-After of 5 seconds or less, and never retries a write. After an uncertain send_email outcome, reuse the original idempotencyKey with unchanged input and inspect emailSendId when available. A retry hint alone does not mean repeating a write is safe.

Segment counts and segment-filtered reads fail with SEGMENT_REFERENCE_DEPTH_EXCEEDED or SEGMENT_REFERENCE_COUNT_EXCEEDED when segments reference other segments too deeply or too many times. Retrying does not help; reduce the nesting or the number of references with update_segment first.

Successful results keep their existing shapes. Recoverable partial subscriber event imports retain their counts and row failures without isError; inspect those rows before retrying failed records.

Subscriber writes (add_subscriber, update_subscriber with tag changes, trigger_subscriber_event, trigger_subscriber_events, import_subscriber_events) report sequenceTriggersRan. When it is false with sequenceTriggersSkippedReason: "missing_scope", the key lacks automations:trigger: the write was saved but no sequence started, and warnings says so.

When an account key runs a tool with no selected company and no companyId, the API uses a default company. The result then gets a second text block that names that company; structuredContent is unchanged. Call select_company when the key reaches more than one company.

Quick Setup

The easiest setup path is the Sequenzy wizard:

npx @sequenzy/setup

The wizard opens the browser login flow, creates a personal API key, detects supported AI clients, and configures them automatically when possible.

Hosted Remote MCP

For clients that support Streamable HTTP MCP, use Sequenzy's hosted endpoint instead of running a local stdio process:

https://api.sequenzy.com/v1/mcp

The Sequenzy plugin in the ChatGPT plugin directory uses the reviewed hosted surface, which ChatGPT custom connectors can also add directly:

https://api.sequenzy.com/v1/mcp/openai

That surface shares the same implementation and keeps the standard tool set except for operations that accept or manage credentials, or return unprojected payloads: connect_integration, create_api_key, list_api_keys, update_api_key, revoke_api_key, delete_api_key, request_api_key_handoff, create_data_export, update_data_export, create_warehouse_connection, update_warehouse_connection, preview_warehouse_query, create_webhook, the geofence tools (list_geofences, get_geofence, create_geofence, update_geofence, delete_geofence, import_geofences; they carry place coordinates), list_webhook_deliveries, list_capture_submissions, replay_webhook_delivery, and rotate_sequence_inbound_webhook_secret. It also omits add_website, a compatibility alias of add_sending_domain, and submit_feedback. API keys, including the one behind the ChatGPT connection, are managed in the dashboard. The surface also omits subscription and upgrade links: subscriptionUrl fields, the get_app_urls subscription URL, and the emailBranding tier and upgrade action are removed, and get_app_urls rejects the billing and subscription settings tab aliases. The surface also omits the push credential tools set_apns_credentials and set_fcm_credentials, which take customer private keys as input, and register_push_device, an app-backend call whose required device token the surface's credential policy rejects.

Four tools use clearer names on this surface; standard MCP and the stdio package keep the original names:

Standard MCP

OpenAI-reviewed route

list_websites

list_sending_domains

check_website

get_sending_domain

resend_campaign_to_non_openers

create_non_opener_resend_draft

update_sms_number_label

update_sms_number_settings

edit_sequence_graph is listed there as four single-operation tools with the same validation and behavior: move_sequence_step (move_node), duplicate_sequence_step (duplicate_node), delete_sequence_step (delete_node) and replace_sequence_paths (replace_edges).

OpenAI reviews again any published tool whose definition changes, so two filters keep their approved definitions there until the next plugin submission: list_email_sends describes bounceType as Permanent or Transient (Soft and Blocked are still accepted), and list_sequence_enrollments offers the active, waiting, completed, failed and cancelled statuses and defaults to active and waiting, so paused enrollments are not listed there.

The preview widget on this surface lists the image origins it may load (https://images.sequenzy.com and the Pexels and Unsplash image hosts), so other external images in an email preview show their alt text instead.

Tool annotations disclose supported replacement and irreversible-delivery modes, including automation-triggering actions. Edits to email content that can be live or shown on a public share link are destructive and open-world. Public content, provider changes, tools that fetch URLs or call outside services (link checks, AI drafting that can read URLs, gallery ranking), and membership changes that can start segment-triggered sequences are marked open-world; private draft creation and additive notes remain non-destructive. On the ChatGPT surface each tool's annotation justifications live in src/tools/openai-justifications/, and a tool whose description does not already explain a hint gets an effects sentence appended. Feedback goes to the Sequenzy team through Telegram with the authenticated company name/ID and account email added for attribution, which clients must disclose before sending.

To keep its tool list small, this surface publishes no output schemas (results still include structuredContent).

On every surface, sequence tools describe repeated nested step schemas once and point later fields at the first copy ("Same schema as branches[].steps in this tool."). Those fields accept the same input as before; the server validates nested steps.

Meta's Muse connector uses a smaller hosted surface, because Muse rejects large tool lists:

https://api.sequenzy.com/v1/mcp/muse

It serves about 70 everyday tools from the standard surface (account, subscribers, lists, tags, segments, campaigns, sequences, templates, transactional sends, stats and the inbox) with the same names, inputs and handlers, and keeps tools/list under 200 KB by leaving out output schemas. Tool results still include structuredContent. The large sequence builders (create_sequence, update_sequence, insert_sequence_step) are left out; generate_sequence, create_sequence_from_example and edit_sequence_emails cover the same work. Calls to tools outside the list are rejected. The list is MUSE_TOOL_NAMES in src/tools/muse-profile.ts.

Remote clients should authenticate with the Sequenzy OAuth flow when supported. Local and automation clients can still use the stdio package below with SEQUENZY_API_KEY.

The hosted endpoint and the stdio package support MCP specification 2026-07-28 while remaining compatible with 2025-era clients. Modern HTTP clients use per-request discovery and method headers; existing clients keep working through the same endpoint and package command.

Machine-readable discovery files:

MCP Events

The hosted endpoints (/v1/mcp, /mcp, /v1/mcp/openai and /v1/mcp/muse) support MCP Events, so an agent such as a ChatGPT task can be woken by something that happens in Sequenzy instead of a schedule or a manual prompt. The stdio package does not offer events because it has no callback to deliver to.

server/discover advertises events: {}. The server implements events/list, events/subscribe and events/unsubscribe with webhook delivery; polling, streaming and replay are not offered, so cursor is always null.

Event

Fires when

Optional filters

Permission

email.replied

A subscriber replies to an email you sent

campaign_id, sequence_id

conversations:read

email.bounced

An email you sent bounces

campaign_id, sequence_id

analytics:read

email.complained

A recipient marks an email as spam

campaign_id, sequence_id

analytics:read

poll.answered

A recipient answers a poll in an email

campaign_id, sequence_id

analytics:read

poll.commented

A recipient comments after answering a poll

campaign_id, sequence_id

analytics:read

subscriber.created

A subscriber is added, from any source

list_id, tag

subscribers:read

subscriber.unsubscribed

A subscriber unsubscribes

tag

subscribers:read

campaign.sent

A campaign finishes sending

campaign_id

campaigns:read

sequence.finished

A subscriber reaches the end of a sequence

sequence_id

sequences:read

subscriber_import.completed

A subscriber import finishes

none

subscribers:read

events/list only returns events the connection's permissions can read in the selected workspace. Filters are optional and combine with AND; tag matches the subscriber's tags when the event is processed.

Each delivery is one Standard Webhooks-signed POST with headers webhook-id (equal to eventId), webhook-timestamp, webhook-signature and X-MCP-Subscription-Id, and a body like:

{
  "eventId": "evt_3f2c...",
  "name": "email.replied",
  "timestamp": "2026-10-04T10:00:00.000Z",
  "data": {
    "reply_id": "rep_123",
    "conversation_id": "conv_123",
    "email_send_id": "send_123",
    "subscriber_id": "sub_123",
    "from_email": "jane@example.com",
    "from_name": "Jane",
    "subject": "Re: Our October launch",
    "email_type": "campaign",
    "campaign_id": "camp_123",
    "sequence_id": null,
    "received_at": "2026-10-04T10:00:00.000Z",
    "url": "https://www.sequenzy.com/dashboard/company/<id>/inbox/conv_123"
  },
  "cursor": null
}

Payloads are summaries: IDs, addresses, a subject and a dashboard link. Email bodies, custom attributes and metadata are never included; read the full record with the matching tool (for example get_conversation for a reply). Text such as a reply subject is data written by your contacts, not instructions.

Subscribing and delivery rules:

  • delivery.secret must be whsec_ followed by base64 that decodes to 24-64 bytes. Callback URLs must be HTTPS, may not resolve to a private or local address (checked again at every connection), and redirects are never followed.

  • The callback is verified with a signed {"type":"verification","challenge":"..."} request that must be answered with a 2xx echoing the challenge. A successful verification is reused for that connection and URL for 24 hours. Each workspace may run 30 verifications per callback host per minute, and one host receives at most 600 per minute across all workspaces. Failures return -32015 with data.reason (connection_refused, timeout, tls_error, http_4xx, http_5xx or challenge_failed).

  • Other errors: -32602 for an invalid secret, URL, filter or ttlMs; -32011 (data.kind: "event") for an unknown event; -32012 when the connection lacks the event's permission or has no usable workspace; -32013 for the subscription cap (data.limit: "subscriptions") or the verification limit ("callback_verifications"); -32014 (data.feature: "deliveryMode") for a delivery mode other than webhook. events/list returns an empty list for a connection without a workspace.

  • The subscription ID is derived from the connection, workspace, callback URL, event name and arguments, so subscribing again refreshes the same subscription. A subscription stays in the workspace selected when it was created; refreshing or unsubscribing after select_company switches workspaces still finds it. refreshBefore defaults to 7 days; any ttlMs is clamped to 5 minutes through 30 days, and ttlMs: null is granted 30 days. A new secret on refresh rotates it, and both secrets sign deliveries for 10 minutes.

  • Failed deliveries are retried up to 5 attempts over about 11 minutes with the same eventId and a fresh signature. 410 stops the subscription until the client subscribes again, 413 is not retried, and deliveries stop when the subscription expires, is unsubscribed, or the connection loses access to the workspace or event. Deduplicate on webhook-id: events can repeat or arrive out of order.

  • A workspace can have 25 active subscriptions. Deliveries above 600 per minute per workspace, or 120 per minute per subscription, are dropped. At most 20 deliveries per workspace are in flight at once; others wait up to about 10 minutes, then are dropped. Marketer-role connections do not receive events from transactional emails. Events start reaching a new subscription within about a minute.

Example: in a ChatGPT task, ask "When someone replies to a campaign, draft a reply in my CRM." ChatGPT subscribes to email.replied, and each reply wakes the task with the sender, subject and conversation link.

Data and privacy

Sequenzy sends an MCP client only the data needed for the tool the user asks it to run, within the selected workspace and the key or OAuth scopes granted to that client. Depending on the requested tool, this can include workspace names and IDs; subscriber contact, consent, audience, attribute, event, engagement, reply, survey, and commerce data; campaign and automation content; delivery analytics; and integration or webhook status. See the Sequenzy Privacy Policy for the full categories, purposes, recipients, retention periods, and user controls.

Do not use open-ended custom attributes, events, notes, forms, webhook samples, email variables, or feedback to submit payment-card data, health or medical data, government identifiers, biometric or genetic data, authentication credentials, sensitive demographic data, or precise geolocation.

The OpenAI-reviewed route states and enforces those restrictions on relevant open-ended inputs, including nested attribute paths such as profile.ssn, coordinate pairs such as lat/lng, and labelled prose such as Religion: ... or GPS coordinates: .... It rejects a credential-bearing URL in any argument, whether the credential sits in the userinfo, path, query, or fragment, such as a form or popup redirectUrl with an access token or URL signature. Restricted attribute selectors inside merge tags are rejected without blocking ordinary authored copy about the same topic. On this surface, render_email and check_email accept sample data or a policy-checked inline subscriber, but not subscriberId, so they cannot resolve uninspected stored custom attributes. Its results remove restricted fields, raw API errors, debug payloads, internal request/trace/session identifiers, unnecessary account or credential identifiers, stored credential-bearing URLs, and inbound-webhook URLs. Standard remote MCP and the local stdio package retain the complete contract for trusted clients, including credential-based integration setup, one-time API-key and webhook secrets, inbound-webhook URLs, and detailed API errors. Prefer the dashboard or local CLI when secrets should stay outside an AI conversation.

What the reviewed surface guarantees is bounded. It recognizes restricted data by shape: English field-name words such as passport_id, user.ssn, or api_secret at any nesting depth, labelled prose such as Diagnosis: ..., known credential shapes, decimal coordinate pairs, and credential-bearing URLs inside any string, including HTML. It does not interpret unlabelled prose, non-English field names, or values a client deliberately obfuscates; those remain covered by the usage restriction above rather than by the filter.

Manual Setup

All stdio MCP clients use the same command:

  • Command: npx

  • Args: -y @sequenzy/mcp

  • Required env: SEQUENZY_API_KEY=seq_user_your_key_here

Optional environment variables:

  • SEQUENZY_API_URL - Sequenzy API base URL. Defaults to https://api.sequenzy.com.

  • SEQUENZY_APP_URL - Sequenzy dashboard base URL used by app URL helpers. Defaults to https://sequenzy.com.

Claude Desktop

Add this to your Claude Desktop config:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "sequenzy": {
      "command": "npx",
      "args": ["-y", "@sequenzy/mcp"],
      "env": {
        "SEQUENZY_API_KEY": "seq_user_your_key_here"
      }
    }
  }
}

Restart Claude Desktop after editing the config.

Claude Code

claude mcp add --scope user --env=SEQUENZY_API_KEY=seq_user_your_key_here sequenzy -- npx -y @sequenzy/mcp

On native Windows, wrap npx with cmd /c:

claude mcp add --scope user --env=SEQUENZY_API_KEY=seq_user_your_key_here sequenzy -- cmd /c npx -y @sequenzy/mcp

For a shared project config, use .mcp.json:

{
  "mcpServers": {
    "sequenzy": {
      "command": "npx",
      "args": ["-y", "@sequenzy/mcp"],
      "env": {
        "SEQUENZY_API_KEY": "seq_user_your_key_here"
      }
    }
  }
}

Codex

codex mcp add sequenzy --env SEQUENZY_API_KEY=seq_user_your_key_here -- npx -y @sequenzy/mcp
codex mcp list

Manual Codex config in ~/.codex/config.toml:

[mcp_servers.sequenzy]
command = "npx"
args = ["-y", "@sequenzy/mcp"]

[mcp_servers.sequenzy.env]
SEQUENZY_API_KEY = "seq_user_your_key_here"

Cursor

Install Sequenzy from the Cursor Marketplace for a hosted connection with Sequenzy OAuth. The plugin connects to:

https://api.sequenzy.com/v1/mcp

After installing, complete the browser sign-in flow. Cursor's agent can then use Sequenzy tools from chat, including when Grok is the selected model.

For a manual local stdio setup instead, add this to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "sequenzy": {
      "command": "npx",
      "args": ["-y", "@sequenzy/mcp"],
      "env": {
        "SEQUENZY_API_KEY": "seq_user_your_key_here"
      }
    }
  }
}

Windsurf

Use the same JSON shape as Cursor.

  • macOS: ~/Library/Application Support/Windsurf/mcp.json

  • Windows: %APPDATA%\Windsurf\mcp.json

VS Code Copilot

VS Code uses a servers object:

{
  "servers": {
    "sequenzy": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@sequenzy/mcp"],
      "env": {
        "SEQUENZY_API_KEY": "seq_user_your_key_here"
      }
    }
  }
}

Other MCP Clients

For OpenClaw, Hermes, and other MCP-compatible clients, point the client at npx -y @sequenzy/mcp and set SEQUENZY_API_KEY.

Getting an API Key

  1. Open the Sequenzy dashboard.

  2. Use the MCP setup flow to create a personal key, or open Settings -> API Keys to create a company key.

  3. Choose a permission preset or the exact custom scopes the integration needs.

  4. Add the key to your MCP client config.

Personal keys start with seq_user_. You can revoke them any time in the dashboard.

If the local server starts without SEQUENZY_API_KEY, it still starts and lists its tools, but every tool call returns MCP_AUTH_REQUIRED with a link to create a free account at sequenzy.com/sign-up and the steps above. Add the key and restart the client to continue.

Company keys can also be cleaned up without exposing secrets. Call list_api_keys to compare the key ID, name, non-secret prefix, permissions, last-use timestamp, and isCurrent marker, then pass the exact ID to revoke_api_key. delete_api_key is a compatibility alias for the same permanent operation. List and revoke responses never contain the plain key or stored key hash.

Recover from missing API key permissions

If a tool reports a missing scope such as campaigns:read or templates:write, call get_account. Its apiKeyPermissions field lists the current key identity and type, scopes, common missing marketing read scopes, and a direct manageUrl. The OpenAI-reviewed route returns the same permissions without the user's account ID or the active key's identity. Personal keys open Account API Keys; company keys open the selected workspace's API Keys settings. If the key does not include account:read, open the Sequenzy dashboard directly and choose the matching API Keys page.

Permissions are editable in place, so open manageUrl. For a company key, use list_api_keys and its isCurrent flag to identify the active key before editing it, then retry the failed tool without replacing the credential or restarting the client. An agent using a company key with api_keys:manage can instead call update_api_key; personal keys must be edited on the account-level page because that tool only manages company keys. Its scopes and preset inputs replace the whole permission selection rather than merging, so preserve every existing scope that is still needed. Hosted OAuth connections can alternatively disconnect and reauthorize with broader permissions.

When the active key itself lacks api_keys:manage, call request_api_key_handoff instead of retrying update_api_key. It requires account:read and returns an owner-review URL with the requested key name, permissions, and optional predecessor prefilled. It never creates or returns a key; the workspace owner reviews the form, creates the replacement in the browser, and copies it into the client. Pass replaceApiKeyId: "current" to offer revocation of the active key after the replacement is created. If the active key also lacks account:read, use the dashboard directly.

The default Safer agent access preset includes lists:write and tags:write, so agents can create and update list and tag definitions, and it includes subscribers:tag for applying tags to existing contacts. It also includes ab_tests:read, ab_tests:write, and sequences:write, so agents can audit and edit sequence A/B variant copy, including cart and browse abandonment messages. It does not include subscribers:write, so it cannot add contacts to lists or remove them from lists. Deleting a list or tag still requires the matching lists:delete or tags:delete permission.

The AI drafting preset includes subscribers:write, so drafting agents can build a list as well as create it. add_subscriber uses subscribers:write for explicit listIds; imports into explicit lists and dedicated list membership tools still need lists:write. Sequence enrollment or double-opt-in delivery additionally needs automations:trigger. The two data ingest presets omit lists:write and support explicit list placement through add_subscriber. Use custom permissions for imports into explicit lists.

Tools

The standard surface currently exposes 387 MCP tools. The OpenAI-reviewed surface exposes 368; the omitted, renamed and split operations are listed above.

Tools reject arguments they do not declare instead of silently ignoring them. Errors name the unsupported fields, list the supported arguments, and provide focused guidance for common mistakes such as invented subscriber filters or sort options.

Account, Companies, Setup

Tool

Description

get_account

Get account info, available companies, current key permissions, and the API Keys management URL.

select_company

Set the active company for future tool calls.

get_app_urls

Build dashboard URLs for campaigns, landing pages, sequences, emails, settings, subscription management, domains, and sent email details. settingsTab: "billing" resolves to Account -> Subscription.

create_company

Create a company with a website or without one, optionally with a description and generated welcome sequence.

get_company

Read company details, product info, brand context, localization, reply-tracking settings, current From/Reply-To defaults, the read-only dark-mode logo status (darkModeLogoStatus, darkModeLogoUrl), and the effective read-only emailBranding entitlement with plan/status reason and subscription URL; STO is explicitly identified as campaign-only.

update_company

Edit product info, brand context, your own dark-mode logo (darkModeLogoUrl, null for automatic), email theme, reply tracking, account-wide From/Reply-To profile defaults or names, and the company category (websiteType, e.g. mobile_app).

get_design_md

Read design.md: the email design brief as Markdown, with exact brand values in frontmatter plus Voice and Design direction, and its version.

update_design_md

Save an edited design.md; only changed values are written. Supports dryRun and expectedVersion; errors name the line.

get_sync_rules

Read the company's event-to-tag rules and whether it uses the inherited platform preset.

update_sync_rules

Replace all sync rules; pass [] to disable them or null to opt into the SaaS/ecommerce platform preset.

get_shopify_automation_settings

Read browse-abandonment, cart-abandonment, and price-drop settings for the connected Shopify store.

update_shopify_automation_settings

Partially update Shopify automation settings or reset an individual section to its platform defaults.

create_api_key

Create a company API key and return its one-time secret on standard MCP; omitted from the OpenAI-reviewed route.

request_api_key_handoff

Prepare an owner-reviewed create/rotation URL when the active key cannot manage API keys itself.

list_api_keys

List company API keys as non-secret metadata for safe identification and cleanup.

update_api_key

Rename a company API key or replace its permission preset or scopes without changing the key value.

revoke_api_key

Permanently revoke an exact company API key by ID after checking it with list_api_keys.

delete_api_key

Compatibility alias for revoke_api_key.

list_websites

List sending domains with stored aggregate, SPF, DKIM, and MAIL FROM status. Named list_sending_domains on the OpenAI-reviewed route.

add_sending_domain

Add a sending domain and return its cohort-specific DNS setup records.

add_website

Compatibility alias for add_sending_domain; omitted from the OpenAI-reviewed route.

check_website

Read a sending domain's stored SPF, DKIM, MAIL FROM, and aggregate verification details. Named get_sending_domain on the OpenAI-reviewed route.

verify_sending_domain

Run a fresh sending-domain DNS/provider verification and return current status and diagnostics.

upgrade_sending_domain_dns

Recommended, optional one-time upgrade of a verified domain to the current per-domain CNAMEs, without removing it; returns the CNAMEs to add.

configure_sending_domain

Deprecated: set <label>.<domain> as the company tracking domain when none is set; prefer set_tracking_domain.

get_tracking_domain

Read the company tracking domain, its status, whether links use it now, and its CNAME record.

set_tracking_domain

Set or change the company tracking domain every sending domain uses for tracked links, and return its CNAME.

verify_tracking_domain

Check the company tracking domain's CNAME and HTTPS certificate now.

remove_tracking_domain

Remove the company tracking domain; links and images in emails already sent through it stop working.

list_integrations

List connected integrations with connection and sync health, without returning credentials.

get_sending_status

Diagnose active, paused, or suspended sending, including enforcement denominators, review gates, and remediation steps.

resume_sending

Restore an eligible hard-bounce pause after explicitly confirming the list has been sanitized.

get_tracking_settings

Read account-wide and Transactional API open/click defaults, unsubscribe, attribution, UTM, click-domain, reply-tracking, and double-opt-in settings.

update_tracking_settings

Update account-wide and Transactional API tracking defaults, attribution, UTM, and account-wide double opt-in, including the post-confirmation redirect and its {{EMAIL}}-style merge tags.

get_frequency_cap

Read the company frequency cap: most marketing emails per contact in a rolling window, or null when off.

set_frequency_cap

Set the company frequency cap (maxEmails per windowHours) that opted-in sequences respect.

clear_frequency_cap

Turn the company frequency cap off.

get_account_health

Read the account health report: settings, next run, the latest check's AI summary and stats, and open findings with recommendations, drafted fixes and your own feedback.

update_account_health_settings

Turn the weekly check (Mondays, 05:00 UTC) on or off and choose whether it drafts fixes. Who gets the findings is each person's account_health notification preference.

run_account_health_check

Queue an account health check now (workspaces with more than 1,000 active subscribers that sent email in the last 14 days, one manual check per 10 minutes, and none for a day after a check that left findings open).

update_account_health_insight

Dismiss, snooze, resolve, or reopen an account health finding.

submit_account_health_feedback

Tell the Sequenzy team whether an account health finding was useful (with an optional comment). Changes nothing in the workspace.

create_account_health_fix

Build the inactive draft sequence an "event without a sequence" or "missing sequence" finding asks for: trigger, timing and email steps, with the emails written by AI like a template.

get_integration_guide

Get framework-specific integration examples.

get_integration

Inspect one connected integration, its event wiring, list targeting, recent activity, and recommendations.

list_integration_capabilities

Compare provider capabilities whether or not they are connected.

list_integration_suggestions

Suggest integrations to connect from what was found on the company website, plus every payment provider when the site lists pricing.

connect_integration

Connect supported API-key or webhook-secret providers on standard MCP; omitted from the OpenAI-reviewed route.

get_event_schema

Inspect published event payload examples, property paths, types, and merge tags by provider.

list_integration_activity

Read the retained integration-specific webhook and sync activity log.

set_integration_sync_enabled

Enable or disable bulk imports and backfills while leaving live webhooks connected.

set_integration_list_targeting

Choose which lists contacts created by a supported integration join on future provider writes.

disconnect_integration

Disconnect Lemon Squeezy or SparkLoop locally and remove its managed webhook; after cleanupWarning, repeat to retry Lemon Squeezy cleanup or delete the SparkLoop webhook in SparkLoop. Requires integrations:manage.

update_amplitude_settings

Choose which Amplitude events sync (syncAllEvents, eventAllowlist, skipInternalEvents) without the webhook secret. Amplitude only. Requires integrations:manage.

sync_integration

Queue payment revenue, Supabase users, or a PostHog/Segment event-history import using the saved integration configuration.

get_integration_pixel

Read Shopify's live pixel/configuration state and distinguish confirmed dark events from an unknown read.

activate_integration_pixel

Install or repoint Shopify's storefront pixel; idempotent when it is already current.

list_web_tracking_keys

List publishable website and mobile app tracking keys, origin and app ID restrictions, usage state, and install snippets.

get_web_tracking_key

Get one website-tracking key with its exact install snippet and ingest endpoint.

create_web_tracking_key

Create a publishable tracking key for a non-Shopify storefront, website, or mobile app (allowedAppIds).

update_web_tracking_key

Rename, restrict (origins or app IDs), revoke, or re-enable a tracking key.

delete_web_tracking_key

Permanently delete a website-tracking key after its snippet has been removed.

list_sender_profiles

List sender and reply-to profiles, defaults, and sending-domain readiness.

update_sender_profile

Rename one sender or reply-to profile without changing the account defaults.

delete_sender_profile

Permanently delete an unused sender profile, with guards for live sending surfaces and the last remaining sender.

get_notification_preferences

Read the current user's per-company account notification settings and supported modes, including the Monday weekly report and the account health findings.

update_notification_preferences

Update the current user's account notification delivery modes, including weekly-report and account-health opt-out, without affecting teammates.

render_email

Render final email-safe HTML and diagnose unresolved merge tags, including typos hidden by defaults. The OpenAI-reviewed route accepts sample data or a policy-checked inline subscriber, not a stored subscriber ID.

check_email

Check a saved email before sending: live broken-link and image verification plus content rules. The OpenAI-reviewed route accepts sample data or a policy-checked inline subscriber.

get_sending_status keeps the Postgres-backed pause state, review gates, and remediation available when sender-health analytics are temporarily unavailable; in that degraded case senderHealth is null.

render_email returns unresolvedMergeTags so callers can distinguish an unknown name from a recognized tag that is merely blank for the previewed contact. Unknown names are reported even when a default filter supplied text: for example, {{ subscriber.frstName | default: "there" }} renders a plausible greeting for every contact while bypassing stored first names. A recognized name that is blank for one contact is not reported when its default is used. The OpenAI-reviewed route rejects restricted custom-attribute selectors inside merge tags. It also omits the subscriberId argument; use a policy-checked inline subscriber, or omit subscriber data for a sample preview.

To render a sequence step whose nodeType is action_ab_test, pass the step's sequenceId and nodeId together with a variantId from get_sequence.sequence.emails[].abTest.variants. These steps have no email of their own, so the variant is required; reading and rendering their competing copy also requires the ab_tests:read scope.

For Supabase, sync_integration reuses the project, schema, table, list selection, and consent mappings saved in the dashboard. It cannot target an arbitrary table. Run it after installing the live database trigger to import users who existed before the trigger was installed, then poll get_integration and list_integration_activity for progress and row-level outcomes.

set_integration_sync_enabled controls bulk imports and backfills only; it does not stop a provider's live webhook from creating contacts. Use set_integration_list_targeting to choose their future list memberships: null follows workspace defaults, [] joins no list, and a populated array targets those lists. The change is not retroactive and never removes existing memberships. It also does not stop default any_contact sequences, which enroll list-less contacts; explicit any_list and specific-list sequences require a matching membership. Pair list targeting with pause_sequence_enrollments when those default enrollments must stop too. Supabase, Stripe, Shopify, Wix, Webflow, and SparkLoop support this control.

Webflow requires an explicit choice: pass [] for no lists or specific list IDs; null is rejected. Native form selection, field allowlists, required double opt-in, and sequence enrollment are configured in Settings → Integrations → Webflow. Authorization alone never starts capture; with no selected forms, no contacts are created.

For PostHog, sync_integration restarts the event-history import from the beginning with the stored personal API key. Imported events are deduplicated, so retrying a failed import does not create duplicates.

For Segment, connect_integration on standard MCP can optionally import recent event history from Unify after the live webhook is connected. The import walks existing contacts through the Profile API, covers the API's most recent 14 days, skips contacts without a matching profile, and safely deduplicates retries and live webhook overlap. New connections skip automatic page/screen calls unless those names are explicitly allowlisted. Segment webhook secrets must be 16-153 UTF-8 bytes. On the OpenAI-reviewed route, which omits connect_integration, connect Segment in the dashboard or local CLI instead. Use sync_integration to retry with the saved credentials.

For RevenueCat, connect_integration on standard MCP takes a secret API v2 key (Projects read and Customers read permissions) and a webhookSecret of at least 16 characters: the authorization header value set on the RevenueCat webhook, or its HMAC signing secret. The project ID is resolved from the key; pass providerAccountId only when the key can access several projects. The integration is webhook-only, so sync_integration is not available. Contacts are matched by externalId (the RevenueCat app user ID or an alias), then by the $email attribute (read from the event or the RevenueCat API), then by an app user ID that is an email address; unmatched events appear as skipped in list_integration_activity.

For Superwall, connect_integration on standard MCP takes only a webhookSecret: the whsec_ signing secret of the Superwall webhook pointed at the returned webhookUrl. Superwall has no API key, so the secret's format is checked and the first signed delivery proves the connection. The integration is webhook-only, so sync_integration is not available. Contacts are matched by externalId (the user ID passed to Superwall's identify(), or the subscription's original app user ID), then by an email user attribute, then by a user ID that is an email address. Sandbox events and unmatched events appear as skipped in list_integration_activity.

For Adapty, connect_integration on standard MCP takes only a webhookSecret: at least 16 characters, set as the Authorization header value of the Adapty webhook pointed at the returned webhookUrl. Connect before saving the webhook in Adapty, because Adapty sends a verification request on Save. Adapty has no API key; the verification request proves the connection. The integration is webhook-only, so sync_integration is not available. Contacts are matched by externalId (the customer user ID passed to Adapty's identify(), or the Adapty profile ID), then by the profile email, then by an email user attribute, then by a customer user ID that is an email address. Keep Adapty's default event names. Sandbox events and unmatched events appear as skipped in list_integration_activity.

For Mixpanel and Amplitude, connect_integration on standard MCP takes only a webhookSecret: a random value of 16-153 characters without spaces or colons that you choose (Sequenzy cannot show it again, so hand it to the user once). Mixpanel sends it as the Basic auth password of a Webhook destination (any username; the dashboard suggests sequenzy). Mixpanel can only export cohorts to webhooks, so each synced cohort becomes a mixpanel-<cohort> tag that people gain when they join and lose when they leave. Amplitude sends it in an X-Webhook-Secret header on its Webhook destinations: streamed events become product.<event type>, identify calls and the Users stream update the contact profile, and synced cohorts become amplitude-<cohort> tags. Optional settings (syncAllEvents, eventAllowlist, skipInternalEvents) scope Amplitude events. The first sync of a cohort tags its current members without starting automations. get_integration lists synced cohorts and their tags in integration.cohorts. Change Amplitude's event scope later with update_amplitude_settings, which needs no secret; reconnecting would replace it. Neither provider supports sync_integration.

For Attio, connect_integration on standard MCP accepts a workspace access token without a webhook secret, with optional settings.listMap as a map of Sequenzy list IDs to Attio people-list UUIDs or API slugs, plus syncCompanyFromDomain to control company matching from non-free-mail domains. On the OpenAI-reviewed route, connect Attio in the dashboard or local CLI, then use update_attio_settings for the same settings. Sync runs both ways, per mapping: listMap and tagMap put people on Attio lists when they join a mapped Sequenzy list or get a mapped tag, and inboundListMap and inboundTagMap add people to Sequenzy lists or tags (triggering their automations) when they are added to a mapped Attio list. Inbound maps make Sequenzy register an Attio webhook, which needs the webhook:read-write scope on the token. syncRemovals mirrors removals; off, the sync only adds people. get_attio_mapping shows every map and whether inbound sync is listening.

For SparkLoop, connect_integration on standard MCP takes apiKey. Sequenzy registers its own webhook in SparkLoop, authenticated by a secret in its URL. webhookSecret is optional: pass the webhook authentication token from SparkLoop only to verify the SparkLoop-Token header instead. An account with several publications needs providerAccountId set to the publication ID; the 400 error lists them in publications. Optional settings.listIds picks the lists new referrals join (omit to keep the current choice, null for the workspace defaults). A rejected SparkLoop key is a 400 with code sparkloop_api_key_rejected; a publication already connected to another workspace is a 409. Partner referrals become subscribers with sparkloop* attributes and trigger sparkloop.referral_pending, sparkloop.referral_confirmed, and sparkloop.referral_rejected; a referral of an existing subscriber leaves them unchanged and is rejected in SparkLoop. disconnect_integration removes the SparkLoop webhook.

Call get_event_schema before writing an {{event.*}} merge tag or an event property filter. Omit eventName to list documented built-in events; provide an event name to receive provider-specific example payloads and property paths, and optionally filter by provider. Custom event names remain valid even when the result reports documented: false; that only means no reference sample is published. Use integration activity or sequence enrollments for actual delivery data because this tool returns static reference data.

For a new sending domain, call add_sending_domain, publish the DKIM, DMARC and bounce records it returns (see website.bounceRecords below), wait for DNS propagation, and then call verify_sending_domain. Optional mailFromPrefix (default rp) chooses the return-path subdomain when the domain is created; new domains also get a second return path, usually <label>2 (rp2 by default). Publish the names returned. New domains publish the return path (rp by default) as one CNAME (website.bounceRecords.cnameRecord), which also works where the DNS host blocks custom MX records; domains added earlier keep their SPF TXT and MX records. Verification checks SPF and MX through the CNAME, so either shape verifies. Tracked links use the company tracking domain, which every sending domain shares: the first domain creates it under itself (links.<domain>, or trackingPrefix) and returns its CNAME as dnsRecords.trackingRecord; website.tracking reports its status. It is optional and never blocks verification or sending: until it verifies, links use the shared Sequenzy domain. Use get_tracking_domain, set_tracking_domain, verify_tracking_domain and remove_tracking_domain to manage it; configure_sending_domain is deprecated. Publish the returned records instead of assuming a fixed provider or record count, using website.bounceRecords for the bounce subdomain (its cnameRecord, or spf.record and mailFrom.mxRecord, never both at the same name): unified domains include required DMARC, while legacy domains can return Amazon SES MAIL FROM records. If verification is attempted before creation, the error points back to add_sending_domain with the requested domain.

A verified domain on the previous record set, including an older SES-only domain that has a working DMARC record, reports website.dnsUpgrade.status: "available". An older SES-only domain without DMARC is unavailable and the start returns 400 ("Add a DMARC record for this domain before upgrading its DNS records."). Call upgrade_sending_domain_dns for a recommended, optional one-time upgrade to the current per-domain CNAMEs (better deliverability and security) without removing it: publish the dnsUpgrade.records CNAMEs next to the current records and remove nothing, plus dnsUpgrade.trackingRecord while the tracking domain is not verified (a workspace without one gets links.<domain>, as a new domain does; it never holds up the switch). About an hour after the required ones are visible on public DNS, the domain switches by itself (verify_sending_domain checks now but does not skip the wait). Sending is normally not interrupted at the switch; if that isn't possible for a domain, emails sent through Amazon SES can be held for a few minutes. dnsUpgrade.replacedRecords lists beforehand which current records the switch replaces; dnsUpgrade.oldRecords then lists the records that can optionally be deleted after deleteOldRecordsAfter, 8 days after the switch (for an older SES-only domain that includes the old return path MX and TXT at send.<domain> and the DKIM TXT; DMARC stays). Once started, an upgrade runs to the switch and can't be cancelled; until then it changes nothing.

Receiving mail (inbox addresses and replies) is not part of sending-domain setup: it uses receiving domains (see Receiving domains below). inbound* fields that may still appear in website.dnsRecords describe an older reply setup; check and fix receiving with the receiving-domain tools.

For Shopify, call get_integration_pixel before relying on product views, cart activity, or browse-abandonment triggers. The result is read live from Shopify because merchants can remove the pixel independently. If pixel.healthy is false, dependentEvents names the triggers that cannot arrive; call activate_integration_pixel to install or repoint the pixel. Activation is idempotent, and events begin on the next storefront visit rather than being backfilled.

For custom, headless, ticketing, or SaaS websites, use list_web_tracking_keys before relying on product-view or cart triggers. Create a key with an explicit origin allowlist, install the returned installSnippet, then have the customer's authenticated backend mint a short-lived proof through POST /api/v1/web-tracking-identities and call sequenzy.identify(email, identityToken) at sign-in or checkout. A publishable key alone only records anonymous activity and cannot trigger subscriber automation. The returned snippet installs synchronous method stubs before its async loader, so identity and event calls made during page bootstrap are queued until the SDK is ready. Prefer revoking a key with update_web_tracking_key before permanently deleting it.

New companies start with the preset's payment and ecommerce lifecycle rules (without the rules that tag every new contact lead). Some companies created between July and November 2026 have no rules: pass null to update_sync_rules to inherit the full preset, or define explicit rules.

Use list_sender_profiles to find the profile ID, then call update_sender_profile to change only its display name. Pass type: "reply" for a reply-to profile; sender is the default. The address, sending domain, and account-wide default From/Reply-To selections remain unchanged. Renaming requires the companies:manage scope.

Use delete_sender_profile to permanently remove an obsolete From identity. It refuses the last sender and any profile used by a live campaign, active sequence (including a step override), or transactional email. Eligible drafts and account defaults move to the returned fallbackSenderProfileId; review it before sending. Reply-to profiles are not supported by this delete tool.

Shopify cart abandonment is enabled by default. It fires ecommerce.cart_abandoned after one hour of cart inactivity, with a 24-hour per-subscriber cooldown. Use update_shopify_automation_settings to change the cartAbandonment.enabled, delayHours, or cooldownHours fields; pass cartAbandonment: null to restore those defaults without changing browse abandonment or price-drop settings. Timing values must be positive; delayHours is capped at 168 and cooldownHours at 720.

Subscribers

Tool

Description

add_subscriber

Add one subscriber, including explicit listIds, with subscribers:write; status is creation-only.

create_subscriber_import

Queue up to 5,000 full CRM records with an optional retry-safe idempotencyKey; enabled email-hygiene checks continue separately after ingestion.

get_subscriber_import

Read progress, row outcome counts, and failure summaries for a queued import.

update_subscriber

Update native profile and phone fields, SMS consent, attributes, tags, or global status.

remove_subscriber

Unsubscribe while preserving suppression history, or permanently delete only with hardDelete: true.

get_subscriber

Fetch subscriber details by email or external ID.

list_subscriber_attributes

List custom attribute names in use with value type, list flag, example, and sampled-contact count; use before setting attributes.

search_subscribers

Search by query, tags, list, status, segment, or one custom attribute, with automatic or resumable pagination.

trigger_subscriber_event

Emit one custom event exactly as an integration would, applying sync rules and matching sequence triggers.

trigger_subscriber_events

Emit several ordered custom events for one subscriber.

import_subscriber_events

Import up to 25 source-identified events across contacts; silent history requires every row for a contact to be over an hour old.

bulk_add_subscriber_tags

Many contacts, one or more tags: add tags to up to 500 existing subscribers, never creating contacts; requires subscribers:tag and may also require tags:write.

bulk_remove_subscriber_tags

Many contacts, one or more tags: remove tags from up to 500 existing subscribers, never creating contacts; requires subscribers:tag or subscribers:write.

Use create_subscriber_import for CRM onboarding instead of looping over add_subscriber. One call accepts 5,000 full records and returns an asynchronous import ID; poll it with get_subscriber_import. A completed import can still contain row failures, so inspect failedCount and failedReasons. Every excluded row is accounted for: skippedReasons sums to skippedCount, and failedReasons sums to failedCount. Report any shortfall with the import ID instead of guessing which rows were omitted. When email hygiene is enabled, deliverability checks continue separately after ingestion and results appear in List health; import status does not wait for or include those verdicts. Invalid verdicts are suppressed from later sends. Use optInMode: "confirmed" only when consent was already verified.

Carry each contact's source status in status. Map provider values first: Subscribed or active is active; Unsubscribed, cancelled, inactive or complained is unsubscribed; cleaned or hard bounce is bounced. The dashboard and CLI import contacts the source marks Not Confirmed, pending or unconfirmed as active. Unsubscribed and bounced records never enroll in sequences or receive a double opt-in email, and an active record never resubscribes an unsubscribed or bounced contact. With merge or overwrite, an unsubscribed or bounced record applies that status to an existing active contact. Use not_subscribed for a contact who never opted in to marketing email and never unsubscribed: it applies to new contacts only and never changes an existing one. Campaigns skip these contacts, and a sequence emails them only when its sendToNotSubscribed setting is on.

For import_subscriber_events, email is required when a row may create a new contact; externalId can stand alone only for an existing contact. Supply a stable eventId on every row. Retrying reuses the original receipt and idempotently re-attempts downstream recovery. Historical classification is per contact: if any row for a contact is recent, that contact's whole group uses the live side-effect path.

For compliance suppression, call update_subscriber with status: "unsubscribed" (or use remove_subscriber without hardDelete). Do not retry add_subscriber with a different status: status on that tool applies only when the contact is first created, and a mismatched skipped result is reported as an error.

When a contact reported spam, call update_subscriber with status: "complained". It records a company spam-complaint suppression for the address, then unsubscribes the contact and cancels its sequence enrollments. The contact reads as unsubscribed afterwards, and get_recipient_suppression shows the complaint. Repeating it is safe.

add_subscriber with a createdAt at most one hour old remains eligible for new-subscriber account notifications. Older dates do not notify on creation; a later double opt-in confirmation can still notify. Recipient preferences, double opt-in and daily caps still apply. Supplying createdAt continues to default sequence enrollment to false. Bulk imports do not notify on creation.

When add_subscriber omits listIds, a contact created by the call follows the workspace default lists while an existing contact keeps its current list memberships. Pass list IDs explicitly when an existing contact should join specific lists using subscribers:write. Pass [] to target no lists.

update_subscriber.phone writes the native phone field shown on the contact, not a custom attribute. Pass smsConsent: true only after verifying express written consent, or false to opt the contact out. Changing the phone without smsConsent resets SMS consent because consent belongs to the old number.

add_subscriber, update_subscriber, and create_subscriber_import accept an IANA timezone such as America/New_York. The value is stored on the native contact profile and enables recipient-local campaign delivery. Pass an empty timezone to update_subscriber to clear it; invalid import-row values are ignored without rejecting the rest of the import.

Accounts (B2B organizations)

Accounts are your customers' companies, workspaces or teams, not your Sequenzy account (get_account). The dashboard calls them Organizations. Their fields work as organization.<name> in segment attribute filters, sequence conditions and {{organization.<name>}} merge tags (account.* is an older alias), and a sequence with matching field organization.externalId runs once per organization.

Tool

Description

list_accounts

List accounts with search, sort and pagination. withoutEventRecipients: true finds accounts with no owner or admin.

get_account_by_external_id

Get one account with up to 100 members and their roles.

upsert_account

Create or update an account by external ID, with optional members.

delete_account

Delete one customer organization (Subscribers > Organizations) and its memberships; contacts are kept. Never deletes your Sequenzy account, workspace or login.

list_account_members

List members, owners first.

add_account_member / remove_account_member

Change membership by email or contact external ID.

trigger_account_event / list_account_events

Record an account event for owners, admins, all or none, and read the timeline.

list_account_suggestions

Read-only: work email domains several contacts share (default 3+), with up to 10 sample emails, skipping personal and disposable providers, your sending domains, domains where a contact is already in an account, and domains an account uses.

accept_account_suggestions

Create accounts for up to 25 confirmed domains, adding the domain's unassigned contacts as members (or adding them to the one account already using the domain). Skips domains already partly grouped. Safe to retry; no sync rules or segment-entered sequences run.

detect_account_organization_ids

Read-only: event properties and contact attributes holding your organization ID (such as workspaceId), with organization counts and a matching name key.

preview_accounts_from_organization_id

Read-only: the biggest accounts a key would create, each with the name it would get (from the name key, otherwise its contacts' shared work email domain), domain, contact count and sample emails.

create_accounts_from_organization_id

Start a background run creating one account per organization ID with its contacts as members. Returns jobId and alreadyRunning; nothing is sent and reruns are safe.

get_account_organization_id_job

Check that run: queued, running, completed with counts, or failed with the error.

Show suggestions to the user and accept only the domains they confirm. Likewise, show the organization ID preview and create accounts only after the user confirms it.

Products & Digital Delivery

Tool

Description

list_products

List synced products from Stripe, Shopify, WooCommerce, manual, or Commerce API data.

upsert_products

Create or update up to 100 Commerce API products keyed by your product ID.

delete_product

Delete a product previously pushed through the Commerce API.

attach_product_file

Attach a hosted or locally uploaded delivery file to a product.

remove_product_file

Remove an attached product delivery file.

sync_products

Queue a Stripe product catalog sync, optionally selecting an integration by ID.

After a product delivery file is attached, matching purchase events include download.url and download.name, so purchase-triggered emails can use merge tags like {{event.download.url}}.

For Stripe products, list_products returns every active price as a variant, with the Stripe price ID in variantId. Use that ID to target an exact price in a purchase sequence even when it is not the product's default price.

Image Assets

Tool

Description

upload_image_asset

Upload an email image and return its hosted media record plus a ready-to-insert image block.

crop_image_asset

Crop a library or Pexels/Unsplash image into a new hosted image and return it with a block carrying its crop.

The tool accepts PNG, JPEG, GIF, and WebP images up to 10MB. Local stdio clients can pass filePath. Hosted/remote clients that can access attachment bytes can pass imageBase64 with filename. Provide altText for accessibility, then use displayWidthPercent, cropHeight, objectFit (cover or contain), and align to standardize screenshot presentation. The returned imageBlock can be copied directly into the block array accepted by campaign, sequence, template, and transactional-email tools.

crop_image_asset takes the original's sourceUrl plus either crop (x, y, width, height as fractions of the image) or aspectRatio (such as "16:9", with optional focusX/focusY). The crop is baked into a new file, so every email client shows the same area, and the returned imageBlock.crop lets the editor re-open or undo it. Retrying the same crop returns the same asset.

Authenticated image bytes are always uploaded to the origin configured by SEQUENZY_API_URL, even if a reverse proxy returns an equivalent upload URL under another host. API credentials are never forwarded to that alternate origin.

{
  "filePath": "/Users/me/Desktop/product-results.png",
  "altText": "Product results dashboard",
  "displayWidthPercent": 100,
  "cropHeight": 320,
  "objectFit": "cover",
  "align": "center"
}

Lists, Tags, Segments

Tool

Description

list_tags

List all tags.

create_tag

Create a tag definition with an optional color.

update_tag

Rename a tag or change its color.

merge_tags

Merge one tag into another and delete it.

delete_tag

Delete a tag and remove it from subscribers.

list_lists

List subscriber lists.

create_list

Create a subscriber list.

update_list

Rename or describe a subscriber list.

delete_list

Delete a subscriber list.

add_subscribers_to_list

Add up to 500 subscribers to a list from an email array.

remove_subscribers_from_list

Remove up to 500 subscribers from a list.

list_segments

List saved segments and counts.

create_segment

Create nested or same-element array-filtered segments.

update_segment

Update segment name, filters, root group, or join operator.

delete_segment

Delete a segment (requires segments:delete); returns the sequences, unsent and live in-app campaigns, segments and ad audience syncs that used it.

get_segment_count

Preview the active subscriber count for a segment.

For subscriber exports, search_subscribers accepts listId, exact listName, or list (ID first, then exact name). It also accepts attribute plus attributeValue, with attributeOperator for contains, numeric comparisons, or is_not_empty; the combined "attributeName:value" form remains supported. Filters combine with AND; use a saved segment for OR logic, nested groups, exclusions, engagement, or event conditions. If limit is omitted, the tool fetches every matching page automatically. For chunked reads, pass limit and follow pagination.nextCursor (or pagination.nextOffset) while hasMore is true. offset and page are supported below 1,000,000 skipped matches; use the cursor for deeper audiences.

For bulk list population, use add_subscribers_to_list; the backing API endpoint is POST /api/v1/lists/{listId}/subscribers with no /bulk suffix:

{
  "emails": ["ada@example.com", "grace@example.com"],
  "duplicateStrategy": "skip",
  "enrollInSequences": false,
  "optInMode": "default"
}

Send at most 500 emails per request. Standard API rate limits still apply: 100 requests per minute per API key and 20 requests per second burst. For CSV-driven CLI imports, accepted email headers include email, e-mail, email address, and mail; if no recognized header exists, the CLI reads the first column.

Segment filters support attributes, events, saved segment membership, engagement events, Stripe product purchase rules, and commerce product purchase rules. Use filterJoinOperator: "or" for match-any segments, or pass a v2 root group for nested logic.

For array-of-object attributes, use wildcard paths such as history_events[].eventvenue_id:2103. When an AND group also filters history_events[].showing_date, both conditions must match one shared history_events[] element; values from unrelated history entries are not combined. Deleting a segment requires segments:delete; segments:write is not sufficient.

Each segment filter field validates its own operators:

  • status, segment, smsStatus: is, is_not

  • phone: is_empty, is_not_empty, starts_with, not_starts_with, contains, not_contains

  • phoneCountry: is, is_not

  • tag: contains, not_contains, is_empty, is_not_empty

  • email: contains, not_contains

  • emailProvider, list: is, is_not, is_empty, is_not_empty

  • firstName, lastName: contains, not_contains, is_empty, is_not_empty

  • added: less_than, more_than

  • attribute: is, is_not, is_empty, is_not_empty, gte, lte, gt, lt, contains, not_contains

  • event, email engagement fields: is, is_not, at_least, less_than_count

  • emailBounced: also supports is_temporary_bounce, is_permanent_bounce

  • stripeProduct: is, is_not, at_least, less_than_count

  • stripeCurrentProduct, stripeTrialProduct: is, is_not, gte, lte, gt, lt

  • commerceProduct: is, is_not, at_least, less_than_count

Phone filters compare digits against the stored international number, so a prefix starts with the country code; spaces, dashes and brackets are ignored. phoneCountry takes ISO country codes, comma-separated to match any of several. Both only match contacts that have a phone:

{ "field": "phone", "operator": "starts_with", "value": "+1 415" }
{ "field": "phone", "operator": "not_contains", "value": "555" }
{ "field": "phoneCountry", "operator": "is", "value": "US,CA" }

Stripe product filter examples:

{ "field": "stripeProduct", "operator": "is", "value": "prod_pro" }
{ "field": "stripeProduct", "operator": "is_not", "value": "prod_pro" }
{ "field": "stripeProduct", "operator": "at_least", "value": "prod_pro:3" }
{ "field": "stripeProduct", "operator": "less_than_count", "value": "prod_pro:3" }

Commerce product filters match products purchased through commerce orders. Values can be provider:productId for provider-scoped IDs (shopify, woocommerce, or api), a bare product ID to match any provider, or provider:productId:count for threshold operators:

{ "field": "commerceProduct", "operator": "is", "value": "api:starter-kit" }
{ "field": "commerceProduct", "operator": "at_least", "value": "shopify:42:2" }

Engagement fields such as emailSent, emailDelivered, emailOpened, emailClicked, emailBounced, and emailComplained accept rolling windows like 24h, 7d, 30d, 90d, 180d, or all (whole hours from 1h to 8760h). Presence operators can scope by delivery policy with marketing:<timeRange> (marketing-policy campaign, automation, and Send API traffic) or transactional:<timeRange> (transactional-policy sends); policy scopes require a send-time policy snapshot, so ambiguous older automation and Send API events remain available only through unscoped filters. emailBounced also supports scoped values with is_temporary_bounce and is_permanent_bounce. With at_least and less_than_count, use count:timeRange, such as 10:30d or 10:all. Presence operators can instead use a campaign scope like campaign:cmp_123; campaign and email-type scopes cannot be combined with count operators.

Audience Syncs (Meta Ads)

Tool

Description

list_audience_syncs

List segment-to-audience syncs with schedule and last sync status.

list_ad_accounts

List the Meta ad accounts available for syncing.

create_audience_sync

Push a segment to a Meta custom audience on a schedule.

update_audience_sync

Change sync frequency (hourly, daily, weekly) or pause/resume.

delete_audience_sync

Remove a sync mapping; the Meta audience itself is kept.

sync_audience_now

Trigger an immediate upload outside the regular schedule.

Requires the Meta Ads integration to be connected in the Sequenzy dashboard (Settings -> Integrations). create_audience_sync accepts an existing segment (segmentId) or a ready-made template (predefinedSegmentId, for example zero-ltv, no-purchase-1y, recent-buyers, high-spenders-ecom, non-buyers, engaged) - the template segment is created automatically on first use, and the first upload runs immediately.

Audiences are add-only: subscribers who later leave the segment stay in the Meta audience. Meta requires 100+ matched people before an audience can be used for ad delivery.

Warehouse Sync

Tool

Description

list_warehouse_connections

List warehouse connections with status and number of syncs.

get_warehouse_connection

One connection with its settings and last test; credentials are never returned.

create_warehouse_connection

Connect Snowflake, BigQuery, Redshift or Postgres; runs a test query before saving.

update_warehouse_connection

Rename, change settings (merged) or rotate credentials; re-tested before saving.

delete_warehouse_connection

Delete a connection that no sync uses.

test_warehouse_connection

Run the test query with the stored credentials.

preview_warehouse_query

Run a query with a 20-row limit to see its columns.

list_warehouse_syncs

Syncs with status, cursor position and the latest run.

get_warehouse_sync

One sync.

create_warehouse_sync

Sync contacts or events from a query on a schedule; only changed rows are sent.

update_warehouse_sync

Change query, mapping, cursor, schedule or options; pause or resume with isEnabled.

delete_warehouse_sync

Stop a sync; imported data stays.

run_warehouse_sync

Run now; fullResync sends every row again.

list_warehouse_sync_runs

Row counts, sample problems and import progress per run.

Subscriber syncs import through the regular import pipeline (mapped values replace stored ones; tags are only added; unsubscribed contacts stay unsubscribed). Event syncs record events only for contacts that already exist. triggerAutomations and optInMode: "double_opt_in" need automations:trigger; event syncs need events:write. The credential-taking tools and preview_warehouse_query are excluded from the OpenAI-reviewed profile.

Data Exports

Tool

Description

list_data_exports

List bucket exports with status, per-dataset progress and the last error.

get_data_export

Get one export.

create_data_export

Add an S3, GCS or S3-compatible bucket; writes a test file first, then exports immediately.

update_data_export

Change datasets, frequency, location or credentials; pause or resume with isEnabled.

delete_data_export

Stop exporting; files already written are kept.

test_data_export

Write a test file with the stored credentials.

run_data_export

Export now instead of waiting for the schedule.

list_data_export_runs

Recent runs with rows, files, bytes and errors.

Datasets are email_events, sms_events, custom_events and subscribers (a daily snapshot). Files are gzipped JSON lines under <pathPrefix>/<dataset>/date=YYYY-MM-DD/; rows are delivered at least once, so deduplicate on id. Credentials are never returned, and the credential-taking tools are excluded from the OpenAI-reviewed profile.

Templates

Tool

Description

list_templates

List templates with localization status, label and isTemplate filtering, and pagination.

get_template

Read template details, content, and localized variants.

create_template

Create templates from a prompt, HTML, or Sequenzy blocks; use isTemplate: true to save a reusable master design.

update_template

Update template metadata, inbox preview text, labels, HTML, or blocks; mark or unmark a master with isTemplate.

create_template_from_example

Remix a public email gallery email into a new template written in the company's brand.

preview_template_from_example

The same rewrite for the company or another website, returned as HTML without saving.

list_email_references

List gallery emails from the brands most like the company, or the whole gallery, to model a new email on.

list_gallery_brand_requests

List the company's requests to add brands (like competitors) to the gallery, with where each one stands.

request_gallery_brand

Ask for a brand, usually a competitor, to be added to the gallery; asking again keeps one request.

remove_gallery_brand_request

Withdraw a brand request.

list_watched_brands

List the brands the company watches (its Competitors page), with each one's status, email count and newest email.

watch_brand

Watch a brand, usually a competitor; one not in the gallery yet is requested.

unwatch_brand

Stop watching a brand.

list_watched_brand_emails

Read what watched brands sent, newest first, filtered by domain or since, with cursor paging.

set_template_localization

Create or replace a caller-supplied localized variant.

sync_template_localizations

Queue AI translation for selected or all enabled non-primary locales.

get_template_localization_coverage

Count, per language, translated sequence and transactional emails.

translate_missing_template_localizations

Translate every sequence and transactional email missing a language.

delete_template

Delete a template.

list_templates returns 50 email bodies newest first by default and accepts a limit up to 100. Advance offset by pagination.count while pagination.hasMore is true; pagination.total reports the full matching count, including campaign and transactional-email bodies.

Set isTemplate: true on list_templates to return only saved master designs, or false to return ordinary email bodies. Marked masters are offered as starting points for dashboard sequence steps and campaigns; starting from one creates an independent copy so edits leave the master intact.

Standalone/sequence source-design copying and AI rewriting within a selected layout are currently dashboard-only. This release intentionally keeps those workflows in interactive authoring, where users can review the source, translations, and any fallback copy before saving a sequence step. REST, CLI, and MCP expose no equivalent standalone/sequence source-design operation. create_template with prompt generates new content without preserving an existing layout; supplied HTML or blocks create a new body without automatically copying localized variants. See the interface availability documentation.

Remixing a public example from the Sequenzy email gallery (real emails other brands sent, not the dashboard's designed templates) is a separate, supported workflow: create_template_from_example remixes a gallery email into a new HTML template (the example's exact layout, with every word rewritten for the company and its logo, color and links swapped in, never naming the example brand), and create_sequence_from_example clones a gallery sequence into a draft with the same trigger family and send timing, up to 12 emails (pass stepNumbers, the 1-based positions of the example's emails, to choose which). Pass the gallery url, or brand plus email/sequence slugs, and an optional brief. preview_template_from_example and preview_sequence_from_example return the same rewrite (the first 3 emails for a sequence) without saving anything, for the company's brand or for another website, matching the gallery's See it for your brand preview. list_email_references returns each email's analysis (main button, length, layout, voice, structure and takeaways; null until analyzed) to help choose a model. Both match the dashboard's Remix this email and Clone this sequence. A template remix takes 5-20 seconds and saves nothing on failure; a cloned sequence returns right away with enrichmentStatus: "processing", so poll get_sequence until it is complete. If it returns enrichmentStatus: "not_queued" with a warning, the draft exists but writing did not start; open it in the dashboard. Every successful call creates something new, so do not retry after a success.

Campaign copies already work through REST POST /api/v1/campaigns and MCP create_campaign with templateId; it cannot be combined with prompt for an AI rewrite.

For net-new content requested in natural language, pass prompt so Sequenzy generates branded native blocks server-side. Use blocks only for finished caller-supplied Sequenzy content, and use html only when preserving supplied or explicitly requested markup. prompt, blocks, and html are mutually exclusive; style and tone are valid only with prompt.

Use set_template_localization when translated copy comes from your own localization workflow. It requires an enabled non-primary locale, a localized subject, and exactly one of html or blocks. Use sync_template_localizations to ask Sequenzy to translate selected locales; omit locales to sync every enabled non-primary locale. Explicit sync works even when automatic on-save localization is disabled.

To translate many emails at once, translate_missing_template_localizations queues AI translation for every sequence email (including sequence A/B variants) and enabled transactional email with no translation in a language yet, or a failed one. It leaves edited, up-to-date and outdated translations alone. get_template_localization_coverage reports per-language counts so you can follow the translations as they finish. Adding a language in the dashboard already translates existing emails into it.

Reusable Email Components

Tool

Description

list_email_components

List saved sections and footers, optionally limited to pinned defaults.

get_email_component

Read one component's blocks, metadata, version, and default-slot state.

get_default_email_component

Read the component currently pinned to a default slot such as footer.

preview_default_email_component

Preview affected existing emails and optional before/after HTML without writes.

set_default_email_component

Save the default footer, optionally applying a reviewed token to selected existing emails.

create_email_component

Save a reusable section or footer from a block list.

update_email_component

Update component metadata or replace its blocks and increment its version.

duplicate_email_component

Copy a component into a new one named "(Copy)" or a name you choose; never a default.

delete_email_component

Delete a component without changing emails that already copied its blocks.

Components are copied into emails when those emails are built, so later edits affect newly built emails. Use the default-footer preview and apply workflow below to update selected existing content. The default footer keeps its unsubscribe link enabled, while transactional rendering hides that link. Raw HTML emails keep their own markup and do not receive block components; their send-time unsubscribe handling remains unchanged.

A/B Tests

Tool

Description

list_ab_tests

List A/B tests and variants, optionally scoped by sequence.

get_ab_test

Get effective settings, variants, localization status, and sequence-step copy.

get_ab_test_stats

Get aggregate and per-variant stats.

restart_ab_test

Restart a stopped or completed A/B test.

select_ab_test_winner

Select a campaign winner, or select or change a sequence test winner.

resume_ab_test

Clear a sequence test winner and keep testing until a winner is selected.

update_ab_test

Update campaign or sequence winner-selection settings.

update_ab_test_variant

Update campaign draft or sequence variant copy.

create_ab_test

Create a campaign test or convert a sequence email step.

add_ab_test_variant

Add a variant to an existing A/B test.

delete_ab_test_variant

Delete a draft A/B test variant.

delete_ab_test

Delete an A/B test.

Use get_sequence.sequence.emails[].abTest.variants to discover sequence variant IDs, subjects, preview text, and block counts; call get_ab_test to audit every variant's full blocks, effective settings, localization status, or stats. Campaign settings use testPercentage, testDurationMinutes, and winnerCriteria; sequence settings use testType, winnerThreshold, and winnerCriteria. The legacy sequence values testPercentage: 100 and testDurationMinutes: 0 are compatibility sentinels, not runtime settings. select_ab_test_winner on a campaign test requires the testing phase and immediately queues the winning variant for the remaining audience; on a sequence test it selects or changes the winner, including one picked automatically, for everyone who reaches the step afterwards. resume_ab_test clears a sequence test's winner so contacts are split again and turns off automatic selection for that test. update_ab_test changes the appropriate settings model and requires confirmLiveChange: true when sequence settings affect an active or already-used test. Variant updates accept either html or blocks, not both.

create_ab_test accepts exactly one of campaignId or automationNodeId; the latter requires one to four extra variants and converts a sequence email node into action_ab_test. The conversion moves the step's subject, preview text, and blocks onto independent variant emails. Get the test and variant IDs from get_sequence, read every variant's copy with get_ab_test, and edit each one with update_ab_test_variant; update_sequence_node and update_template cannot edit variant copy, and a change intended for the whole step must be repeated for every variant. If update_ab_test_variant is not in the MCP tool list, enable it on the Sequenzy connector rather than writing through another email tool. The full workflow requires ab_tests:read, ab_tests:write, and sequences:write, all included in Safer agent access. With only sequences:read, get_sequence keeps the A/B step and control copy visible but redacts test-record fields and returns an empty variant list. An explicit sequence winnerCriteria overrides the testType default, so content variants can still be judged by opens. Pass confirmLiveChange: true when converting a node in an active sequence. Together with control A, an A/B test supports at most five variants. Sequence variants receive independent email templates and can be edited after creation; once the sequence is active or the test has activity, update_ab_test_variant requires confirmLiveChange: true. Variants can only be added or removed while the test is a draft, and live-sequence changes also require confirmation because they immediately change the rotation.

winnerCriteria accepts open_rate, click_rate, goal_conversion_rate, goal_value, and event_rate on create_ab_test and update_ab_test. Goal criteria need winnerGoalId (an active company-wide goal, a goal of this campaign or sequence, or default-revenue for purchase revenue) and judge variants by conversions attributed to each variant's emails; event_rate needs winnerEventName and judges by recipients who fire it after receiving the variant. When no variant converts, campaign tests fall back to click rate and sequence tests keep splitting. get_ab_test_stats reports per-variant outcome (convertedRecipients, conversionRate, value, valuePerDelivery) for these tests.

Campaigns

Tool

Description

list_campaigns

List paginated campaigns by status or label, including reviewer feedback and delivery-pacing fields for account-wide STO audits.

get_campaign

Get details, stats, reviewer feedback, and recorded delivery pacing for a campaign.

get_campaign_audience

Resolve saved targeting, missing references, a plain-language summary, and live recipient count.

list_campaign_goals

List campaign-specific goals plus automatically applied company-wide Settings goals (SMS is unsupported).

create_campaign_goal

Add an event, subscriber-attribute, or tag-applied email-campaign conversion goal.

update_campaign_goal

Update a persisted email-campaign conversion goal.

delete_campaign_goal

Delete a persisted email-campaign conversion goal.

list_campaign_variations

List a campaign email's variations (alternative versions compared on the editor canvas) with status, lineage and whether each is in use.

get_campaign_variation

Get one variation, including its status while it generates.

generate_campaign_variations

Start generating 1-4 AI variations of the email or of a variation. Returns at once; poll until each is ready or failed.

create_campaign_variation

Save blocks or HTML as a new variation, optionally as a branch of another.

update_campaign_variation

Rename a variation or replace its content once it is ready.

discard_campaign_variation

Discard a variation; its branches move up a level until it is restored.

restore_campaign_variation

Bring back a discarded variation and its lineage.

use_campaign_variation

Put a variation's content in a draft campaign's email, saving the previous content as a variation first.

generate_campaign_variation_section_options

Generate unsaved options for selected sections of the email or a variation.

edit_campaign_variation

Change one variation with AI (optionally only some sections) and save it over the variation.

list_email_sends

Search recent delivery history with resource IDs and URLs, optionally scoped to one sequence step. Successful live-test sends are omitted.

get_email_send

Inspect a queued, test, sent, suppressed, or failed delivery by durable email-send ID.

list_recipient_suppressions

List associated suppressed recipients, including protected global invalid addresses and complaints.

get_recipient_suppression

Check local bounce, complaint, email-hygiene, and regional SES suppression for one exact recipient.

remove_recipient_suppression

Remove a workspace soft-bounce escalation while preserving global, hard-bounce, and complaint protections.

create_campaign

Create a campaign with content, data, file attachments, and optional From/Reply-To identity overrides.

update_campaign

Update a draft campaign, including content, data, identities, audience, persisted STO configuration, the recipient limit, and file attachments, or fix the content of a paused campaign before resuming it.

schedule_campaign

Schedule or reschedule a campaign, optionally overriding STO, its 1-24 hour delivery window, and the recipient limit.

send_test_email

Send a test email to one address.

render_email

Render exact email-safe HTML and report unresolved tags, including typos hidden by defaults.

check_email

Pre-send check: live broken-link and image verification plus content, subject and client rules.

cancel_campaign

Cancel a scheduled or sending campaign.

pause_campaign

Pause a sending campaign.

resume_campaign

Resume a paused campaign, optionally spreading delivery over time.

delete_campaign

Delete a campaign.

duplicate_campaign

Duplicate a campaign into a new draft.

resend_campaign_to_non_openers

Create a draft resend using live audience membership and hard opener exclusions that survive manual additions and repeated resends. Named create_non_opener_resend_draft on the OpenAI-reviewed route.

For older resend drafts missing excludedCampaignOpenerIds, use resend_campaign_to_non_openers on the original campaign to recreate the draft, then review its audience before scheduling.

Prompt-created campaigns are generated and persisted in one API request and remain drafts. Use templateId, blocks, or html only when copying or preserving existing content rather than asking the agent to author it. Omit all content fields to create an empty draft for later editing.

Campaign variations never change what a campaign sends until use_campaign_variation, which works on drafts only and returns the email's previous content as savedPrevious when it had to save it as a new variation. generate_campaign_variations does not wait: poll list_campaign_variations until no variation has status: "generating" (one still generating after 10 minutes is reported as failed). Section options save nothing; apply one by swapping its replacements into the variation's blocks by id and calling update_campaign_variation, or change a variation directly with edit_campaign_variation. style on generation sets how far new versions move: close, fresh, or bold (a new layout with its own emailTheme and fontFamily, which using the variation puts on the email).

list_campaign_goals returns campaign-specific definitions in goals and company-wide Settings definitions in companyGoals, including inactive goals. Company-wide custom goals already apply after an open or click within their configured window. Do not recreate or delete them through campaign goal tools; manage them in Settings. Empty arrays mean no goals of that scope exist.

Campaign goals credit recipients who were actually sent that campaign within the configured attribution window; an open or click remains the stronger last-touch signal when one exists. Event goals require triggerEventName, subscriber-attribute goals require attributePath, and tag-applied goals require triggerTagName. The campaign attribution window defaults to 168 hours when omitted.

To deliver at the same wall-clock time in every recipient's own timezone, call schedule_campaign with sendInRecipientTimezone: true and an IANA scheduledTimezone that identifies the wall clock represented by scheduledAt. Contacts without a stored timezone receive the campaign at the scheduledAt instant. This mode cannot be combined with recurring or spread delivery.

Send Time Optimization is configured per campaign, not at the company or sequence level. Audit it across campaigns with list_campaigns, or inspect one campaign with get_campaign. Set sendTimeOptimization and sendTimeWindowHours (1-24, default 12) on a draft with update_campaign, or override them while scheduling with schedule_campaign. spreadOverHours takes precedence and disables STO, as does recipient-timezone delivery. Sequences instead use sendingWindow, a shared allowed-hours/days gate rather than per-recipient predicted send times.

For A/B campaigns, spreadOverHours sets one sending rate for the whole audience. The test sample is spread over its share of the window, the winner is picked once the test duration has passed after the last test email, and the remaining recipients are spread over their share, so delivery takes about the spread plus the test duration. A resume spreads the current phase's remaining recipients at that rate from the moment it runs; if the test's end time passed while paused, the winner is picked from test emails already sent. Ending the test early or picking a winner stops test emails still waiting for their send slot, and those recipients get the winner at the spread rate. A larger sample re-plans the waiting test emails together with the added recipients at the spread rate.

If the account has a minimum spread, schedule_campaign and resume_campaign raise a lower, missing or null spreadOverHours to that minimum (the result shows the value used) and turn send-time optimization off, for every campaign.

For A/B campaigns, maxRecipients must allow at least one recipient per variant plus one for the winner. A schedule request with a smaller saved or requested cap fails without changing the campaign. Raise the cap or explicitly clear it with null before retrying.

To send to only part of an audience, set maxRecipients (1-10,000,000) on a draft with update_campaign or while scheduling with schedule_campaign. The first N matching subscribers by subscriber id receive the campaign after every audience and suppression rule; recipients already reached count against the cap when a paused send resumes, and duplicates and recurring runs keep it. Omit the field on schedule_campaign to keep the draft's saved cap, or pass null to clear it. get_campaign and list_campaigns report the cap as maxRecipients (null for the whole audience). For a daily ramp-up, duplicate the campaign, exclude contacts who already received it with an "email sent" audience filter, and raise the cap.

To send a file with every recipient's email, pass attachments to create_campaign or update_campaign: up to 10 items, 5MB in total, each a filename plus Base64 content (stored by Sequenzy and returned as a path) or a public path URL. contentType sets the MIME type of Base64 content; inline images (contentId) are not supported on campaigns. On update_campaign, null or an empty array removes every attachment. CC/BCC copies, test sends, duplicates and recurring runs carry the same files. If a file cannot be loaded when sending starts, nothing is sent and the campaign returns to draft. get_campaign reports attachments.

Every API response also lists request fields the API ignored, as ignoredFields ([{ path, reason }]). Check it after a write: a listed field had no effect.

For campaign- and sequence-level identities, fromEmail plus fromName selects the sender identity with that display name on the mailbox, creating it when needed without renaming other same-address identities. A Reply-To address instead has one company-wide saved name: when replyToName differs from that name, the saved name is kept and the successful response includes recovery guidance in warnings.

send_email and send_test_email return a durable emailSendId. Use list_email_sends to discover recent IDs by subject/title, recipient, delivery status, type, bounce type, source, recipient mailbox provider (mailboxProvider, the same values as the analytics filter), or list (listId); pass an ID to get_email_send to inspect status, errorMessage, the stored body, and delivery events. Delivery-list rows are retained for 14 days. Successful live-test and other test sends are omitted so they do not bury real deliveries. Replies to those test sends show in list_conversations only when inbound reply capture is enabled. Queue jobs are internal execution details and are not exposed through the MCP contract. Every returned delivery has a direct dashboard url. Use list_recipient_suppressions to distinguish protected global invalid-recipient, protected company hard-bounce, and complaint rows from removable company soft-bounce escalations, and use get_recipient_suppression for the exact regional status. remove_recipient_suppression removes only the company escalation; global and Amazon SES account-level suppressions, complaints, unsubscribes, and email-hygiene protections remain intact. A local hygiene result uses the bounced reason with email_hygiene as its source without changing the subscriber's consent status.

Agents should pass a caller-owned idempotencyKey to send_email before the first attempt and reuse it for every retry of that same logical email. Sequenzy returns the original emailSendId for 14 days instead of creating another delivery. Reusing the key with different send arguments is rejected, so do not generate a fresh key inside a retry loop.

Email blocks may use conditional display rules or conditional-group branches. Conditions support render-time variables and subscriber attributes plus live subscriber data such as segment/list membership, tags, events, engagement, subscription/SMS status, and Stripe or commerce purchases. Live-data conditions use the same field values and operators as segment filters; recipients without a stored subscriber match use the OTHERWISE branch.

Core block shapes are { "type": "heading", "content": "Title", "level": 1 }, { "type": "text", "content": "<p>Copy</p>" }, { "type": "button", "text": "Book a call", "url": "https://example.com", "variant": "primary" } , and { "type": "image", "src": "https://...", "alt": "Description", "width": 100, "widthType": "percent" }. Buttons also accept content as an alias for text and default to the primary variant. Image widthType accepts percent or px.

YouTube video blocks accept an optional custom cover: { "type": "video", "videoUrl": "https://www.youtube.com/watch?v=...", "thumbnailUrl": "https://cdn.example.com/cover.jpg", "alt": "Watch the product tour" }. Replacing blocks without thumbnailUrl restores YouTube's own still while keeping videoUrl as the click destination.

Raw html is stored as one opaque block. It preserves supplied markup but does not add a company logo, native branded sections, or theme-driven block design. Use prompt for a new branded draft or blocks for editor-native design; MCP authoring results include a warning when raw HTML is used.

Use update_company with fromEmail and/or replyTo to set account-wide defaults. fromEmail must use a configured, verified sending domain; replyTo may be any valid mailbox. create_campaign, update_campaign, create_sequence, and update_sequence accept the same direct-address fields for resource-specific overrides and create the backing profile when needed. Send fromName or replyToName alone to rename the existing default profile without changing its address. When an address has multiple display names, use senderProfileId or replyProfileId from list_sender_profiles to select the exact profile to make default and rename.

update_company also manages the company's default email theme through emailTheme (presetId, colors, typography, layout). Theme updates are partial - omitted fields keep their current value (or the preset default) and numeric values are clamped to supported ranges. Pass emailTheme: null to reset the company to the platform default theme. Layout settings can control the shared baseRadius and a separate buttonRadius, and contentAlign (center by default, or left) moves the content column flush left in wide email clients, along with buttons, the logo and footers unless they are set to right or kept centered with the block's styles.keepAlign: true. Within colors, background paints the outer canvas, content paints the inner content card, and surface paints nested cards or tinted tiles. Omitting content preserves its current value; when no content color is stored, the card follows background.

update_company also sets emailStylePreference (visual for designed emails, plain for simple text, null to clear the choice so the dashboard asks again) and emailPreset (branded for the logo and full footer, minimal for a compact footer without the logo). get_company returns both. footerStyle sets the footer AI-designed emails get: classic (brand-colored social icons), mono (monochrome icons, company name as a small wordmark), band (mono on a dark full-width band), editorial (mono, left-aligned) or auto (the default, fits the brand). footerMode picks the footer type in any of those styles: branded (the default) or personal, which opens the footer with the founder's sign-off (photo, name and title). Existing emails keep their footers. founderPhotoUrl sets the photo personal footers sign off with (null removes it); onboarding looks for it on the company website. To upload a photo instead, pass founderPhotoFilePath (local server only) or founderPhotoBase64; Sequenzy crops it to a square and saves it as founderPhotoUrl. footerTheme sets the auto-added footer's colors and copy (linkColor, reasonText, showCompanyLine and the rest) as a merge patch: omitted fields keep their value and null resets one, or all with footerTheme: null. get_company returns the resolved footerTheme. Footer font, size and line height are emailTheme.typography.footerFontFamily, footerFontSize (10-16px) and footerLineHeight (1-2), and apply to footer blocks too. The double opt-in confirmation email (consent.doubleOptInEmailId from get_tracking_settings) is edited with update_template; new content must keep {{DOUBLE_OPT_IN_URL}} or the update fails. While a saved AI style exists (get_email_ai_style), AI-written emails keep its design, header and footer until it is cleared.

Reply tracking is available on the same company tools. Use replyTrackingEnabled, replyTrackingDomainMode (sequenzy or custom), and forwardReplies with update_company. Company reads also return the current read-only replyRetentionDays value. Turning Inbox on with replyTrackingEnabled: true returns 409 receiving_domain_required when the workspace has no verified receiving domain and has never received a conversation; add one with add_receiving_domain instead, and its first verification turns Inbox on.

Polls and NPS surveys are native email blocks, so they work anywhere an email tool accepts blocks, including campaigns, templates, A/B variants, transactional templates, and sequence email steps. Transactional poll sends must resolve to exactly one effective recipient after suppression filtering and recipient deduplication, and that recipient must already exist as a subscriber; otherwise Sequenzy rejects the send because the answer link cannot be safely attributed. Use an answer-button poll:

{
  "type": "poll",
  "variant": "options",
  "question": "What did you think of this email?",
  "options": [
    { "label": "Loved it", "value": "loved" },
    { "label": "Not for me", "value": "not_for_me" }
  ],
  "attributeKey": "email_feedback"
}

For NPS, use "variant": "nps", an empty options array, and an attribute such as nps_score. The scale is always 0-10; optional npsLowLabel and npsHighLabel customize its captions. Each answer updates the subscriber attribute and fires poll.answered for automations and outbound webhooks.

Set "commentEnabled": true to show a comment box under the answer on the hosted thank-you page; commentPrompt changes its question. Each comment fires poll.commented and shows up in list_poll_responses. A poll with redirectUrl never shows the hosted page, so it ignores both fields.

Set "allowMultiple": true on a text-only options poll to open a hosted page where recipients can check several answers and save the whole selection at once. The subscriber attribute stores the selected-value list, so attribute segments should use contains. Multi-select polls cannot use option images or configurations whose encoded signed links exceed the delivery-safe size limit. Campaign poll summaries set allowMultiple: true, use respondent count for totalResponses, and can report answer percentages that add up past 100%.

Set "optionLayout": "row" to put text answers side by side in equal-width columns instead of stacking them ("stacked", the default). Image answers and NPS scales keep their own layout.

When redirectUrl is set, respondents land on that page with the chosen value appended as ?answer=<value>: the score for NPS, and one answer per selected option for multi-select polls. A URL that already sets answer is left as is.

Poll blocks also support brand-specific styling. accentColor recolors every appearance, including "brutal"; optionRadius sets answer-button corners in pixels (0 is square), independently of the container's styles.borderRadius; and questionColor recolors only the question. fontFamily applies to the poll. Use the optionFontSize, optionFontWeight, optionLetterSpacing, and optionTextTransform fields for answers, or the matching question* fields for the question. Sizes and spacing are pixels, weights range from 100 to 900, and text transforms are "none" or "uppercase".

Saved Forms

Tool

Description

list_forms

List saved forms with their server-managed audience settings, content blocks, and public action URLs.

create_form

Create and publish a saved form with standard email/name fields, audience settings, theme, and success behavior.

update_form

Update a saved form, including its complete ordered block array and typed custom fields.

get_form_embed

Return the public action URL, hosted JavaScript (recommended), minimal native form, and fetch example for a saved form, plus recommendedSnippet and reducedProtectionWarning.

For Astro, Hugo, Jekyll, Cloudflare Pages, Netlify, GitHub Pages, or any other static site, call list_forms, use create_form if a suitable form does not exist, then call get_form_embed. The returned opaque formId is the public capability: lists, tags, duplicate behavior, and success handling remain server-side, so the deployed browser code never contains a Sequenzy API key. Install the javascript snippet (recommendedSnippet): only the script carries spam protection, so use nativeForm or fetch only where scripts cannot run, and pass reducedProtectionWarning on to the user. The form appears right after the script tag; when the script loads elsewhere, put the returned placeholder where the form should appear. Generated native and standalone markup includes "Powered by Sequenzy" for free workspaces; paid workspaces receive unbranded markup. The API resolves that entitlement server-side, so callers should use the returned snippet unchanged. For a Webflow-connected company, form tools return embed.disabled: true and the native Webflow settings path instead of custom embed code. Previously deployed Sequenzy form endpoints reject submissions until Webflow is disconnected; configure selected native forms in the Webflow integration. When updating a form, omitted fields remain unchanged and theme fields merge into the current theme. Pass an empty tagIds array to clear tags or an empty redirectUrl to restore confirmation-message behavior. The blocks field is a complete replacement, so read the current content with list_forms first and retain exactly one required email field and one submit button. Add custom inputs as form-field blocks with a supported fieldType; select, radio, and checkbox fields require options, while hidden defaults are enforced server-side.

A contact who unsubscribed from all email and submits a saved form or popup again is resubscribed and rejoins its lists; duplicateStrategy only controls profile fields. Set resubscribeBehavior to double_opt_in on create_form, update_form, create_popup, or update_popup to send the double opt-in confirmation email first. That value requires a confirmation email and default sender in the workspace, otherwise the API returns 400. The default is reactivate.

Set botProtection to true on the same tools to run an invisible Cloudflare Turnstile check before each signup from the hosted JavaScript embed or popup. Signups that fail it, or come from the plain HTML form snippet, which cannot run it, must confirm by email before they are subscribed. Turning it on requires a double opt-in confirmation email and a sender profile, otherwise the API returns 400. It defaults to false.

Saved Popups

Tool

Description

list_popups

List saved popups with status and engagement stats, optionally including full content.

get_popup

Get one popup's blocks, trigger, targeting, schedule, frequency, theme, and published embed code.

create_popup

Create a popup from a starting template, published by default, and return its deployment script.

update_popup

Partially update popup copy, audience, behavior, theme, blocks, or publication status.

get_popup_embed

Return secret-free HTML, React/Next.js, WordPress, and Shopify embed snippets.

duplicate_popup

Copy a popup into a draft with independent engagement counters.

delete_popup

Permanently delete a popup and its engagement counters.

Popup deployment uses one public script tag; API keys, audience settings, triggering, targeting, scheduling, and frequency rules remain server-side. For a Webflow-connected company, popup tools return embed.disabled: true and the native Webflow settings path instead of custom code; previously deployed popup scripts become no-ops and their submission endpoint rejects requests. Popups capture into every list by default unless listIds is provided. When updating blocks, read the popup first and send the complete replacement array, retaining exactly one required email field and one submit button. Setting status to draft stops a popup without invalidating its existing embed code.

Pass reward to create_popup or update_popup to turn a popup into a scratch card. The visitor scratches a public teaser, claims it with their email, and then sees reward.value and the optional reward.code. Neither appears in the embed script: only a successful submit returns them, and the same reward is saved on the subscriber as the discount attribute, so welcome emails can use {{discount.value}} and {{discount.code}}. Style the card with coverStyle, coverColor, coverPattern, coverImageUrl, prizeBackgroundColor, prizeTextColor and cardRadius. The scratch-to-reveal template starts with the reward enabled.

Landing Pages

Tool

Description

list_landing_pages

List landing pages with status, metrics, content, and URLs.

get_landing_page

Get landing page details, builder content, metrics, and published URLs.

render_landing_page

Return a signed 24-hour visitor preview without publishing, counting views, or collecting signups.

create_landing_page

Create a draft landing page from default template content or JSON.

update_landing_page

Edit a landing page name, slug, or full editor-compatible content.

publish_landing_page

Publish a landing page, optionally saving edits first.

unpublish_landing_page

Return a landing page to draft status, optionally saving edits first.

duplicate_landing_page

Duplicate a landing page into a new draft with a unique slug.

delete_landing_page

Delete an unpublished landing page.

connect_landing_page_domain

Connect a custom landing page domain and return DNS setup details.

update_landing_page_domain_settings

Replace or verify landing page custom domain settings.

Landing page content uses Sequenzy's editor-compatible JSON schema with version, template, seo, theme, and blocks. SEO settings include faviconUrl and hideFromSearchEngines; hidden pages publish a noindex directive. Use render_landing_page to review the current visitor-facing page before publishing. Its signed previewUrl expires after 24 hours, is unlisted, is not indexed, and does not increment page views; forms remain visible but do not collect contacts. Blocks render in slot order: top, hero, form, body, then footer; use top for a full-width announcement or banner above the hero. Button and pricing CTA URLs accept external HTTPS destinations or in-page anchors such as #form, #section-<sectionId>, #block-<blockId>, and #top. Set theme.sectionAnimation to none, fade, slide-up, or zoom-in, with theme.sectionAnimationSpeed set to slow, normal, or fast, to control published scroll reveals. Custom landing page subdomains require a CNAME record pointing to pages.sequenzydns.com; root domains use an A record pointing to 76.76.21.21, and their www host redirects to the root when its CNAME points to pages.sequenzydns.com. Call update_landing_page_domain_settings with verify: true after DNS changes propagate.

Sequences

Tool

Description

list_sequences

List sequences with dashboard status, search, label, limit, and offset filters, each with its emailCount.

get_sequence

Get sequence details, A/B variant IDs and block counts with ab_tests:read, nodes, edges, linked copy, and the sequence sending window.

list_sequence_enrollments

List contact enrollments with pagination and accurate list/tag/event/time-based entry attribution. Live sequence tests do not create enrollments.

send_sequence_test_email

Send one saved action_email step to 1-10 reviewers, optionally rendered with customAttributes; A/B steps are inspected per variant.

create_sequence

Create a blank dashboard draft or an AI-generated/explicit-step sequence.

update_sequence

Update identity, settings, enrollment, existing steps, branch logic, or insert linear steps.

update_sequence_node

Type-aware patch of one existing sequence node.

update_sequence_nodes

Atomically patch multiple existing sequence nodes.

edit_sequence_emails

Change a sequence's emails with AI in one request: every email, the ones the prompt names, or emailIds (sectionIds for one); "look like email 1" copies its style; saved unless dryRun.

list_sequence_email_variations

List the design variations of one email of a sequence, with status and whether each is in use. Opens them rendered in MCP Apps clients.

generate_sequence_email_variations

Start designing 1-4 AI variations of one email of a sequence. Returns at once; poll until each is ready or failed.

use_sequence_email_variation

Save a ready variation's design into its email, or with scope: "all" every other email's style too; dryRun previews.

discard_sequence_email_variation

Discard a sequence email variation; the email does not change.

insert_sequence_step

Insert any typed dashboard step, including AI generation, outbound webhooks, waits, and wired branches.

edit_sequence_graph

Move, reconnect, delete, or duplicate graph nodes; reports recipients moved or completed.

get_sequence_definition

Opt-in sequences-as-code / GitOps export of one sequence as a definition document (format: raw for steps plus connections). Use get_sequence for normal inspection and editing.

push_sequence_definition

Opt-in sequences-as-code / GitOps sync from a definition document; defaults new sequences to managedBy: "code" (read-only in dashboard) unless managedBy: "dashboard" is passed. Use create_sequence, update_sequence_node, update_sequence_nodes, or edit_sequence_graph for normal dashboard-editable sequences.

simulate_sequence

Dry-run current matches, activation readiness, and an optional contact's branch path without enrolling or sending.

enable_sequence

Activate a sequence.

disable_sequence

Freeze a sequence, blocking new enrollments and holding current recipients.

duplicate_sequence

Create an independent draft copy of the graph, emails, and sequence A/B tests.

create_sequence_from_example

Clone a public email gallery sequence into a draft with the example's trigger and timing; AI writes each email in the background.

list_sequence_templates

List the dashboard's ready-made sequence templates for the company category, including push-first mobile app journeys (channels, trigger event, goal, quiet hours).

create_sequence_from_template

Create a draft sequence from a template id exactly as the dashboard does: push-first branch with email fallback, daytime waits, stop condition and attribution goal.

preview_sequence_from_example

Preview the first 3 emails of a gallery sequence written for the company or another website, without creating anything.

archive_sequence

Move a sequence into the dashboard archive and stop new enrollments.

unarchive_sequence

Restore an archived sequence as a disabled draft.

list_sequence_goals

List the event, subscriber-attribute, and tag-applied conversion goals persisted for a sequence.

create_sequence_goal

Add an event, subscriber-attribute, or tag-applied conversion goal.

update_sequence_goal

Update a persisted sequence conversion goal.

delete_sequence_goal

Delete a persisted sequence conversion goal.

get_sequence_inbound_webhook

Read the inbound URL, setup state, sample, mapping, and mappingCheck (whether the mapping finds an email in the last payload) on standard MCP; the OpenAI route removes the credential-bearing URL.

configure_sequence_inbound_webhook

Configure the endpoint, field mapping, and sample, and return mappingCheck; the OpenAI route removes the credential-bearing URL from its result.

rotate_sequence_inbound_webhook_secret

Rotate an inbound sequence endpoint's secret and return its replacement URL on standard MCP; omitted from the OpenAI-reviewed route.

pause_sequence_enrollments

Stop new enrollments for an active sequence while current recipients continue.

resume_sequence_enrollments

Reopen new enrollments for an active sequence without changing current recipients.

enroll_subscribers_in_sequence

Enroll up to 500 subscribers by email, subscriber ID, or both, with retry-safe idempotency.

enroll_sequence_audience

Estimate (default) or start a background run that enrolls a whole audience: everyone, lists, a segment, a filter, or rules. No per-call cap. scheduledFor starts it later; data attaches run-level values read in emails as {{enrollment.field}}.

list_sequence_audience_enrollments

List recent audience enrollment runs with status and counters. Hand-picked ID lists show the first 20; includedSubscriberCount has the total.

get_sequence_audience_enrollment

Poll one audience enrollment run.

cancel_sequence_audience_enrollment

Stop a queued or running audience enrollment; contacts already enrolled stay.

get_sequence_recurring_enrollment

Read a sequence's recurring schedule with a readable description and its next run times.

set_sequence_recurring_enrollment

Make a manual-trigger sequence recurring: re-enroll an audience daily, on chosen weekdays, or on chosen days of the month (lastDayOfMonth for the end of the month) at a time in an IANA timezone. endsAt stops it after a date, enrollmentMode (unlimited or one_time) sets who enters each run, and remove: true deletes the schedule.

cancel_sequence_enrollments

Stop active, waiting, or paused enrollments by subscriber or entry-event field values.

pause_sequence_subscribers

Hold specific contacts on their current step until resumed; they keep their place and entry data.

resume_sequence_subscribers

Continue paused contacts from the step they were paused on; waits keep their original time.

realign_sequence_enrollments

Preview or queue moving live waits earlier to their sending-window opening.

get_sequence_enrollment_realignment

Poll an applied realignment job and read its completed result or continuation cursor.

delete_sequence

Delete a sequence. Contacts still in it get none of its remaining steps; contactsInSequence in the result says how many. Use pause_sequence_enrollments to let current contacts finish instead.

Sequence creation supports:

  • Name-only creation for a blank, disabled trigger-to-completion draft matching the dashboard.

  • Dashboard metadata and delivery settings: description, labels, userCancellable, sequence BCC, and From/Reply-To identity.

  • activeSubscribersOnly: true keeps unsubscribed and bounced contacts out of the sequence. By default they still enter so non-marketing steps run, and only their marketing emails are skipped. update_sequence accepts the same field.

  • sendToNotSubscribed controls whether marketing emails also go to contacts with status not_subscribed: people you know about who never opted in to marketing and never unsubscribed, such as shoppers who started a checkout. Omit it to use the default for the trigger: true for sequences triggered by ecommerce.checkout_started, false for everything else. On update_sequence, null goes back to that default. Sequence results return the value in effect.

  • trigger: "contact_added" with listId, several listIds, or listScope: any_contact (the default) enrolls every added contact, including contacts that join no list, while any_list waits for an actual list membership.

  • trigger: "tag_added" with tagName or several tagNames; any configured tag enrolls the contact.

  • trigger: "segment_entered" plus segmentId for saved-segment entry automations.

  • trigger: "segment_exited" plus segmentId to enroll active contacts who stop matching a saved segment (unsubscribes and bounces do not count).

  • trigger: "event_received" plus {{event.*}} merge tags in subjects or body content.

  • trigger: "inbound_webhook" plus integration metadata for dashboard-compatible webhook entry nodes.

  • trigger: "inactivity" plus eventName, inactiveDays, and optional inactivityBaseline (sequence_created_at or subscriber_created_at).

  • trigger: "manual" for one-time, calendar-anchored campaigns: nobody enrolls automatically. Pair it with keyDates (named moments such as black_friday_starts) and step-level waitUntilKeyDate ({ key, days, hours, direction, pastAction }), then enroll the audience with enroll_sequence_audience after enabling (add scheduledFor to start on a date, and data for run-level values such as a sale end time that every email in the run reads as {{enrollment.field}}). Late enrollees skip steps whose moment already passed (pastAction: "skip", the default). To keep enrolling people who join a list or segment later, set audienceAutoEnroll: { audience } with update_sequence; it runs until the last key date and then stops itself (changing the trigger away from manual also switches it off). For recurring sends that are not tied to an event (end-of-month updates, balance reminders, a daily digest), keep trigger: "manual" and call set_sequence_recurring_enrollment with an audience, frequency (daily, weekly with weekdays, or monthly with monthDays and/or lastDayOfMonth), time and timezone. Every run re-enrolls the audience: contacts who finished an earlier run enter again, contacts still in the sequence are skipped, and one_time sequences never re-enroll anyone. It cannot run beside audienceAutoEnroll, and changing the trigger away from manual switches it off. Countdown sends are spread out: each contact gets their own send time within keyDates.sendWindow.spreadOverHours (default 4), after the moment for steps at or after it and in the hours leading up to the step's time for steps timed before it. Omit sendWindow to keep the current spread, or set spreadOverHours to 0 to send at the exact moment.

  • goal for AI-generated email content.

  • emailStyle: "visual" or "plain" to choose the presentation of goal-based AI-generated emails; when omitted, the company's saved preference is used.

  • Explicit steps with Sequenzy blocks.

  • Explicit steps with HTML, which Sequenzy converts into editable blocks.

  • Explicit Update Subscriber steps that copy trigger-event properties into profile fields or typed custom attributes.

  • Fixed waits via delay / delayMs, dynamic date-field waits via waitUntil (from the trigger event or, with source: "attribute", a contact attribute such as a due date; pastAction: "skip" lets late joiners skip the emails whose date already passed), or calendar gates via waitUntilWeekday. A weekday gate such as { "day": "sunday", "startTime": "09:00", "endTime": "12:00", "timezone": "America/Los_Angeles" } holds the flow until the next matching window. Add "timezoneSource": "subscriber" to evaluate it in each contact's own timezone instead, for example 9am local for every contact. Add "minimumWait": { "days": 6 } to wait at least that long first and then release at the next window, in one step instead of a fixed delay plus a weekday gate. Place it immediately before an email to keep that send inside the window; any intervening step can shift delivery outside it. Queue recovery rechecks the window before releasing a delayed contact.

  • Dynamic Stripe or Shopify discount action steps. A create_discount step creates a fresh provider code when each subscriber reaches it; later emails can use merge tags like {{discount.code}}, {{discount.percentOff}}, and {{discount.expiresAt}}.

  • enrollmentMode: "matching_field" and a scalar enrollmentFieldPath for product-, variant-, order-, or subscription-specific event automations. Array traversal with [] belongs in propertyFilters, not the enrollment key.

For a custom event trigger, the successful create_sequence result includes eventTrackingCode and a structured eventTracking object. The object contains the event endpoint, identity and payload contract, any property path required by matching_field enrollment, normalized trigger propertyFilters, an example payload, examplePayloadMatchesFilters, the direct event API docs URL, and ready-to-use arguments for get_integration_guide. If the match status is false, adapt the example using examplePayloadNote and the payload contract. Add this event feed and verify its required properties before enabling the draft sequence.

list_sequence_enrollments returns enteredVia for each row. List and segment sources keep their stable ID in value and resolve a display name; tag and event sources retain their names in value. Time-based triggers report inactivity or frequency rather than being misidentified as ordinary received-event enrollments. Live sequence tests do not create enrollments; they send isolated test emails and record activity on the sequence test run instead.

For a confirmed manual enrollment batch, generate idempotencyKey once and reuse that exact key only with identical ordered targets and targetNodeId. Receipts last 14 days. A retry returns the original enrolled, skipped, notFound, targetNodeId, and scheduledFor values with idempotentReplay: true; it does not create tokens or queue the batch again.

Example dynamic Shopify discount step:

{
  "type": "create_discount",
  "discount": {
    "provider": "shopify",
    "discountType": "percent",
    "percentOff": 20,
    "duration": "once",
    "appliesToAllPlans": true,
    "maxRedemptions": 1,
    "codePrefix": "WINBACK"
  }
}

Example Update Subscriber step:

{
  "type": "update_subscriber",
  "nodeType": "action_update_attributes",
  "config": {
    "firstName": "{{event.firstName}}",
    "customAttributeUpdates": [
      { "name": "plan", "value": "{{event.plan}}", "valueType": "text" },
      { "name": "mrr", "value": "{{event.amount}}", "valueType": "number" },
      { "name": "active", "value": "{{event.active}}", "valueType": "boolean" }
    ]
  }
}

Number and boolean values must be literals or one standalone merge tag. Use update_sequence.subscriberUpdateSteps with an action_update_attributes node ID from get_sequence to replace an existing step's config.

Sequence updates support insertSteps for adding new linear steps after a nodeId returned by get_sequence. Omit afterNodeId only when appending to a sequence with exactly one linear tail. insertSteps supports addable steps that do not require companion records, such as email, delay, tag/list actions, attribute updates, discounts, conditions, wait-for-event steps, outbound webhooks, and AI steps. An action_ai step requires a merge-tag prompt, unique resultKey, and one or more outputFields; later steps read generated or fallback text with {{ai.KEY.field}}. Combined output-field limits must fit the step's 2000-token response budget. Use includeTags, includeEventProperties, or includeAttributes to opt specific contact context into generation, and onError (continue, exit, or fail) to choose failure behavior. Use branch for multi-path if/else branches; provide either branch or insertSteps, not both. Branch conditions support tag presence and absence checks with has_tag and does_not_have_tag, plus lists, saved segments, events, clicked links, and field comparisons. Each branch path may provide new steps, an existing targetNodeId, or both; the fallback uses elseSteps and/or elseTargetNodeId. A target can be the completion node returned by get_sequence, so one atomic request can route replies to completion and Else to an existing follow-up. The emails and steps arrays edit ordinary action_email steps by nodeId, emailId, or array order. get_sequence.sequence.emails also includes action_ab_test entries; with ab_tests:read, each abTest.variants[] entry contains the variant ID, subject, preview text, and block count. Call get_ab_test for full variant bodies before auditing or rewriting copy. A positional update landing on one is rejected, and its copy must be changed per variant with update_ab_test_variant; do not retry through update_template or update_sequence_node. Use insertSteps to create new steps and include a step-level delay, delayMs, waitUntil, or waitUntilWeekday when the inserted email needs a timer. waitUntil accepts a date field plus optional source (event, the default, reads the trigger event; attribute reads the contact's custom attributes), offset, direction (before or after), missingAction (continue or exit), and pastAction (continue, the default, skip, or exit) for dates that already passed when the contact reaches the wait. waitUntilWeekday accepts day or days, startTime, optional endTime (default 24:00), an IANA timezone, and optional timezoneSource (fixed, the default, or subscriber to use each contact's own timezone with timezone as the fallback); contacts already inside the window continue immediately. For active sequences, pass confirmStructuralChange: true with insertSteps or branch only after confirming the live-flow impact.

insert_sequence_step exposes every companion-record-free dashboard step directly: email, SMS, delay, discount, subscriber update, tag/list action, outbound webhook, AI generation, condition, wait, and branch. Set type: "ai" with prompt, resultKey, and outputFields to generate per-contact text for later {{ai.KEY.field}} merge tags. Outbound webhooks accept url, method (POST or GET), and string-valued headers. Email steps support transactional mode, per-step identity, and CC/BCC delivery settings. For a wait gate, set type: "logic_wait_for_event" with eventName, optional timeoutDays (1-365), and timeoutAction (continue or exit). For a branch, set type: "logic_branch", provide typed branches, and wire their targets:

{
  "sequenceId": "seq_123",
  "type": "logic_branch",
  "afterNodeId": "node_email_1",
  "branches": [
    {
      "id": "replied",
      "conditionType": "event_received",
      "eventName": "email.replied",
      "activityScope": "this_sequence",
      "targetNodeId": "node_complete"
    }
  ],
  "elseTargetNodeId": "node_email_2"
}

Each linked email returned by get_sequence includes its effective emailPreset (branded or minimal), matching Style > Format in the dashboard. Set emailPreset on an emails/steps item, or in an action_email node's changes, to change only that linked email without changing the company theme. This applies the same format transformation as the dashboard to native Sequenzy blocks, including emails that contain supported custom HTML blocks. Emails stored entirely as one standalone raw HTML block return null for emailPreset and do not support format changes. emailPreset cannot be combined with html or htmlContent because those fields replace the entire email with standalone raw HTML.

For sequence position, prefer structuralStepNumber on linked emails and the top level of email nodes. It is derived from the current graph and matches the step badge shown in the dashboard. Parallel branch emails intentionally share the same structural depth, and an unequal branch merge continues from the longer incoming path. The older stepNumber field in linked emails and node configs remains a stored ordinal for backward compatibility and may be stale after graph edits.

Each linked email also returns its stored emailTheme override, or null when it follows the company theme. Set emailTheme on an emails/steps item or in an action_email node's changes to restyle only that step. Theme updates are partial patches, so changes: { "emailTheme": { "colors": { "background": "#f3f4f6", "content": "#ffffff" } } } gives that email a gray outer canvas and white content card while retaining its other colors, typography, and layout. Omitting either color preserves its current value. Pass emailTheme: null to drop the override and follow the company theme again. Use update_company only when the account-wide default should change.

Use update_sequence_node for a focused in-place edit, or update_sequence_nodes when several node patches must commit atomically. Call get_sequence first: every item in sequence.nodes includes the node id, nodeType, current config, updatedAt, and updateHints with editable and managed fields plus the exact concurrency token to return. Pass that token as expectedUpdatedAt to reject stale writes. The tools support every stored node type, including delays, email/SMS content, actions, conditions, webhooks, branch configuration without topology changes, and triggers. To change a 5-minute delay to 7 days, send changes: { "delay": { "days": 7 } } for its logic_delay node. To make several founder-style notes Minimal, patch their action_email nodes with changes: { "emailPreset": "minimal" }. Node-type conversion and edge/path changes belong in edit_sequence_graph. Active sequences require confirmLiveChange: true after the user confirms the impact; recipients already waiting retain their existing scheduled timestamp.

Existing and newly inserted email steps can set their own From identity with senderProfileId or fromEmail plus optional fromName, and their Reply-To identity with replyProfileId or replyTo plus optional replyToName. A fromName on its own changes only that step's visible sender name. A step-level replyToName similarly overrides the visible Reply-To name for that step without renaming the company-wide reply profile. New email steps without explicit identity fields inherit the effective identity of the nearest sequence email. After a branch merge, only identity fields shared by every incoming path are inherited; conflicting fields use the sequence or company defaults.

Use get_sequence_definition and push_sequence_definition only for the opt-in sequences-as-code / GitOps workflow, when a sequence is owned as a YAML/JSON file in a git repository or CI pipeline. For normal marketing sequence creation and editing, use create_sequence (or generate_sequence), update_sequence, update_sequence_node, update_sequence_nodes, and edit_sequence_graph instead so the sequence stays editable in the dashboard. A definition is one document with the sequence's name, settings, trigger and steps in run order, all addressed by your own keys. Steps use shorthands (wait: 2d, email with html, blocks or a template email ID to copy, branch paths with if conditions and an else, split with percentages, continueIf, tag, untag, end: true); nested paths rejoin at the next step and the end is implicit. get_sequence_definition returns this readable format, or the explicit format (type/config steps plus connections) with format: raw or when nesting cannot describe the sequence; both push. Pushing a pulled definition back unchanged is a no-op; dryRun: true returns the added, changed and removed steps and where waiting contacts continue. Missing steps are removed and their waiting contacts move to the next step. A push never turns a sequence on or off: new sequences start as drafts with managedBy: "code", which locks their steps, emails, and settings as read-only in the dashboard (pass managedBy: "dashboard" in the definition to keep a pushed sequence editable in the dashboard), and changing an active sequence needs confirmLiveChange: true. A/B test steps pass through unchanged, and webhook header values stay [REDACTED].

Use edit_sequence_graph with the latest graphRevision from get_sequence to restructure an existing sequence atomically. It can move a node before or after another node, reuse the normalized sequence.edges array for explicit reconnection or multi-node reordering, delete a node, or deep-copy a node. A/B test duplication creates independent test, variant, email, and localization records with reset statistics. Moving a node before the shared node below a branch reconnects every converging branch path through that node. Deleting a node immediately moves parked recipients to its unique surviving successor, or completes them when no successor remains; inspect sequence.migratedRecipientCount and sequence.completedRecipientCount in the result. Deletion is refused when parked recipients would have multiple surviving continuations. Stale revisions, invalid branch lanes, cycles, and unreachable nodes are also rejected. Active sequences require confirmStructuralChange: true.

Run cancel_sequence_enrollments with dryRun: true before applying bulk cancellation.

Use pause_sequence_subscribers to stop one contact's sequence temporarily (for example while their account is blocked) and resume_sequence_subscribers to continue from the same step. Nothing restarts or is skipped: a wait that ran out while paused continues right away, and one that has not ends when it would have. A paused contact cannot be enrolled in the same sequence again, a wait-for-event step only picks up an event that arrived meanwhile once the contact is resumed, and unsubscribes, bounces, and cancel_sequence_enrollments still end the enrollment. This is per contact; pause_sequence_enrollments only stops new contacts entering.

Run realign_sequence_enrollments after changing a live sequence's sending window when existing email-bound waits should move earlier to the new opening. It defaults to dryRun: true. Passing dryRun: false queues a background job and returns jobId; poll it with get_sequence_enrollment_realignment. When a completed result has hasMore: true, queue the next bounded apply with its nextCursor. Applied realignment changes live delivery times and should only be used after the user confirms the preview.

Email Blocks

Tool

Description

get_email_block_schema

List every email block type or inspect one type's required fields, enum values, item shapes, and example.

Call get_email_block_schema before hand-authoring a block type you have not used before. Omit blockType to list every type, pass a type such as list or steps for its complete reference, or pass creatableOnly: true to hide types managed by the editor. Persisted group blocks are structural editor content: they recursively wrap child blocks in Stack, Row, Grid, or single-image Overlay layouts, but AI generation and creatableOnly intentionally omit them. Request blockType: "group" to inspect their fields when reading or updating existing grouped content. Lists are their own block type rather than a text variant: list items use content, while steps items use title and an optional description.

Tools that accept blocks persist per-block visual styling under a block's styles object:

{
  "type": "card",
  "title": "Your update",
  "content": "Everything is ready.",
  "variant": "default",
  "styles": {
    "backgroundColor": "#f8fafc",
    "backgroundOpacity": 85,
    "borderColor": "#cbd5e1",
    "borderWidth": 1,
    "borderRadius": 12
  }
}

For compatibility with older agent prompts, top-level style keys such as backgroundColor, backgroundOpacity, borderColor, borderWidth, and borderRadius are also accepted and saved under styles.

Transactional Email

Tool

Description

list_transactional_emails

Search/filter templates and sort by delivery metrics; returns subjects and dashboard URLs.

get_transactional_email

Read a transactional email by ID or slug.

create_transactional_email

Create a transactional template from a prompt, HTML, or blocks.

update_transactional_email

Update transactional metadata or body content.

send_email

Send one email by template or HTML to shared To, Cc, and Bcc recipients.

Prompt-created transactional templates are generated server-side and default to disabled for review. Explicit HTML or block templates retain the compatibility default of enabled; pass enabled explicitly to override either default.

For a direct send, pass to, subject, and html; the MCP server maps html to the transactional API's body field. For a saved transactional email, pass its API slug through the compatibility-named templateId field instead. For transactional sends, to, cc, and bcc each accept one address or an array of up to 50. The API sends one email with a shared recipient list and removes cross-field duplicates in to, then cc, then bcc priority order. Marketing sends still require exactly one accepted to address and do not support additional recipients. Add trackAs (for example weekly-report) to a direct subject/html send_email call to count every send with that value under one code-managed transactional email. The first send creates it; list_transactional_emails reports it with managedBy: "code" and its own stats. Use a stable ASCII email-type name (letters, digits, spaces and . _ - : /), never per-recipient values (up to 100 per company). Code-managed emails cannot be sent with templateId, and update_transactional_email only changes their name, enabled and labels. send_email variables support nested arrays for repeat blocks, such as { "event": { "items": [...] } }. When the recipient matches a stored subscriber by external ID or email, saved first and last names fill omitted name variables automatically. Explicit values, including blanks, take precedence. The optional attachments array accepts up to 10 files / 15MB total. Each item needs filename and exactly one of Base64 content or a public HTTP(S) path. Set contentId to embed a CID image referenced from the HTML and optionally set contentType to override MIME detection. When trackingSettings is omitted, the company's Transactional API tracking defaults apply. Use trackingSettings.clickTracking: false or trackingSettings.openTracking: false to disable link rewriting or the open pixel for one send. These per-send options only opt out; they cannot enable tracking disabled by an account-wide or Transactional API default. Use get_tracking_settings and update_tracking_settings to inspect or change those defaults. Set unsubscribeTrackingEnabled: false with update_tracking_settings to send unsubscribe links directly to https://sequenzy.com, even with a custom tracking domain. Actual unsubscribes and their email attribution are still recorded. Set emailContentStorageEnabled: false to keep no rendered body once an email is sent, store the email's name in place of its subject, and store no IP address, user agent or country for opens and clicks.

Use the optional headers object for extra email headers (up to 50), for example your own List-Unsubscribe and List-Unsubscribe-Post: List-Unsubscribe=One-Click on a transactional send. Marketing sends always use Sequenzy's signed unsubscribe headers, and headers Sequenzy manages (From, To, Subject, Reply-To, Message-ID, Content-Type, X-Sequenzy-* and similar) are never applied. Headers that are not applied do not fail the send; the result lists them in ignoredHeaders with a reason. Header values must be strings.

For agent and workflow retries, include a stable idempotencyKey (up to 255 characters) in send_email. Use one key per logical email and send the same arguments when retrying; the key remains valid for 14 days.

Analytics

Tool

Description

get_stats

Get overview stats for a period or start/end; filter by email type, provider, recipient domain, source or send outcome (bounce type or complaint).

get_stats_breakdown

Break the funnel and revenue down by email, sequence, email type, provider or domain, with drill-in filters; outcome: "complaint" shows where complaints came from.

get_transactional_stats

Get all-time or time-scoped metrics for one saved transactional email by ID or slug.

get_campaign_stats

Get campaign performance, reply metrics, attached conversion goals, and Poll/NPS summaries.

get_email_client_stats

Get mail client and device shares of unique opens for a campaign or the whole company.

get_link_click_stats

Get clicks per link destination across every email for a period, with unique clicks and share.

list_poll_responses

List each respondent's latest Poll/NPS answer per block, with identity and response time.

list_campaign_replies

List who replied to a campaign, newest first, with the inbox conversation holding each reply.

get_sequence_stats

Get aggregate and per-step sequence performance plus live active/waiting enrollment counts by current node.

list_email_metrics

Compare campaign and sequence-step funnels, replies, conversions, and revenue, including cross-sequence steps.

list_campaign_events

List paginated raw email events for a campaign.

list_sequence_events

List paginated raw events for a sequence, optionally scoped to one email step.

get_subscriber_activity

Get subscriber email stats, activity, and enrollments.

Campaign and sequence event filters accept transport_failure alongside delivery, bounce, complaint, engagement, unsubscribe, and delay events. Transport failures describe MTA infrastructure or egress-path exhaustion; they do not classify a valid recipient address as bounced.

Analytics tools exclude detected bot, scanner, link-preview, and tracked asset opens/clicks by default. Pass includeMachineEngagement: true to get_stats, get_stats_breakdown, get_campaign_stats, get_email_client_stats, get_link_click_stats, get_sequence_stats, get_ab_test_stats, get_subscriber, or get_subscriber_activity when you need raw engagement diagnostics; included open/click activity rows expose machine, engagementQuality, and classificationReasons fields where the API returns event-level activity.

get_sequence_stats.enrollmentCounts is a live point-in-time snapshot of active and waiting enrollment runs grouped by current node. It counts enrollment tokens rather than necessarily distinct subscribers, and it is not limited by historical period, start, or end filters. Contacts held by pause_sequence_subscribers are counted separately in pausedEnrollments.

Use list_email_metrics for comparisons across campaigns or sequence steps. Pass step with optional sequenceId values to total the same step across sequences; use the returned automationNodeId with list_sequence_events or list_email_sends to inspect recipients. campaignId cannot be combined with sequenceId or step. Explicit campaign and sequence scopes retain configured emails with zero activity so weak performers are not silently omitted.

Pass emailType: "transactional" to get_stats for Send API and transactional SMTP delivery, open, click, and reply rates. This includes direct and saved-template sends. Use the emailSendId returned by send_email with get_email_send when you need one delivery's status and event timeline. Use get_transactional_stats when you need aggregate rates for one saved transactional email. Its response includes top clicked links, complaints, replies, latest permanent/transient bounce classifications, and separate human and machine open/click counts. Direct-content sends do not have a stable template ID and remain available through account transactional stats plus delivery search.

When a campaign collects Poll or NPS answers, get_campaign_stats includes a top-level polls array. Each subscriber counts once per poll block using their latest answer. NPS summaries include the score, average, and promoter/passive/detractor counts. These are lifetime response summaries even when engagement metrics use a time filter. get_sequence_stats returns the same summaries per email step as steps[].polls, omitted for steps without answers.

Use list_poll_responses to read who answered what and when. It returns each subscriber's latest answer per poll block, newest first, including the email, stored value, attribute key, and response time. Pass blockId to scope one poll; for a sequence email step, pass its automation node ID as campaignId. Rows carry the respondent's latest comment, the commentAnswer it was written under and commentedAt (all null without a comment); pass hasComment: true to list only respondents who commented. Do not reconstruct this history by scanning subscriber attributes: an attribute has no response timestamp and may have been overwritten by a later email that reused the same key.

Use list_campaign_replies to see who replied to a campaign. It lists every reply behind the unfiltered replies count of get_campaign_stats (no period or provider filter), newest first, with the subscriber, the send they replied to, the attachment count and the reply time. Reply text is not included: pass the row's conversationId to get_conversation to read it. conversationId is null when the reply has no inbox conversation.

To list the exact historical respondents behind a count, call create_segment with field pollResponse, operator is, and a JSON value scoped to the campaign and the summary's blockId:

{
  "v": 1,
  "campaignId": "camp_123",
  "blockId": "poll_1",
  "match": { "kind": "answer", "value": "loved" }
}

For NPS, use a match such as {"kind":"npsBucket","bucket":"detractors"}; valid buckets are promoters, passives, and detractors. The summary's attributeKey stores the subscriber's current/latest response and may be overwritten by a later poll that reuses the key, so it is not an exact historical drill-down.

Team, Inbox, Webhooks

Tool

Description

list_team_members

List team members and pending invitations.

invite_team_member

Invite a teammate as admin or viewer, with optional billing access.

cancel_team_invitation

Cancel a pending team invitation.

get_inbox_address

Get the address anyone can email to reach the inbox, whether receiving is on, attachment availability, and retention.

update_inbox_address

Set a branded inbox address like support@support.acme.com on one of your receiving domains, or reset to the default.

list_conversations

List inbox conversations (replies and inbox address email) with status and unread filters, each with a lastMessagePreview.

get_conversation

Read a conversation and its message history, with signed downloadUrls for stored attachments.

reply_to_conversation

Queue an outbound reply (optionally with base64 attachments) or add an internal note.

forward_conversation_message

Email a copy of one received or sent message, with its attachments, to another address.

update_conversation_status

Open or close a conversation.

bulk_update_conversation_status

Open or close up to 100 conversations in one call; reports updated, unchanged, and not-found IDs.

bulk_update_conversation_spam

Move up to 100 conversations to the Spam folder or back to the inbox; reports updated, unchanged, and not-found IDs.

list_conversation_recipients

List the inbox addresses conversations started at, for the recipient filter of list_conversations.

list_receiving_domains

List receiving domains (mail to any address on them reaches the inbox) with status and DNS records.

add_receiving_domain

Add the workspace's one receiving domain; returns the MX (and TXT) records to publish. Refuses domains with a mailbox.

get_receiving_domain

Read one receiving domain's status, records, error, and how long an unverified name stays reserved.

verify_receiving_domain

Check a receiving domain's DNS records now.

remove_receiving_domain

Destructive: remove a receiving domain; all mail to it, including replies to emails already sent, stops arriving.

mark_conversation_read

Mark all messages in a conversation as read.

mark_conversation_unread

Mark a conversation unread again.

list_webhooks

List outbound webhook endpoints.

create_webhook

Create an endpoint and return its one-time signing secret on standard MCP; omitted from the OpenAI-reviewed route.

update_webhook

Update webhook name, URL, events, or status. Enabling clears an automatic disable.

delete_webhook

Permanently delete a webhook endpoint and delivery history.

test_webhook

Send a test event to a webhook endpoint.

list_webhook_deliveries

List recent delivery attempts for a webhook.

replay_webhook_delivery

Replay a webhook delivery.

list_conversations returns lastMessagePreview on each conversation: { type, text }, where type is inbound (subscriber) or outbound (team) and text is up to 200 characters of plain text with quoted history, signatures and markup removed. Internal notes are skipped. It is null when the latest reply has no readable text. Use get_conversation to read the full thread before replying.

Per-list consent changes are available as opt-in outbound events: subscriber.list_subscribed and subscriber.list_unsubscribed. Their payloads identify the subscriber and list, report action as added or removed, and include the change source (for example preferences_page, dashboard, api, or automation).

Use the email.failed event for terminal delivery failures such as exhausted MTA transport paths. Recipient bounces continue to use email.bounced.

The opt-in email.received event fires for new mail to your inbox addresses and receiving domains (not replies to emails you sent, which are email.replied). It is not sent for mail the inbound scan flags as spam or a virus, and it is not added when create_webhook omits events.

A receiving domain is a domain or subdomain whose mail reaches the inbox: every address on it arrives. A workspace has one, and like the tracking domain it serves every sending domain: once it is verified, replies to emails from any of your sending domains come back to reply addresses on it. Until then, replies use Sequenzy's shared inbound address. Workspaces that set up several before keep them; replies then prefer the sender's own domain or one on the same root, else the oldest verified one. Adding a second one returns 409 limit_reached. After add_receiving_domain, publish the MX record (and the TXT record when listed), then call verify_receiving_domain. The first verification turns Inbox on. verified means mail arrives and new reply addresses use the domain; pending means its records are not published yet (a new name is reserved for 7 days); failed means something broke: mail that still arrives is accepted, but new reply addresses use Sequenzy's address until it is fixed. A domain that already receives email elsewhere (its MX points at Google Workspace, Microsoft 365, Cloudflare Email Routing...) is refused with 409 domain_has_mailbox, so use a subdomain such as support.acme.com. 503 dns_check_failed means the MX lookup got no answer; retry in a minute. When a conversation has a recipientAddress, reply from the sender profile with that email address if one exists.

Use the explicit-only campaign.sent event when a workflow needs one terminal notification after an email or SMS campaign settles, including a valid zero-recipient send. It is not added when create_webhook omits events on standard MCP; on the OpenAI-reviewed route, add it in the dashboard when creating or editing the webhook.

AI Generation

Tool

Description

generate_email

Generate branded email blocks from a prompt.

generate_sequence

Deprecated alias that persists a goal-based sequence draft.

generate_subject_lines

Generate A/B subject line variants.

Generated email content includes the company's logo and footer by default. generate_email accepts applyBranding: false for raw content blocks and emailType: "transactional" for a footer without an unsubscribe link. Prompt-based campaigns inherit the company's configured email font. Generated content is returned as draft content for review. Use create_sequence to generate and persist a disabled sequence draft that appears in list_sequences; the deprecated generate_sequence alias does the same.

SMS

Tool

Description

generate_sms

Generate SMS copy from a prompt.

get_sms_settings

Read SMS add-on readiness, credits, defaults, and provisioned numbers.

get_sms_usage

Compare sends, delivery outcomes, charged credits, last activity, and test sends by number.

update_sms_number_label

Update a number's label, brand-prefix override, or link shortening. Named update_sms_number_settings on the OpenAI-reviewed route.

release_sms_number

Permanently return a number to the carrier and free its workspace slot.

send_test_sms

Send a test message, optionally choosing a provisioned sender with fromNumberId.

release_sms_number is irreversible. Campaign or sequence steps pinned to a released number will skip their SMS sends until they are repointed to an active number. get_sms_usage reports production totals separately from testSends. When send_test_sms omits fromNumberId, it uses the same oldest-active-number default as production sends. Test sends are real, credit-charged messages that bypass quiet hours and are limited to 100 per company in a rolling 24-hour window.

Push Notifications

Tool

Description

get_push_settings

Read web push, APNs and Firebase readiness, last credential errors, and active device counts.

update_web_push_settings

Enable or disable web push (generates VAPID keys on first enable) or set the default icon.

set_apns_credentials

Save an APNs auth key (.p8) for iOS push.

remove_apns_credentials

Remove APNs credentials.

set_fcm_credentials

Save a Firebase service account key for Android push.

remove_fcm_credentials

Remove Firebase credentials.

list_push_devices

List registered browsers and app installs, filtered by contact, platform or status.

register_push_device

Register an APNs, FCM or web push token for a contact.

remove_push_device

Unsubscribe a device.

send_test_push

Send a test push to one device or to every active device of a contact.

get_push_import_preflight

Check APNs/Firebase setup before importing devices from another provider.

create_push_import

Create a draft import from OneSignal, Braze, Customer.io or a CSV, with warnings.

add_push_import_rows

Add another CSV part (up to 5 MB) to a draft CSV import.

start_push_import

Start a draft import, or resume a failed or stalled one.

get_push_import

Read an import's status, progress, counts and skip/invalid reasons.

list_push_imports

List recent push imports.

cancel_push_import

Stop an import; devices already imported stay.

list_push_campaigns

List push campaigns.

get_push_campaign

Read a push campaign with its stats.

create_push_campaign

Create a push campaign draft.

update_push_campaign

Update a draft or scheduled push campaign, including draft delivery timing.

translate_push_campaign

Translate a push campaign into the workspace's languages with AI and save it.

translate_push_content

Translate a push title and message with AI without saving (for sequence push steps).

estimate_push_campaign_recipients

Count contacts in an audience with an active device.

send_push_campaign

Send now or schedule a push campaign, in local time or at each optimal hour.

unschedule_push_campaign

Move a scheduled push campaign back to draft.

cancel_push_campaign

Stop a scheduled or sending push campaign.

duplicate_push_campaign

Copy a push campaign into a new draft.

get_push_campaign_stats

Read sent, displayed, clicked, failed and skipped counts with reasons.

list_live_activities

List iOS Live Activity and Android Live Update tokens with counts per activity type.

start_live_activity

Start a Live Activity on one contact's devices, or for a segment, list or tag.

update_live_activity

Send new content to a contact's activity, or broadcast to every device running it.

end_live_activity

End a contact's activity, or broadcast the end, with its final content.

Push reaches contacts who allowed notifications in a browser (web SDK subscribeToPush()) or in your app (tokens registered with register_push_device or the REST API). Web push needs the site to serve /sequenzy-sw.js; iOS and Android need your APNs key and Firebase service account. Push campaigns and type: "push" sequence steps skip contacts without an active device on a set-up platform. send_test_push is limited to 200 per company per rolling 24 hours and excluded from stats.

Live Activities go to ActivityKit tokens that the iOS SDK reports (Sequenzy.observeLiveActivities(of:)), not to push devices. The same calls reach Android Live Updates: the Android SDK reports tokens for the same type name (SequenzyLiveUpdates.observe), and Sequenzy sends them as FCM data messages that the SDK shows as a promoted Live Update on Android 16 and an ongoing notification updated in place on earlier versions. Each platform needs its push credentials (APNs key, Firebase service account). Start, update and end name the contact (email or subscriberId), or an audience or broadcast as described below, and return tokenCount, contactCount and platforms ({ ios, android }); 0 means nothing was sent. To reach many people with one activity, start it with segmentId, listId or tag (up to 100,000 devices) and a shared activityId, then update and end it with broadcast: true, which reaches every signed-in device running that id. Both need the campaigns:send scope too; never broadcast a per-person id like an order. list_live_activities accepts platform. Updates carry the request time, so repeating one is safe; repeating a start shows a second activity.

In-App Messages

Tool

Description

list_in_app_messages

List a contact's open in-app messages and content cards, or their history.

record_in_app_event

Record that an item was displayed, clicked, dismissed or read.

delete_in_app_message

Remove an item from the contact's feed.

get_in_app_step_stats

Read created, displayed, clicked and dismissed counts for one in-app sequence step.

list_in_app_templates

List built-in in-app step templates with their full step configs.

write_in_app_copy

Write in-app eyebrow, title, message and button text with AI from a brief.

validate_in_app_html

Check a custom HTML in-app message: size, Braze Liquid conversions, script hosts.

list_in_app_campaigns

List in-app campaigns with their state (draft, scheduled, live, ended, stopped).

get_in_app_campaign

Read an in-app campaign with its reach and engagement.

create_in_app_campaign

Create an in-app campaign draft: message, priority, end time and audience.

update_in_app_campaign

Update a draft or scheduled in-app campaign; message fields merge.

estimate_in_app_campaign_recipients

Count the contacts who match an audience now and how many have the app.

send_in_app_campaign

Launch now or schedule an in-app campaign.

unschedule_in_app_campaign

Move a scheduled in-app campaign back to draft.

stop_in_app_campaign

Stop a scheduled or live in-app campaign; unseen messages leave feeds.

duplicate_in_app_campaign

Copy an in-app campaign into a new draft.

get_in_app_campaign_stats

Read reached, displayed, clicked, dismissed and button results.

In-app items come from type: "in_app" sequence steps (modal, banner, fullscreen or content card) and from in-app campaigns, which send one message to an audience: launching writes nothing per contact, and each contact in the audience gets it the next time their app fetches its feed while the campaign is live. Nothing is sent: the customer's app fetches each contact's feed, renders it and reports events, so ask the user to set that up first (Settings > In-app has a prompt for their coding tool).

Custom HTML messages are in_app steps with format: "html" and html: the customer's own document, such as a Survicate survey or Braze custom HTML, shown sandboxed by the SDKs with a JS bridge (Braze's brazeBridge works). Check a document with validate_in_app_html first. list_in_app_messages leaves them out of open feeds unless formats includes html.

A button with action: "request_push_permission" makes a push primer: the app asks for notification permission, or opens its notification settings when the contact turned them off. Only apps whose SDK handles that action get such items (list_in_app_messages with actions: "request_push_permission" for backend-rendered feeds). Record the result with record_in_app_event (type: "clicked", pushPermission); get_in_app_step_stats counts allowed and declined results, get_push_settings reports the app opt-in rate, and the contact's pushPermission attribute holds the best status across their app devices.

Placements

Tool

Description

list_in_app_placements

List the workspace's placements with created, live, displayed and clicked counts.

get_in_app_placement

Read one placement and its counts.

create_in_app_placement

Create a placement: a slot in the app that shows in-app content inline.

update_in_app_placement

Rename a placement or change its description or size hints (the key never changes).

delete_in_app_placement

Delete a placement; its slots collapse and steps that target it skip contacts.

get_in_app_placement_content

What each placement shows one contact now, or null when the slot collapses.

Fill a placement with an in_app step: kind: "placement", placement (the key), an optional priority of high, medium (default) or low, and an optional layout: card (default; image over the text, link buttons), banner (compact row with a thumbnail and a filled button) or hero (text over the image, filled button). The app shows each contact's highest-priority open item per placement. Placement items never appear in list_in_app_messages open feeds; use get_in_app_placement_content, or status: "all" for history.

Product Feedback

Use submit_feedback only when the user explicitly asks the assistant to send feedback to the Sequenzy team. Standard MCP can include the structured reproduction fields userIntent, toolCalls, expected, actual, and resourceIds when needed for that report. The OpenAI-reviewed route omits this tool. Do not include unrelated subscriber data, email content, raw API payloads, debug data, or secrets.

Resources

The server also exposes read-only MCP resources.

Resource

Description

sequenzy://dashboard

Live overview stats for the last 7 days.

sequenzy://company

Current company and localization settings.

sequenzy://campaigns/recent

Last 10 campaigns with status and basic stats.

sequenzy://subscribers/recent

Most recently added subscribers.

sequenzy://subscribers/engaged

Most active or engaged subscribers.

sequenzy://sequences

All sequences with status.

sequenzy://templates

Templates with localization status.

sequenzy://segments

Saved segments with subscriber counts.

sequenzy://tags

Tags with usage counts.

sequenzy://health

Deliverability metrics and health status.

sequenzy://email-blocks

Field reference for every email block type.

sequenzy://app-routes

Dashboard route templates and settings tabs.

sequenzy://design-md

The company's design.md as raw Markdown.

Example Prompts

Add john@example.com with tags "vip" and "developer", then put them on the beta list.
Create a 4-email churn prevention sequence for users whose subscription expires soon. Leave it in draft mode.
Create a segment for subscribers who bought Stripe product prod_pro at least 3 times.
Draft a campaign about our new analytics dashboard, target the Pro users segment, and send a test to me.
How did the last campaign perform compared with the one before it?

Security

  • Use personal API keys, not shared team secrets.

  • Keys only access companies your Sequenzy user can access.

  • Revoke keys from Settings -> API Keys when access is no longer needed.

  • Keep client approval prompts enabled for sends, scheduling, deletes, and bulk changes.

  • Prefer draft workflows for campaigns and sequences, then review in Sequenzy before launch.

  • Every key is scoped, and the API checks the scope on every call. The default Safer agent access preset drafts but cannot send, schedule, turn on sequences or delete. It can still edit emails in an already-live sequence (sequences:write) and publish landing pages (landing_pages:write); leave those out with custom scopes for a strict drafts-only key. get_account returns the key's exact scopes and canSendLive. See Scoped agent access.

Troubleshooting

SEQUENZY_API_KEY environment variable is required

Set SEQUENZY_API_KEY in the MCP client config, or run:

npx @sequenzy/setup

Invalid API Key

Create a new personal key in Settings -> API Keys, update your MCP config, and restart the client.

Missing API Key Scope

Call get_account and inspect apiKeyPermissions. Local connections should open apiKeyPermissions.manageUrl, add the missing scope to the loaded key, and retry without restarting. update_api_key can perform this only for company keys that already hold api_keys:manage; edit personal keys on the account-level API Keys page. Hosted OAuth connections can alternatively disconnect and reauthorize with broader permissions. The tool error includes the exact scope or scopes required.

Duplicate Resources

If a tool call would create a duplicate segment name or sending domain, the server returns a stable code, an agent-friendly description, a concrete resolution, and a docsUrl. For segments, call list_segments and reuse the existing segment ID or choose a different name. For websites, call list_websites; if the domain is not listed for the selected company, it belongs to another company or account and must be removed, reassigned, or replaced with a different sending domain.

Tools Do Not Appear

  • Confirm npx is available in the environment the client uses.

  • Restart the MCP client after editing config.

  • Check that the config is in the correct client-specific location.

Network or API URL Issues

The server uses https://api.sequenzy.com by default. If you override it, verify SEQUENZY_API_URL points at a reachable Sequenzy API base URL.

Development

bun install
bun test
bun run type-check
bun run build

MCP tool schemas must remain compatible with strict clients:

  • Tool inputSchema roots must be plain type: "object" schemas.

  • Do not publish anyOf anywhere in tool schemas.

  • Do not put oneOf, allOf, enum, or not at the root of a tool schema.

  • Enforce conditional requirements in handlers and cover them with tests.

This standalone repository mirrors the MCP package maintained in the Sequenzy monorepo. Release automation updates it after successful API deployment and package publication. Maintain source, tests and this README in the monorepo packages/mcp/ directory.

License

MIT

Agent-native discovery

Sequenzy publishes machine-readable manifests for agent networks and A2A-style discovery:

These files describe Sequenzy as an authorized email automation capability for agents. They explicitly exclude scraping, spam, and unsolicited cold outreach use cases.

Workspace roles

Account-key access combines key scopes with your current workspace role. get_account reports blocked scopes in apiKeyPermissions.roleRestrictedScopes; canSendLive means at least one permitted delivery workflow is available, not that every send tool is allowed.

You can invite a marketer to manage subscribers, marketing campaigns and sequences without granting access to transactional mail, workspace settings, team or billing. Marketers choose existing sender/reply profiles. Transactional-backed campaign, A/B and sequence sources remain protected through previews, sharing, analytics and send history. Marketers and restricted members cannot receive billing access.

design.md

get_design_md returns the company's email design brief as one Markdown document: YAML frontmatter with the exact values AI-generated emails use (logo, colors, fonts.body/fonts.heading, buttons.style/buttons.radius, cornerRadius, and layout tokens), then ## Voice, ## Design direction and a read-only ## Reference email. The same document is the sequenzy://design-md resource. Edit the markdown and save it with update_design_md, passing the version you read as expectedVersion; a 409 means it changed since, so read it again and reapply your edits. Only values that differ from the current document are written, a removed key or section is left unchanged, and an empty section clears it. dryRun: true reports changes and warnings without saving; invalid documents fail with line-numbered issues. Reads need account:read; saves and dry runs need company_profile:manage.

Saved AI email styles

Use get_email_ai_style to inspect the company's saved appearance and revisionId. save_email_ai_style captures an existing email by its underlying emailId; pass expectedStyleId: null only for an initial save, or the reviewed revision when replacing. Optional canvas captures an unsaved editor snapshot containing blocks, theme, fontFamily, and emailPreset. Saving also detects layout habits (for example dotted dividers around every button) and keeps all of them unless layoutRuleIds lists the rule IDs to keep ([] keeps none); optional notes (500 characters max) adds design guidance. Review style.layout.rules in the response. clear_email_ai_style requires the current nonempty revision.

Reads require emails:read; saves/clears require emails:write and the current workspace role. Marketers cannot capture transactional source emails. A 409 conflict requires reading and reviewing the new state before retrying. These tools never edit or send the source email. Generation across all surfaces uses the saved default unless explicit styling or a plain-text choice takes precedence.

Background contact tasks

Use start_subscriber_operation to add tags to an entire filtered contact audience. Supply kind: "add_tags", tags and requestKey; reuse the same key/settings after an uncertain response. list_subscriber_operations, get_subscriber_operation and cancel_subscriber_operation provide the same progress and cancellation workflow as Contacts.

All operations require subscribers:read; tagging additionally requires subscribers:tag, new tag definitions require tags:write, and triggerAutomations: true requires automations:trigger. Automation triggering defaults to false. Existing synchronous bulk tag tools remain available for up to 500 explicit contacts. Background audiences accept up to 1,000 explicit IDs, or live filters/list/search criteria without a total audience limit.

Selection walks live pages before tagging and excludes contacts created after the request. It is not a point-in-time snapshot. Inspect failed and failures even when status is completed. Interrupted in-flight tag actions are reported as uncertain and never automatically replayed; reconcile those contacts before starting another task. Cancellation retains applied changes. Active tasks have a seven-day processing deadline; terminal records are retained for seven days.

You can save for future emails only, or preview and apply to selected sequences, campaigns, transactional, and templates. Campaigns must be draft or scheduled; sent and in-progress content stays unchanged. Draft A/B variants and localizations are included. Customized footers are preserved unless you explicitly include them. Raw HTML, missing or ambiguous footers, and content shared with a protected owner are skipped with reasons.

Preview is read-only. Review the affected counts, skipped reasons, and optional before/after HTML, then apply with the returned token and identical blocks, metadata, and scope options. If the relevant saved content changes, application returns 409; preview again. A successful application saves the default and selected content atomically. It does not send emails.

Layout previews use the email theme and locale, with placeholder personalization. They are not subscriber-specific inbox previews. You can request a particular sample by its affected item id and kind (email, ab_variant, or localization).

Use preview_default_email_component with slot: "footer", blocks, application: { scopes: ["sequences", "campaigns", "transactional", "templates"], includeCustomized: false }, and renderPreview: true. Inspect renderedPreview.footerHtml and renderedPreview.samples[].beforeHtml/afterHtml. Pass the identical inputs and previewToken: application.token to set_default_email_component. You can also supply sample: { id, kind } to preview an affected version. Omitting application keeps future-only saves.

Live sequence tests

Use start_sequence_test_run with sequenceId, one active subscriberId, and optional customVariables such as {"cart_id":"cart_123","event_ids":["event_1"]}. Nested values keep their types for event.* references. Optional speedMultiplier is an integer from 60 to 10000 (default 120). Omit properties or use {} for none; null is invalid. Start requires sequences:activate and subscribers:read. Inspect the returned run.id with get_sequence_test_run (sequenceId, runId; requires sequences:read and subscribers:read). Both accept companyId.

Live tests perform real subscriber updates, webhooks and other actions; emails are marked as tests. They do not enable the sequence or record a trigger event. Only one queued/running test per sequence/subscriber is allowed (409). Ordinary failure retries are disabled, but stalled-job recovery can replay actions after worker loss; inspect run.steps and run.errorMessage before repeating failed tests because completed actions are not rolled back. Queue failures mark the run failed. The existing single-step send_sequence_test_email and dry-run simulate_sequence tools remain available.

On the OpenAI-reviewed MCP surface, customVariables uses the same restricted personal-data checks as event properties, including text nested in objects or arrays.

Reuse received event data for sequence tests

Use sequenzy events sample <eventName> --company <companyId> --json, MCP get_event_sample, or GET /api/v1/events/sample?eventName=<eventName> to read the latest retained payload in your workspace. Requires subscribers:read. This includes older and custom events across all subscribers; sample: null means none exists. Copy sample.properties into the test run's customVariables (CLI --event-properties) and edit as needed. The dashboard's Use latest received event button replaces the JSON field. Copying data does not change the selected recipient or fire an event. Clear the field, omit the properties, or pass {} to test without overrides. Lookup errors are safe to retry; starting a real test still has delivery side effects.

Renaming your company in footers

When you change your company name in Settings, select the option to also replace matching names in existing email footers. Only footer company names exactly equal to the previous name change. Saved components and editable emails are included; custom names, body copy, sent or sending campaigns and active A/B tests are preserved. The operation does not send emails. Existing open editor drafts may still contain the old name; reload them before continuing to edit.

With the API or MCP update_company, pass name, renameMatchingFooters: true and previousCompanyName from get company. In the CLI, use sequenzy companies update comp_123 --name Grove --rename-matching-footers --previous-company-name Linear. The option defaults to false. A stale previous name returns 409 with no changes; refresh the company and confirm again. Repeating a completed rename is safe.

Only the new renameMatchingFooters: true option additionally requires emails:write, templates:write, campaigns:write, sequences:write, transactional:write and ab_tests:write. Personal keys also require workspace owner or admin access. Ordinary company updates keep their existing permissions.

Test delivery history: list_email_sends includes pending, successful and failed test attempts with isTestEmail: true; get_email_send retrieves their details.

Cart design previews

preview_cart_items calls POST /api/v1/email-blocks/line-items/assist with optional items (up to 50 objects), itemFields, priceUnit (minor or major) and scenario (real, one, many, empty, missing-images, long-names). It returns mapping suggestions, ambiguous numeric price candidates, cloned preview items and three design presets. It never saves or sends; retries have no persistent effects. Existing restricted keys remain supported. Invalid input returns the API validation error.

Apply mappings explicitly and choose numeric price units. Read and update saved email/template blocks with existing tools, preserving unrelated fields. Design settings are imageSize, imageFit, rowSpacing, fontSize, showPrices and showCompareAtPrice (default false; strikes through each item's compareAtPriceCents, filled from the synced catalog, when higher than its price); itemLinks sets where each image and title link: product (default, the item's url), button (the block's buttonUrl, even when the button is hidden, e.g. {{event.abandonedCheckoutUrl}} in abandoned-checkout emails) or none; priceLocale is a BCP 47 locale such as de-DE or es-ES for prices, compare-at prices and the total (49,95 € instead of €49.95); without it, prices follow the email's language (company language, or the translation's locale); remove optional fields in the replacement block to reset defaults, rather than passing null. Use existing render tools with scenario items under the configured source in variables for HTML at desktop or mobile widths. Totals remain in cents; row counts respect maxItems.

Review a whole sequence

Review the saved graph with sequences get / get_sequence, render each email node with sequences render --node <nodeId> --subscriber <subscriberId> / render_email, and keep the same sample contact across steps. For an A/B step, render every stored variant ID and use its stored variant label. Edit the matching template or variant, save, then render again before moving on. Editing a shared template affects its other uses; make an independent copy first when only this step should change.

Use sequences simulate <id> / simulate_sequence to check readiness. Activate with sequences enable <id> / enable_sequence only when the user asks. Existing-contact enrollment is a separate explicit operation. Historical events are never replayed.

Campaign audience status

campaigns list --json and MCP list_campaigns include hasAudience. Drafts with this flag have an explicit audience configuration, not a confirmed eligible-recipient count. Use campaigns from-audience / create_campaign_for_audience to save matching contact IDs directly in a blank campaign draft, then update its content. This does not create a list, change list membership or enroll contacts. The dashboard opens the existing campaign template picker for filtered groups; saved lists and segments retain their campaign and sequence actions.

Running campaign A/B controls

Use ab-tests get <id> --json / get_ab_test to inspect actual variant content, progress, original audience percentage, testStartedAt, testEndsAt, and any pendingSampleUpdate. The winning metric does not identify which content differs. Update via ab-tests update <id> --test-percentage 30 --duration-minutes 120 / update_ab_test with testPercentage and testDurationMinutes. Duration is total minutes from the original start (from when the last test email is due when delivery is spread), 15–1440; an elapsed deadline requests selection immediately. Percentage is 5–50 of the full original audience. Committed sends keep their variants; the worker waits for previous jobs and can reject a shrink. The winning metric cannot change during campaign testing. Paused campaigns stay paused. Previously issued settings keys keep their existing scopes.

Repeat the same percentage to retry pending work safely. Discard only a failed request with --cancel-sample-update / cancelSampleUpdate: true, without a new percentage. To stop a running campaign test early and let its criteria pick the winner from the results so far, use --end-now / endTestNow: true (needs campaigns:send; it sends the winner to the remaining audience). GET after an uncertain response, since settings may have saved before enqueue failed. Capture updatedAt when reviewing changes and pass --expected-updated-at / expectedUpdatedAt for stale-update protection. Use ab-tests select-winner <id> <variantId> / select_ab_test_winner only when winner delivery is authorized; it ends the comparison and queues the remaining audience. Repeat the same winner to repair interrupted delivery. Pending sample changes block selection. Finishing early requires existing ab_tests:write and campaigns:send scopes; sample/time updates use ab_tests:write.

On a sequence A/B test, the same command/tool selects or changes the winner, including one picked automatically at the test sample size, when the user asks to promote a variant. Contacts who already got a variant keep it; everyone who reaches the step afterwards gets the new winner. Sequence tests need ab_tests:write and sequences:write (not campaigns:send), plus --confirm-live-change / confirmLiveChange: true while the sequence is active. Use ab-tests resume <id> / resume_ab_test when the user wants to keep testing a sequence test that already has a winner: it clears the winner, splits contacts again, keeps results, and waits for a manual select-winner. Turn automatic selection back on with ab-tests update <id> --auto-select-winner / update_ab_test autoSelectWinner: true only when the user asks.

When reducing a campaign sample, only queue jobs whose sends have never started and that have no committed recipients can be withdrawn. Active jobs and pending transport retries finish first, so the minimum can rise before the change applies. Retrying preserves the request; discarding a failed change keeps work already performed, including withdrawn sample jobs. Recipients without committed sends remain eligible for the eventual winner.

Transactional template labels

create_transactional_email and update_transactional_email accept labels, an array of company label names. Names are trimmed and deduplicated; missing names are created. Names must be non-empty and at most 255 characters. An omitted field preserves existing assignments on update; [] clears them, and null is invalid. list_transactional_emails and get_transactional_email return labels on each template. List with labels: ["Billing", "Receipts"] to match any of those names, combined with search and status. CLI equivalents are transactional create/update --label Billing Receipts, transactional update receipt --clear-labels, and transactional list --label Billing. Label-only changes preserve content and translations and never send email. Read back the template after an uncertain update before retrying its replacement.

Private list member unsubscribe

create_list and update_list accept allowMemberUnsubscribe (boolean). Creation defaults to false; updates preserve omitted values and accept false to disable; null is rejected. list_lists and mutation results include the setting. When enabled on a private list, current members can see its name and opt out through preferences, but cannot join or rejoin. It is stored without effect on public lists. Repeating an update is safe; inspect lists before retrying an uncertain creation.

Building the interactive widgets

Run bun run build:app after editing ui/. Commit src/app-html.generated.ts with the source changes. The self-contained HTML is embedded in the server bundle so hosted API deployments and standalone packages need no extra runtime assets. bun run build regenerates it automatically. Browser regression QA runs from the monorepo root with bun test scripts/mcp-app.browser.test.ts and uses local Chrome with a mocked MCP host.

Capture submissions

list_capture_submissions reads preserved answers and field labels for forms, popups and landing pages. Supply sourceType (form, popup, landing_page) and sourceId, optional companyId, limit (1–100, default 50), and cursor from nextCursor. Supply both field and value for exact custom answer filtering (including string array members). format: "csv" adds a CSV string for the returned page; keep filters unchanged when paginating. Requires subscribers:read plus widgets:read for forms/popups or landing_pages:read for landing pages. Only future accepted form, popup and landing-page posts are recorded; payloads are normalized, exclude tokens/headers, and survive profile edits. Deleting a subscriber, source or company removes its snapshots.

The submission-payload tool is available on standard MCP. The OpenAI-reviewed MCP profile excludes it under its existing raw-payload restrictions; use the dashboard, API or CLI for this workflow on that profile.

Reconstructed capture submissions include payload.recovery with evidenceType, evidenceId, recoveredAt, sourceAttribution: inferred and timestampMeaning: event_time. Treat createdAt as the historical evidence time, not a verified submission timestamp. CSV pages containing these rows append record_origin, timestamp_meaning and recovered_at; ordinary pages retain their existing columns. Recovery is an operator repair, not a customer MCP write tool.

Available Tools

443 tools
accept_account_suggestionsA
Destructive
Inspect

Create accounts from suggested email domains. Each domain becomes an account (externalId and domain set to the domain, name derived from it) with the domain's contacts that belong to no account as members. When one account already uses the domain, contacts are added to it; with several, the domain is skipped (multiple_accounts). A domain whose contacts already partly belong to another account is skipped (already_in_account); domains without eligible contacts are skipped (no_contacts). Up to 25 domains per call; personal, disposable and the workspace's own sending domains are rejected. Keeps existing roles, runs no sync rules or segment-entered sequences, and a retry does not duplicate accounts or members; truncated means contacts were left out because an account holds at most 5,000 members. Fails with a 409 error while contacts use a custom attribute named account or account.*.

Inputs: domains (required), companyId. Returns: Structured content returned by the `accept_account_suggestions` MCP tool.

activate_integration_pixelA
DestructiveIdempotent
Inspect

Install the Shopify storefront tracking pixel on the connected store, or repoint an existing one at this account. This is what turns on product views, cart activity, and browse abandonment - the data every browse-abandonment and cart-recovery sequence depends on. Idempotent: an already-live pixel returns changed: false. Events start flowing on the next storefront visit and nothing is backfilled for the period the pixel was off, so run it before, not after, building the sequence. If the store granted an older permission set, this fails with a message naming the reconnect step rather than silently doing nothing. Shopify only.

Inputs: integrationId (required), companyId. Returns: Structured content returned by the `activate_integration_pixel` MCP tool.

add_ab_test_variantA
Destructive
Inspect

Add a variant to a draft campaign or sequence A/B test. Sequence variants receive their own editable email template. Variants cannot be added after the test has started. Sequence tests whose parent sequence is active require confirmLiveChange.

Inputs: subject (required), abTestId (required), blocks, companyId, +2 more. Returns: Structured content returned by the `add_ab_test_variant` MCP tool.

add_account_memberA
Destructive
Inspect

Add a contact to a customer organization (creating the contact when the email is new). Re-adding an existing member with a role updates the role; without a role keeps the current one.

Inputs: externalId (required), role, email, lastName, +3 more. Returns: Structured content returned by the `add_account_member` MCP tool.

add_push_import_rowsAInspect

Add another part of a CSV file to a draft csv import (at most 5 MB per part; every part starts with the header row). Parts are imported in the order they are added.

Inputs: csv (required), importId (required), companyId. Returns: Structured content returned by the `add_push_import_rows` MCP tool.

add_receiving_domainA
Destructive
Inspect

Add the workspace's receiving domain: a domain or subdomain whose mail should reach the inbox. Once verified, replies to emails from all sending domains use reply addresses on it. Then the user publishes the returned MX record (and TXT record when listed) and you call verify_receiving_domain; the first verification turns Inbox on. A workspace has one receiving domain: a second returns 409 limit_reached before any DNS check (remove the current one first, after confirming with the user). A domain that already receives email elsewhere (its MX points at Google Workspace, Microsoft 365, Cloudflare Email Routing...) returns 409 domain_has_mailbox: suggest a subdomain such as support.acme.com and confirm with the user. 503 dns_check_failed means the MX lookup got no answer; retry in a minute. created is false when the workspace already has the name (returned unchanged, no check). The first receiving domain also sets replyTrackingDomainMode custom. Owner or admin only.

Inputs: domain (required), companyId. Returns: Structured content returned by the `add_receiving_domain` MCP tool.

add_sending_domainA
Destructive
Inspect

Add and configure a sending domain. A domain belongs to exactly one company and cannot be moved or removed through the API, CLI or MCP afterwards, so confirm the target company with the user before adding. Before calling verify_sending_domain, publish the DKIM record from website.dnsRecords (when dnsRecords.platformDnsRecords is present, publish those CNAMEs instead: active and spare DKIM selectors plus a recommended bounces CNAME; only required entries block verification), the bounce records described by website.bounceRecords (its cnameRecord when style is cname, otherwise spf.record and mailFrom.mxRecord; never both at the same name), and DMARC when present. Tracked links use the company tracking domain shared by every sending domain; the first domain creates it under itself (links.) and returns its CNAME as dnsRecords.trackingRecord. It is optional and never blocks verification or sending: until it verifies, links use the shared Sequenzy domain. Manage it with set_tracking_domain.

Inputs: domain (required), companyId, mailFromPrefix, trackingPrefix. Returns: Structured content returned by the `add_sending_domain` MCP tool.

add_subscriberA
Destructive
Inspect

Add one subscriber. Status is only applied when creating a new contact; use update_subscriber to change an existing contact's status. The subscribers:write scope covers listIds in this call. Matching sequences enroll by default (REST enrollInSequences), including tag_added when tags are set in this call, without requiring a list; pass enrollInSequences false to skip, and automations:trigger is required for enrollment. Without automations:trigger the call succeeds but starts no sequence (sequenceTriggersRan false, reason missing_scope). For multiple contacts or CRM records, use create_subscriber_import instead of looping this tool. For an email-only batch going into one list, add_subscribers_to_list is also available.

Inputs: tags, email, phone, status, +13 more. Returns: Structured content returned by the `add_subscriber` MCP tool.

add_subscriber_noteAInspect

Add an internal note to a subscriber. Provide email or externalId to identify the subscriber.

Inputs: body (required), email, companyId, externalId. Returns: Structured content returned by the `add_subscriber_note` MCP tool.

add_subscribers_to_listA
Destructive
Inspect

Bulk add subscribers to a subscriber list from an email array. Existing subscribers are added to the list without a per-subscriber update call; addresses not yet in the account are created as new subscribers, using optInMode for their consent. Returns the list plus added and skipped counts. Get listId from list_lists or create_list.

Inputs: emails (required), listId (required), companyId, optInMode, +2 more. Returns: Structured content returned by the `add_subscribers_to_list` MCP tool.

add_websiteA
Destructive
Inspect

Compatibility alias for add_sending_domain. Adds a sending domain and returns the DNS records required for setup. The domain cannot be moved to another company afterwards; confirm the target company first.

Inputs: domain (required), companyId, mailFromPrefix, trackingPrefix. Returns: Structured content returned by the `add_website` MCP tool.

archive_sequenceA
Destructive
Inspect

Archive a sequence and stop new enrollments. Archived sequences remain available in the dashboard's archive.

Inputs: sequenceId (required), companyId. Returns: Structured content returned by the `archive_sequence` MCP tool.

attach_product_fileA
Destructive
Inspect

Attach a distributable file to a product, either by public URL or by uploading a local file (filePath, local MCP server only). After a purchase of the product, sequence emails can link to it with {{event.download.url}} and {{event.download.name}}.

Inputs: productId (required), url, fileName, filePath, +1 more. Returns: Structured content returned by the `attach_product_file` MCP tool.

bulk_add_subscriber_tagsA
Destructive
Inspect

Many contacts, one or more tags: add tags to up to 500 existing subscribers in one call, identified by emails, externalIds, or subscriberIds. Never creates contacts. Built for reconciling historical or derived tags: subscribers that do not exist are reported in notFound instead of being created, and tag automations do NOT run unless triggerAutomations is true. Returns the normalized tags and counts of requested, matched, updated, unchanged and failed subscribers, with notFound identifiers and up to 50 failures. Needs the subscribers:tag scope; a tag name that does not exist yet also needs tags:write. The agent_safe key preset includes both. Use add_subscriber or update_subscriber for single-contact changes.

Inputs: tags (required), emails, companyId, externalIds, +2 more. Returns: Structured content returned by the `bulk_add_subscriber_tags` MCP tool.

bulk_remove_subscriber_tagsA
Destructive
Inspect

Many contacts, one or more tags: remove tags from up to 500 existing subscribers in one call, identified by emails, externalIds, or subscriberIds. Never creates contacts: subscribers that do not exist are reported in notFound. Needs the subscribers:tag scope; the broader subscribers:write scope also satisfies it. Use this to roll back or reconcile a derived-tag backfill. Returns the normalized tags and counts of requested, matched, updated, unchanged and failed subscribers, with notFound identifiers and up to 50 failures.

Inputs: tags (required), emails, companyId, externalIds, +1 more. Returns: Structured content returned by the `bulk_remove_subscriber_tags` MCP tool.

bulk_update_conversation_spamA
DestructiveIdempotent
Inspect

Move up to 100 conversations to Spam (spam true) or back to the inbox (spam false). Returns updatedIds, unchangedIds and notFoundIds; retrying is safe.

Inputs: spam (required), conversationIds (required), companyId. Returns: Structured content returned by the `bulk_update_conversation_spam` MCP tool.

bulk_update_conversation_statusA
DestructiveIdempotent
Inspect

Open or close up to 100 conversations in one call, e.g. to close every conversation returned by list_conversations. Returns updatedIds, unchangedIds (already had the status) and notFoundIds (missing or in another company); only changed conversations are rewritten, so retrying is safe.

Inputs: status (required), conversationIds (required), companyId. Returns: Structured content returned by the `bulk_update_conversation_status` MCP tool.

cancel_campaignA
Destructive
Inspect

Cancel a campaign. Stops scheduled and sending campaigns (also works for paused and approval-pending ones). Remaining emails will not be sent and the campaign cannot be restarted - this cannot be undone.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `cancel_campaign` MCP tool.

cancel_push_campaignA
Destructive
Inspect

Stop a scheduled or sending push campaign. Unsent notifications are skipped; delivered ones cannot be recalled.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `cancel_push_campaign` MCP tool.

cancel_push_importA
Destructive
Inspect

Stop a push import, or discard a draft or failed one. Devices already imported stay; staged rows and the stored source key are deleted. Cannot be undone.

Inputs: importId (required), companyId. Returns: Structured content returned by the `cancel_push_import` MCP tool.

cancel_sequence_audience_enrollmentA
Destructive
Inspect

Stop an audience enrollment run. A queued run is cancelled immediately; a running run stops after the batch it is currently enrolling. Contacts already enrolled stay in the sequence (use cancel_sequence_enrollments to remove them).

Inputs: runId (required), sequenceId (required), companyId. Returns: Structured content returned by the `cancel_sequence_audience_enrollment` MCP to…

cancel_sequence_enrollmentsA
Destructive
Inspect

Cancel active, waiting, or paused enrollments in one sequence. Provide sequenceId and exactly one target: cancelAll to drain every active, waiting, or paused enrollment (use this to fully stop a live sequence instead of only freezing enrollment), subscriberIds for a specific batch, subscriberId for one subscriber, or fieldValues to match stored entry event properties. Every bulk target defaults to dryRun, so pass dryRun false to actually cancel. Bulk cancellation is capped per call: while the response reports remainingCount above zero, call again with the same arguments until it reaches zero.

Inputs: sequenceId (required), dryRun, reason, cancelAll, +5 more. Returns: Structured content returned by the `cancel_sequence_enrollments` MCP tool.

cancel_subscriber_operationA
Destructive
Inspect

Stop future work for a queued/running tagging operation. Already applied tags are retained. Tagging cancellation requires subscriber tagging access.

Inputs: operationId (required), companyId. Returns: Structured content returned by the `cancel_subscriber_operation` MCP tool.

cancel_team_invitationA
Destructive
Inspect

Cancel a pending team invitation. Invitations that have already been accepted cannot be cancelled.

Inputs: invitationId (required), companyId. Returns: Structured content returned by the `cancel_team_invitation` MCP tool.

check_emailA
Read-onlyIdempotent
Inspect

Run the pre-send email check on a saved campaign, sequence email step, or template: the same rules as the editor's email checker plus live verification of every link and image. Use it before sending or activating to catch broken links (404s, dead domains, bad certificates, redirect loops), links missing https://, localhost/staging/preview URLs, placeholder domains such as example.com, mistyped schemes, link shorteners, link text that shows a different domain than the link, invalid mailto/tel links, broken or oversized images, leftover placeholder copy (lorem ipsum, [First Name], TODO), name merge tags without a fallback, missing alt text, spam-trigger wording, Gmail clipping risk and email-client compatibility problems. Pass exactly one target: campaignId, sequenceId plus nodeId, or templateId. Links in every A/B variant and translation are checked unless variantId or locale pins one version. Returns score, grade, placement, per-category scores, issues (each with severity, rule, message and, when it has one location, blockId and url) and links (every link and image with its live status: ok, broken, invalid, server_error, unreachable, restricted, personalized, not_checked). restricted means the site refused an automated check (for example 401, 403 or 429) and may work in a browser, so it is not counted as broken. Links built from per-recipient merge tags are reported as personalized and only syntax-checked; {{company.url}} links are resolved from the company website. Sender settings are not evaluated here. Read-only: it never edits or sends.

Inputs: links, locale, nodeId, companyId, +8 more. Returns: Structured content returned by the `check_email` MCP tool.

check_websiteA
Read-onlyIdempotent
Inspect

Read a sending domain's separate DNS verification and sending readiness. Use verify_sending_domain to run a fresh check. dnsUpgrade.status: available (see upgrade_sending_domain_dns), in_progress (records to add), completed (oldRecords to delete) or unavailable. Receiving mail (inbox addresses and replies) is set up on receiving domains instead: see list_receiving_domains.

Inputs: domain (required), companyId. Returns: Structured content returned by the `check_website` MCP tool.

clear_email_ai_styleA
Destructive
Inspect

Clear the company's saved AI appearance and restore normal defaults for future generations. Existing emails stay unchanged. Requires emails:write. Get and review the current style first; a conflict must not be retried automatically.

Inputs: expectedStyleId (required), companyId. Returns: Structured content returned by the `clear_email_ai_style` MCP tool.

clear_frequency_capA
Destructive
Inspect

Turn the company frequency cap off. Sequences keep their frequencyCapEnabled setting, but nothing is skipped until a cap is set again with set_frequency_cap.

Inputs: companyId. Returns: Structured content returned by the `clear_frequency_cap` MCP tool.

configure_sending_domainAInspect

Deprecated: tracking is company-wide; prefer set_tracking_domain. Sets . as the company tracking domain when the company has none. Repeating the company's current tracking hostname is a no-op; a different one changes nothing and the response message says so (use set_tracking_domain to change it). Publish the returned website.tracking.cnameRecord; sending never waits for it.

Inputs: domain (required), trackingPrefix (required), companyId. Returns: Structured content returned by the `configure_sending_domain` MCP tool.

configure_sequence_inbound_webhookA
Destructive
Inspect

Create or update the secret endpoint attached to a sequence inbound_webhook trigger. On first setup, omitted mapping/sample inputs apply the selected catalog or custom integration defaults; on later calls, omitted inputs keep the saved values, so a captured sample survives mapping-only updates. Use clearFieldMapping to return to pending setup and clearSamplePayload to drop the saved sample. Map paths from the payload the endpoint actually receives, not the source app's documented format, since relays often wrap or flatten it; check mappingCheck in the response.

Inputs: sequenceId (required), companyId, fieldMapping, samplePayload, +2 more. Returns: Structured content returned by the `configure_sequence_inbound_webhook` MCP too…

connect_integrationA
Destructive
Inspect

Connect an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, adapty, creem, chargebee, clerk, posthog, segment, mixpanel, amplitude, affonso, attio, or sparkloop. Check list_integration_capabilities first - each connectable provider lists its exact connectFields there. Credentials are validated, stored encrypted, and never returned; payment providers queue their initial revenue backfill automatically. Lemon Squeezy creates a managed signed webhook when webhookSecret is omitted, or uses the supplied secret for manual setup. RevenueCat is webhook-only (no backfill): webhookSecret is the authorization header value configured on the RevenueCat webhook, or its HMAC signing secret. Superwall is webhook-only too and needs only webhookSecret: the whsec_ signing secret of the Superwall webhook pointed at the returned webhookUrl. Mixpanel and Amplitude need only webhookSecret, a strong random value you choose: Mixpanel sends it as the Basic auth password of its webhook destination (any username, the dashboard suggests sequenzy) and syncs cohorts as mixpanel- tags; Amplitude sends it in an X-Webhook-Secret header and streams events (product.*), user properties, and cohorts (amplitude- tags). Sequenzy cannot show the secret again, so give it to the user once. Attio is outbound-only and has no webhookUrl. SparkLoop needs only apiKey; Sequenzy registers the SparkLoop webhook itself with a secret in its URL (webhookSecret, the account's SparkLoop-Token, is optional), and an account with several publications needs providerAccountId (the 400 error lists them in publications). Reconnecting replaces stored credentials. OAuth and app-install providers (Stripe, Shopify, Supabase, GitHub, WooCommerce, Meta) are rejected with guidance: their flows need a human in the dashboard. SECURITY: only pass credentials the user explicitly provided for this purpose; suggest the CLI (sequenzy integrations connect) or dashboard when the user prefers keeping secrets out of the conversation.

Inputs: provider (required), apiKey, settings, companyId, +3 more. Returns: Structured content returned by the `connect_integration` MCP tool.

connect_landing_page_domainA
Destructive
Inspect

Connect a custom domain. Omit landingPageId for the legacy workspace-wide domain, or provide it to dedicate the hostname to one page at the domain root. Returns DNS and verification details.

Inputs: domain (required), companyId, landingPageId. Returns: Structured content returned by the `connect_landing_page_domain` MCP tool.

create_ab_testA
Destructive
Inspect

Create a campaign A/B test or convert a sequence email node into a typed A/B test node. Provide exactly one of campaignId or automationNodeId. Control variant A is created automatically from the current email. Campaign tests may add variants later; automationNodeId conversions require at least one variants[] entry to compete with control variant A. A conversion moves that step's copy off the sequence node and onto the test's variants: from then on update_sequence_node cannot edit its subject, previewText, or blocks, and every content change has to be applied per variant with update_ab_test_variant (get_ab_test lists them). The response echoes this in contentEditing.

Inputs: name, testType, variants, companyId, +9 more. Returns: Structured content returned by the `create_ab_test` MCP tool.

create_account_health_fixAInspect

Build the draft sequence an account health insight asks for, from an unhandled_event or missing_sequence insight (its primary action kind is create_sequence). Creates an inactive sequence with its timing and empty, titled email steps: for unhandled_event, triggered by the event and named for the moment (for example New customer onboarding for saas.purchase); for missing_sequence, with the name, trigger (contact added, an event, or manual enrollment) and steps from the insight's evidence. Like a sequence from a template, a new draft has its emails written with AI: enrichmentStatus is processing while they are written (get_sequence reports progress), or not_queued when writing could not start (opening the sequence in the dashboard starts it; do not build again). Running it again returns the same draft with created false; steps that still have no email (for example a check's own draft nobody opened yet) are written then, with enrichmentStatus, and existing emails are never rewritten. 409 IN_PROGRESS when another build of the same insight is running; 400 for other insight types. Show it with get_sequence; enable_sequence only works once every email step has an email, and only after the user approves. Requires sequences:write.

Inputs: insightId (required), companyId. Returns: Structured content returned by the `create_account_health_fix` MCP tool.

create_accounts_from_organization_idA
Destructive
Inspect

Start a background job that creates one account per distinct propertyKey value and adds each contact seen with it as a member. Accounts are named from nameKey, otherwise after the work email domain most of their contacts share; existing names, domains and roles are kept. No emails are sent, no sync rules run and no segment-entered sequences start. Returns jobId, alreadyRunning (a run for the same key was already queued or running, so none was started) and job; check progress with get_account_organization_id_job. Reruns update the same accounts instead of duplicating them. Only call after the user confirmed the preview. Fails with a 409 error while contacts use a custom attribute named account or account.*.

Inputs: propertyKey (required), source, nameKey, companyId. Returns: Structured content returned by the `create_accounts_from_organization_id` MCP t…

create_api_keyAInspect

Create a new API key for a company, typically when setting up a Sequenzy integration in a project. The CLI reads the key from the SEQUENZY_API_KEY environment variable; SDK clients accept it through the apiKey option, such as apiKey: process.env.SEQUENZY_API_KEY. The key is returned only once at creation time and cannot be retrieved later.

Inputs: companyId (required), name, preset, scopes. Returns: Structured content returned by the `create_api_key` MCP tool.

create_audience_syncA
Destructive
Inspect

Push a segment to a Meta custom audience and keep it synced on a schedule. Provide segmentId for an existing segment OR predefinedSegmentId for a ready-made template (for example "zero-ltv", "no-purchase-1y", "recent-buyers", "high-spenders-ecom", "non-buyers", "engaged") - the template segment is created automatically on first use. The first upload runs immediately. Note: audiences are add-only; subscribers who later leave the segment stay in the Meta audience.

Inputs: adAccountId (required), audienceName (required), companyId, frequency, +2 more. Returns: Structured content returned by the `create_audience_sync` MCP tool.

create_campaignAInspect

Create a new campaign. Omit all content fields to create an empty draft. prompt generates net-new content from natural language. blocks are finished caller-supplied Sequenzy content and html is preserved/imported markup. Pass emailPreset with native blocks to set Style > Format (minimal or branded); style is a prompt-generation hint only. Defaults to draft; status 'sent' only archives an already-sent campaign.

Inputs: name (required), html, tone, style, +23 more. Returns: Structured content returned by the `create_campaign` MCP tool.

create_campaign_for_audienceAInspect

Create a blank campaign draft for selected contacts, a complete filtered contact group, or a complete email-activity drilldown. Saves a frozen, distinct group of up to 100,000 contacts (8 MiB); does not send email. Requires campaigns:write and subscribers:read, plus analytics:read for activity. Returns selectedCount and currently eligibleCount. Review/update the draft and schedule separately. Existing get_campaign, get_campaign_audience and update_campaign read, replace or clear targetLists.

Inputs: selection (required), name, companyId. Returns: Structured content returned by the `create_campaign_for_audience` MCP tool.

create_campaign_goalAInspect

Create a persisted event, subscriber-attribute, or tag-applied conversion goal for one email campaign. SMS campaigns are not supported. Event goals (the default triggerType) require triggerEventName; attribute_change goals require attributePath; tag_added goals require triggerTagName. Campaign goals are attributed to recipients who were sent the campaign (opens/clicks still win when present). Use this to measure outcomes such as signup or becoming a customer on a one-off campaign. Distinct from company-wide goals and from sequence goals.

Inputs: name (required), campaignId (required), isActive, companyId, +11 more. Returns: Structured content returned by the `create_campaign_goal` MCP tool.

create_campaign_variationAInspect

Save content as a new ready campaign variation, for example a copy of a version to take in another direction. Send blocks or html. The campaign email does not change. Pass parentVariationId to save it as a branch of that variation.

Inputs: name (required), campaignId (required), html, blocks, +7 more. Returns: Structured content returned by the `create_campaign_variation` MCP tool.

create_companyA
Destructive
Inspect

Create a company with a website domain, or set noWebsite and provide a name. Optionally provide a business description and create a four-email welcome sequence. Requires a personal account key (seq_user_...); company-scoped keys cannot create another workspace. Website creation queues brand processing and this tool polls for completion.

Inputs: name, domain, noWebsite, description, +2 more. Returns: Structured content returned by the `create_company` MCP tool.

create_data_exportAInspect

Start streaming workspace data to the user's own bucket, ready to load into Snowflake, BigQuery, Redshift, Athena or DuckDB. Sequenzy first writes a small test file to confirm access; the call fails with a readable reason when the bucket, region or key is wrong. The first export starts immediately. Use provider "gcs" with an HMAC key for Google Cloud Storage. Ask the user for the credentials; never invent them.

Inputs: name (required), bucket (required), provider (required), accessKeyId (required), +8 more. Returns: Structured content returned by the `create_data_export` MCP tool.

create_email_componentAInspect

Create a reusable email component from a block list. Component names are unique per company. Use set_default_email_component instead when the goal is to change the footer every email gets.

Inputs: name (required), blocks (required), companyId, description, +1 more. Returns: Structured content returned by the `create_email_component` MCP tool.

create_formA
Destructive
Inspect

Create and publish a saved signup form whose opaque formId is a client-safe public capability. The selected lists, tags, duplicate behavior, and success action stay server-side; no API key is needed in the deployed form. This creates the email/name fields only - add typed custom fields (select, textarea, hidden, ...) afterwards with update_form's blocks argument. For a Webflow-connected company, the form is saved but embed returns disabled plus the native Webflow settings path; custom embeds are not part of the Marketplace integration.

Inputs: name (required), listIds (required), theme, tagIds, +11 more. Returns: Structured content returned by the `create_form` MCP tool.

create_geofenceBInspect

Create a geofence. Apps pick it up on their next refresh. A workspace holds at most 10,000.

Inputs: name (required), latitude (required), longitude (required), radiusMeters (required), +6 more. Returns: Structured content returned by the `create_geofence` MCP tool.

create_in_app_campaignAInspect

Create an in-app campaign draft: one in-app message or content card for an audience, shown inside the customer's app. Set the message and audience now or later with update_in_app_campaign; launch with send_in_app_campaign.

Inputs: name, endsAt, message, priority, +2 more. Returns: Structured content returned by the `create_in_app_campaign` MCP tool.

create_in_app_placementAInspect

Create an in-app placement: a slot in the customer's app that shows in-app content inline, such as a home screen hero. The key is what app code passes to the SDK and never changes. Up to 50 per workspace.

Inputs: key (required), name (required), width, height, +2 more. Returns: Structured content returned by the `create_in_app_placement` MCP tool.

create_landing_pageBInspect

Create a draft landing page. Provide content for an exact page, or a template for generated starter content.

Inputs: name, slug, content, template, +1 more. Returns: Structured content returned by the `create_landing_page` MCP tool.

create_listAInspect

Create a new subscriber list. Lists are public by default: public lists appear to subscribers in the email preference center, where they can join or leave them. Set isPrivate to keep the list internal.

Inputs: name (required), companyId, isPrivate, description, +1 more. Returns: Structured content returned by the `create_list` MCP tool.

create_popupA
Destructive
Inspect

Create a saved signup popup and, for non-Webflow sites, get the one-line script tag that deploys it. The popup is published by default; its trigger, targeting, audience, and duplicate handling stay server-side, so the deployed script carries no API key. Pick a template for the starting design, then refine copy and behavior with update_popup. For a Webflow-connected company, the popup is saved but embed returns disabled plus the native Webflow settings path; custom popups are not part of the Marketplace integration.

Inputs: name (required), theme, blocks, reward, +20 more. Returns: Structured content returned by the `create_popup` MCP tool.

create_push_campaignAInspect

Create a push campaign draft. Content and audience can be set now or later with update_push_campaign; send with send_push_campaign.

Inputs: url, body, name, title, +6 more. Returns: Structured content returned by the `create_push_campaign` MCP tool.

create_push_importAInspect

Create a draft push import and return its warnings; nothing is read until start_push_import. Requirements by source: onesignal needs apiKey (App API key) and onesignalAppId; braze needs apiKey (REST key with users.export.segment), brazeRestEndpoint and brazeSegmentId; customer_io needs apiKey (App API key), customerIoSegmentId and optionally customerIoRegion; csv takes the file as csv (token and platform columns, plus external_id or email; at most 5 MB, send more with add_push_import_rows and set csvParts to the total part count so a partial upload can never start). Opted-in devices are linked to contacts by external ID or email (unmatched devices get a new contact, quietly: no lists, no sequences; push-only with no email or phone when the device has only an external ID); opted-out devices are kept as unsubscribed.

Inputs: source (required), csv, apiKey, appIds, +9 more. Returns: Structured content returned by the `create_push_import` MCP tool.

create_segmentAInspect

Create a new segment from explicit filter rules. Use filters plus filterJoinOperator for flat legacy rules, or root for nested AND/OR groups such as { "kind": "group", "joinOperator": "and", "children": [{ "kind": "filter", "field": "attribute", "operator": "gte", "value": "mrr:50" }, { "kind": "group", "joinOperator": "or", "children": [{ "kind": "filter", "field": "tag", "operator": "contains", "value": "vip" }, { "kind": "filter", "field": "event", "operator": "is_not", "value": "saas.purchase:30d" }] }] }. AND of two or more positive attribute filters on the same array path (e.g. history_events[].eventvenue_id and history_events[].showing_date) requires one array element to satisfy every condition — a 2010 visit at that venue plus an unrelated recent booking elsewhere does not match. Negative filters (is_not, not_contains, is_empty) are exempt: they assert no element matches and combine independently. Supports event and segment fields, Stripe product purchase/current/trial/date filters, and campaign- or delivery-policy-scoped engagement filters such as emailOpened is marketing:all.

Inputs: name (required), root, filters, companyId, +1 more. Returns: Structured content returned by the `create_segment` MCP tool.

create_sequenceAInspect

Create and persist a disabled draft email sequence, follow-up series, drip campaign, nurture flow, or automation workflow. For natural-language content, provide goal and emailCount. Use explicit steps for finished caller-supplied content, exact workflows, or migrations. Configure trigger plus its relevant field, such as listId/listIds, tagName/tagNames, segmentId, or eventName. Supports email and SMS steps, delays and date waits, actions that dynamically create a provider discount/code (later emails print it with {{discount.code}}), subscriber updates, event filters, enrollment rules, sending windows, and stop conditions. The saved draft appears in list_sequences and stays disabled until enable_sequence is used for a user-requested activation.

Inputs: name (required), goal, steps, labels, +37 more. Returns: Structured content returned by the `create_sequence` MCP tool.

create_sequence_from_exampleAInspect

Clone a public Sequenzy email gallery sequence into a draft sequence for this company, with the example's trigger family (signup, abandoned cart, order placed, or inactive tag) and send timing, up to 12 emails (the first 12 unless stepNumbers picks which; each kept email keeps its original timing from the trigger). AI then writes every email in the company's brand in the background (usually 30-60 seconds); poll get_sequence until enrichmentStatus is complete. If this tool returns enrichmentStatus not_queued with a warning, the draft exists but writing did not start: open it in the dashboard and do not call this tool again. The sequence stays a draft and sends nothing until enabled. Requires sequences:write. Each call creates another sequence. Accepts a gallery sequence URL (https://sequenzy.com/email-examples/brands/{brand}/sequences/{sequence}) or brand plus sequence slugs.

Inputs: url, name, brand, brief, +4 more. Returns: Structured content returned by the `create_sequence_from_example` MCP tool.

create_sequence_from_templateAInspect

Create a draft sequence from a template returned by list_sequence_templates, exactly as the dashboard does. Mobile journeys start with a branch on whether the contact is reachable by push (an active device on a platform with APNs, FCM or web push set up): those contacts get push and in-app, everyone else gets email (in-app reaches both). Every wait lands in 09:00-21:00 in the contact's own timezone, email steps respect the company frequency cap, the template's continue condition stops the journey when the contact converts, and an attribution goal is created on the sequence. Emails are written by AI from the brand (30-60 seconds); push and in-app copy comes from the template, so review it with get_sequence and edit with update_sequence_node before enable_sequence. Calendar templates that count down to key dates are dashboard-only; use create_sequence with keyDates instead.

Inputs: templateId (required), name, companyId. Returns: Structured content returned by the `create_sequence_from_template` MCP tool.

create_sequence_goalAInspect

Create a persisted event, subscriber-attribute, or tag-applied conversion goal for one sequence. Event goals (the default triggerType) require triggerEventName; attribute_change goals require attributePath; tag_added goals require triggerTagName. This is distinct from create_sequence.goal, which is only an AI content prompt.

Inputs: name (required), sequenceId (required), isActive, companyId, +11 more. Returns: Structured content returned by the `create_sequence_goal` MCP tool.

create_subscriber_importA
Destructive
Inspect

Queue one CRM-grade subscriber import with up to 5,000 full contact records. Supports names, external IDs, phones, statuses, tags, lists, and custom attributes. Prefer this over repeated add_subscriber calls. Returns an import ID for get_subscriber_import. Use optInMode='confirmed' only when the contacts already gave verified email consent. Rows are imported only after a list check, usually under a minute. When the list has too many addresses that don't exist or look risky (temporary inboxes, or mostly shared addresses like info@), nothing is imported and the finished import has listQuality (status 'needs_cleaning', with issues): relay listQuality.message and suggest cleaning the list (listQuality.cleaningUrl) and importing the cleaned list.

Inputs: subscribers (required), listIds, fileName, companyId, +6 more. Returns: Structured content returned by the `create_subscriber_import` MCP tool.

create_tagAInspect

Create a new tag definition. The name is normalized to lowercase with hyphens (e.g. 'VIP Customer' becomes 'vip-customer'). Color defaults to gray. Returns the created tag with its ID, normalized name and color. Creating a tag does not apply it to any contact.

Inputs: name (required), color, companyId. Returns: Structured content returned by the `create_tag` MCP tool.

create_templateAInspect

Create a new email template. prompt generates net-new email content from natural language. blocks is for finished caller-supplied Sequenzy content and html for supplied or explicitly requested preserved HTML. Creating a standalone copy of a saved design and AI rewriting within its layout are currently dashboard-only workflows; this tool has no source-design operation, and prompt does not preserve an existing layout. For a campaign copy, use create_campaign with templateId.

Inputs: name (required), html, tone, style, +7 more. Returns: Structured content returned by the `create_template` MCP tool.

create_template_from_exampleAInspect

Remix a public Sequenzy email gallery email into a new email template for this company. The new email keeps the example's exact layout and design; AI rewrites every piece of text for the company and its logo, brand color and links are swapped in. The example brand is never named and none of its copy, offers or claims are reused. Saved as an HTML template. Requires templates:write. Takes 5-20 seconds. Creates no template if generation fails (a company's first AI generation still saves its inferred email design direction); each successful call creates another template. Accepts a gallery email URL (https://sequenzy.com/email-examples/brands/{brand}/emails/{email}, or for an email in a sequence the sequence page URL ending in #email-{email}) or brand plus email slugs. For a whole sequence use create_sequence_from_example.

Inputs: url, name, brand, brief, +2 more. Returns: Structured content returned by the `create_template_from_example` MCP tool.

create_transactional_emailAInspect

Create a saved transactional email template with an API slug. prompt generates net-new content from natural language. blocks are finished caller-supplied Sequenzy content and html is preserved/imported markup.

Inputs: name (required), html, slug, tone, +8 more. Returns: Structured content returned by the `create_transactional_email` MCP tool.

create_warehouse_connectionAInspect

Connect a data warehouse with a read-only user. Sequenzy runs a test query before saving and returns the warehouse's reason when it fails. Next, preview a query with preview_warehouse_query and create a sync.

Inputs: name (required), config (required), provider (required), credentials (required), +1 more. Returns: Structured content returned by the `create_warehouse_connection` MCP tool.

create_warehouse_syncA
Destructive
Inspect

Sync contacts (kind subscribers) or events on existing contacts (kind events) from a warehouse query on a schedule. The mapping and cursor are checked against the query's real columns, and the first run starts right away. Each run only sends rows that changed since the last run.

Inputs: kind (required), name (required), query (required), mapping (required), +7 more. Returns: Structured content returned by the `create_warehouse_sync` MCP tool.

create_webhookAInspect

Create an outbound webhook endpoint. The response includes a signingSecret that is returned only once; it is needed to verify webhook signatures and cannot be retrieved later. If events is omitted, a default set of event types is subscribed.

Inputs: url (required), name (required), events, companyId. Returns: Structured content returned by the `create_webhook` MCP tool.

create_web_tracking_keyAInspect

Create a publishable key for the browser tracking SDK and return the install snippet. This is what turns on product views, cart activity, and browse abandonment for a site that is NOT Shopify or WooCommerce (custom storefronts, headless shops, marketplaces, SaaS marketing sites). Events start flowing once the snippet is deployed and nothing is backfilled for the period before that, so create and install it BEFORE building the sequence that depends on it. Always pass allowedOrigins for a website or allowedAppIds for an iOS or Android app using the mobile SDKs: a key with neither accepts anonymous events from any site or app, and a key with only allowedAppIds is rejected from browsers. Identified events require a short-lived token minted by the customer's authenticated backend through POST /api/v1/web-tracking-identities (passing the key's publicKey or keyId, plus the user's email or, for app users without one, externalId), then sequenzy.identify(email, identityToken) or, in the mobile SDKs, identifyUser(externalId, ...); a publishable key alone can never trigger subscriber automation.

Inputs: name (required), companyId, allowedAppIds, allowedOrigins. Returns: Structured content returned by the `create_web_tracking_key` MCP tool.

crop_image_assetA
Destructive
Inspect

Crop an image from the selected company's media library (or a Pexels or Unsplash photo) into a new hosted image and return it with a ready-to-insert Sequenzy image block. The crop is baked into the file, so Gmail, Outlook and every other client show exactly the chosen area, unlike cropHeight with objectFit:'cover', which some clients ignore. Provide either crop (fractions of the image) or aspectRatio (the largest centered crop of that shape, optionally moved toward focusX/focusY), not both. The original stays in the library and the returned imageBlock.crop records it, so the editor can re-open or undo the crop. Retrying the same crop returns the same asset. For other external images, call upload_image_asset first and crop the returned URL.

Inputs: sourceUrl (required), crop, align, focusX, +5 more. Returns: Structured content returned by the `crop_image_asset` MCP tool.

delete_ab_testA
Destructive
Inspect

Permanently delete a campaign A/B test and all of its variants. This cannot be undone. Running tests (testing or winner_selected) cannot be deleted, and the linked campaign must be in draft or rejected status.

Inputs: abTestId (required), companyId. Returns: Structured content returned by the `delete_ab_test` MCP tool.

delete_ab_test_variantA
Destructive
Inspect

Permanently delete a variant from a draft campaign or sequence A/B test. This cannot be undone. Variant A is the control and cannot be deleted, and the test must keep at least the minimum number of variants. Variants cannot be removed after the test has started. Sequence tests whose parent sequence is active require confirmLiveChange.

Inputs: abTestId (required), variantId (required), companyId, confirmLiveChange. Returns: Structured content returned by the `delete_ab_test_variant` MCP tool.

delete_accountA
Destructive
Inspect

Delete one customer organization (a B2B account your contacts belong to, shown under Subscribers > Organizations) and its memberships. Contacts are kept; their organization.* attributes are cleared. It never deletes the user's Sequenzy account, workspace (company), login or API keys. If the user asks to delete their own Sequenzy account or workspace, do not call this tool: that is only possible in the Sequenzy dashboard. Permanent; confirm the organization's externalId with the user first.

Inputs: externalId (required), companyId. Returns: Structured content returned by the `delete_account` MCP tool.

delete_api_keyA
Destructive
Inspect

Compatibility alias for revoke_api_key. Permanently delete a company-scoped API key by ID and return non-secret metadata only. Call list_api_keys first to verify the exact target.

Inputs: apiKeyId (required), companyId (required). Returns: Structured content returned by the `delete_api_key` MCP tool.

delete_audience_syncA
Destructive
Inspect

Remove an audience sync mapping. The Meta audience itself is kept (running ads are not disrupted) - only future syncs stop.

Inputs: syncId (required), companyId. Returns: Structured content returned by the `delete_audience_sync` MCP tool.

delete_campaignA
Destructive
Inspect

Permanently delete a campaign. This cannot be undone. Sending, scheduled, or paused campaigns must be cancelled with cancel_campaign first, and live in-app campaigns stopped first; deleting an in-app campaign also deletes the messages it delivered.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `delete_campaign` MCP tool.

delete_campaign_goalA
Destructive
Inspect

Delete one persisted email-campaign conversion goal. SMS campaigns are not supported.

Inputs: goalId (required), campaignId (required), companyId. Returns: Structured content returned by the `delete_campaign_goal` MCP tool.

delete_data_exportA
Destructive
Inspect

Delete a data export. Sequenzy stops writing to the bucket; files already written are kept. Recreating it later starts from the time it is recreated.

Inputs: dataExportId (required), companyId. Returns: Structured content returned by the `delete_data_export` MCP tool.

delete_email_componentA
Destructive
Inspect

Delete an email component. Emails that already rendered it keep their copied blocks, so this does not change existing emails. Deleting the component pinned as the default footer makes new emails fall back to the generated footer.

Inputs: componentId (required), companyId. Returns: Structured content returned by the `delete_email_component` MCP tool.

delete_geofenceA
Destructive
Inspect

Delete a geofence. Apps stop watching it after their next refresh; past visits stay in contact history. Use update_geofence with active false to pause instead.

Inputs: geofenceId (required), companyId. Returns: Structured content returned by the `delete_geofence` MCP tool.

delete_in_app_messageB
Destructive
Inspect

Delete an in-app message or card so the app stops showing it.

Inputs: messageId (required), companyId. Returns: Structured content returned by the `delete_in_app_message` MCP tool.

delete_in_app_placementA
Destructive
Inspect

Delete an in-app placement. Its slots collapse in the app on the next refresh, and in-app steps that target it skip contacts until a placement with the same key exists again. Items already created stay in contact history.

Inputs: key (required), companyId. Returns: Structured content returned by the `delete_in_app_placement` MCP tool.

delete_landing_pageC
Destructive
Inspect

Delete a landing page

Inputs: landingPageId (required), companyId. Returns: Structured content returned by the `delete_landing_page` MCP tool.

delete_listA
Destructive
Inspect

Permanently delete a subscriber list and remove all of its memberships. Subscribers themselves are kept. This cannot be undone.

Inputs: listId (required), companyId. Returns: Structured content returned by the `delete_list` MCP tool.

delete_popupA
Destructive
Inspect

Permanently delete a saved popup and its view and conversion counts. Subscribers it already captured are not affected. To stop a popup from showing while keeping its stats, set status to draft with update_popup instead.

Inputs: popupId (required), companyId. Returns: Structured content returned by the `delete_popup` MCP tool.

delete_productA
Destructive
Inspect

Delete a product previously pushed via upsert_products (Commerce API products only), identified by your productId.

Inputs: productId (required), companyId. Returns: Structured content returned by the `delete_product` MCP tool.

delete_segmentA
Destructive
Inspect

Permanently delete a segment. This cannot be undone. Subscribers are not affected. Deleting is never blocked when the segment is in use: the result lists affectedSequences (with how each uses it), affectedCampaigns, affectedSegments and affectedAudienceSyncs, which from then on treat every contact as not in the segment. Requires the segments:delete scope; segments:write is not enough.

Inputs: segmentId (required), companyId. Returns: Structured content returned by the `delete_segment` MCP tool.

delete_sender_profileA
Destructive
Inspect

Permanently delete one sender (From) profile. This cannot be undone. Deletion is refused when this is the company's last sender or when a live campaign, active sequence (including a step-level override), or transactional email still uses it. Draft and rejected campaigns plus the account default are reassigned to the best remaining sender when needed; read fallbackSenderProfileId in the result and review that identity before sending. Reply-to profiles are not supported by this tool. Get the profile ID from list_sender_profiles. Requires the companies:manage scope.

Inputs: profileId (required), companyId. Returns: Structured content returned by the `delete_sender_profile` MCP tool.

delete_sequenceA
Destructive
Inspect

Permanently delete a sequence. Contacts still in it are removed and get none of its remaining steps; the result's contactsInSequence says how many. To stop new entries but let current contacts finish, use pause_sequence_enrollments instead, or disable_sequence to hold everyone where they are.

Inputs: sequenceId (required), companyId. Returns: Structured content returned by the `delete_sequence` MCP tool.

delete_sequence_goalC
Destructive
Inspect

Delete one persisted sequence conversion goal.

Inputs: goalId (required), sequenceId (required), companyId. Returns: Structured content returned by the `delete_sequence_goal` MCP tool.

delete_subscriber_noteB
Destructive
Inspect

Delete one internal subscriber note by note ID.

Inputs: noteId (required), companyId. Returns: Structured content returned by the `delete_subscriber_note` MCP tool.

delete_tagA
Destructive
Inspect

Permanently delete a tag and remove it from all subscribers. This cannot be undone. System tags and tags used by sequences cannot be deleted.

Inputs: tagId (required), companyId. Returns: Structured content returned by the `delete_tag` MCP tool.

delete_templateC
Destructive
Inspect

Delete a template

Inputs: templateId (required), companyId. Returns: Structured content returned by the `delete_template` MCP tool.

delete_transactional_emailA
Destructive
Inspect

Permanently delete a saved transactional email template by ID or slug. Use this to retire an obsolete template: the slug stops sending and becomes free to reuse. Already-sent deliveries and their stats are kept, so history and analytics survive the delete. The linked email content stays as a reusable template and comes back as deleted.emailId; pass that to delete_template to remove the content too. Code-managed emails (managedBy: code) are the exception: their content snapshot is deleted with them and deleted.emailDeleted is true. To stop sends without losing the template, call update_transactional_email with enabled set to false instead.

Inputs: idOrSlug (required), companyId. Returns: Structured content returned by the `delete_transactional_email` MCP tool.

delete_warehouse_connectionA
Destructive
Inspect

Delete a warehouse connection and its stored credentials. Fails while syncs still use it.

Inputs: connectionId (required), companyId. Returns: Structured content returned by the `delete_warehouse_connection` MCP tool.

delete_warehouse_syncA
Destructive
Inspect

Delete a warehouse sync. Scheduled runs stop; contacts and events already imported stay.

Inputs: syncId (required), companyId. Returns: Structured content returned by the `delete_warehouse_sync` MCP tool.

delete_webhookA
Destructive
Inspect

Permanently delete an outbound webhook endpoint along with its delivery history. This cannot be undone. To keep the endpoint but stop deliveries, use update_webhook with status disabled instead.

Inputs: webhookId (required), companyId. Returns: Structured content returned by the `delete_webhook` MCP tool.

delete_web_tracking_keyA
Destructive
Inspect

Permanently delete a web tracking key. Cached authorization expires within one minute, after which requests from any remaining snippet are rejected; remove the snippet from the site as well. Prefer update_web_tracking_key with isActive: false when the key might be needed again.

Inputs: id (required), companyId. Returns: Structured content returned by the `delete_web_tracking_key` MCP tool.

detect_account_organization_idsA
Read-onlyIdempotent
Inspect

Find the organization ID the app already sends, so accounts can be created from existing data without code. Looks at event properties from the last 180 days and contact attributes named like workspaceId, organization_id, team_id or account_id. Each candidate has source (event or attribute), propertyKey, nameKey (a sibling name property or null), eventCount (events for event, contacts for attribute), accountCount (distinct organizations) and eventNames. Read-only; next, preview a candidate with preview_accounts_from_organization_id and show it to the user.

Inputs: companyId. Returns: Structured content returned by the `detect_account_organization_ids` MCP tool.

disable_sequenceA
Destructive
Inspect

Disable/freeze a sequence. This blocks new enrollments and holds current recipients (no further emails go out to them) until the sequence is enabled again with enable_sequence. Use it when a live sequence must stop sending right away. To only stop new enrollments while current recipients continue, use pause_sequence_enrollments.

Inputs: sequenceId (required), companyId. Returns: Structured content returned by the `disable_sequence` MCP tool.

discard_campaign_variationAInspect

Discard a campaign variation. It leaves the list and its branches move up to its parent; restore_campaign_variation undoes this.

Inputs: campaignId (required), variationId (required), companyId. Returns: Structured content returned by the `discard_campaign_variation` MCP tool.

discard_sequence_email_variationA
Destructive
Inspect

Discards a design variation of a sequence email, so it no longer lists. The email is unchanged.

Inputs: emailId (required), sequenceId (required), variationId (required), companyId. Returns: Structured content returned by the `discard_sequence_email_variation` MCP tool.

disconnect_integrationA
Destructive
Inspect

Disconnect a Lemon Squeezy or SparkLoop integration and stop live ingestion and sync. Deletes only the managed provider webhook; manual webhooks remain. Local disconnection succeeds even if provider cleanup fails: inspect cleanupWarning. Repeating the call retries Lemon Squeezy cleanup; for SparkLoop, delete the leftover webhook in SparkLoop. Other providers require the dashboard. Requires integrations:manage and owner/admin access.

Inputs: integrationId (required), companyId. Returns: Structured content returned by the `disconnect_integration` MCP tool.

duplicate_campaignAInspect

Duplicate a campaign as a new draft. mode 'campaign' (default) copies the campaign and its email, 'ab_test' also duplicates the campaign's A/B test with all variants, and 'variant' copies a single variant's content as the new campaign email (requires variantId). The original is unchanged. Returns the new draft campaign with its ID; schedule it separately.

Inputs: campaignId (required), mode, companyId, variantId. Returns: Structured content returned by the `duplicate_campaign` MCP tool.

duplicate_email_componentAInspect

Copy an email component into a new component with the same description, type and blocks. Without name, the copy is called " (Copy)", or "(Copy 2)" and so on when that name is taken. The copy is never pinned as a default, so duplicating the default footer gives a regular component to edit.

Inputs: componentId (required), name, companyId. Returns: Structured content returned by the `duplicate_email_component` MCP tool.

duplicate_in_app_campaignAInspect

Copy an in-app campaign (message, priority, audience and a future end time) into a new draft.

Inputs: campaignId (required), name, companyId. Returns: Structured content returned by the `duplicate_in_app_campaign` MCP tool.

duplicate_landing_pageAInspect

Duplicate a landing page. The copy is created as a draft with its own slug and stats, so the original keeps its published URL.

Inputs: landingPageId (required), name, slug, companyId. Returns: Structured content returned by the `duplicate_landing_page` MCP tool.

duplicate_popupAInspect

Copy a saved popup into a new draft with its own view and conversion counts. The original keeps showing and keeps its stats. Use this to test a new offer or headline against a popup that already performs.

Inputs: popupId (required), name, companyId. Returns: Structured content returned by the `duplicate_popup` MCP tool.

duplicate_push_campaignAInspect

Copy a push campaign (content and audience) into a new draft.

Inputs: campaignId (required), name, companyId. Returns: Structured content returned by the `duplicate_push_campaign` MCP tool.

duplicate_sequenceAInspect

Create an independent draft copy of a sequence, including its graph, email templates, and sequence A/B tests. The original is not changed.

Inputs: sequenceId (required), name, companyId. Returns: Structured content returned by the `duplicate_sequence` MCP tool.

edit_campaign_variationA
Destructive
Inspect

Change one ready campaign variation with AI and save the result over it, like an edit in the editor: the prompt says what to change, in any language. With sectionIds only those top-level blocks change. A whole-variation edit may also give it its own emailTheme and fontFamily. Runs synchronously and can take up to a minute. Fails with 409 if the variation is not ready or changed while the AI was editing it, and with 400 when the AI changed nothing (the error explains why). Never changes the campaign email; use_campaign_variation does.

Inputs: prompt (required), campaignId (required), variationId (required), companyId, +1 more. Returns: Structured content returned by the `edit_campaign_variation` MCP tool.

edit_sequence_emailsA
Destructive
Inspect

Change a sequence's emails with AI in one request, like the Emails view in the sequence editor: the prompt says what to change, in any language ("make the background cream", "remove the header", "new structure for email 2"). Without emailIds the prompt decides which emails: every email, unless it names some. A look change (background, colors, fonts) is made identical across the emails it touches, down to each kind of block's style. "Make them all look like email 1" copies that email's style exactly without AI, keeping each email's words. For design variations of an email use generate_sequence_email_variations: such a prompt returns 400 here. An email written in HTML is edited as HTML and keeps its theme. A/B test steps, steps without an email and steps that send the same email as an earlier step are skipped and listed in skipped. Each email succeeds or fails on its own: emails[].status is changed, unchanged (summary says why) or failed; changed emails are saved (saved:true) unless dryRun is true. Saved changes apply to the next sends of an active sequence. Runs synchronously and can take up to a minute; one request edits up to 12 emails, so pass emailIds in batches for longer sequences. A 503 means the AI could not tell which emails the prompt means and nothing changed: retry or pass emailIds. An email saved elsewhere meanwhile comes back with saved:false and an error instead of being overwritten. If the call times out, read get_sequence before retrying: changes may already be saved. To set exact values instead of asking the AI, use update_sequence_nodes. Returns dryRun, emails[] (each with status, summary and, when changed, the new content) and skipped[] steps with reasons.

Inputs: prompt (required), sequenceId (required), dryRun, emailIds, +2 more. Returns: Structured content returned by the `edit_sequence_emails` MCP tool.

edit_sequence_graphA
Destructive
Inspect

Restructure an existing sequence graph using node IDs, edges, and graphRevision from get_sequence. move_node repositions one non-split step; duplicate_node creates an independent copy; delete_node safely splices a node and immediately moves parked recipients to its unique surviving successor (or completes them when none remains); replace_edges replaces the complete topology. The returned sequence reports migratedRecipientCount and completedRecipientCount. Always call get_sequence immediately before this tool and pass its graphRevision. Active sequences require confirmStructuralChange:true after the user confirms live-flow impact.

Inputs: action (required), sequenceId (required), graphRevision (required), edges, +5 more. Returns: Structured content returned by the `edit_sequence_graph` MCP tool.

enable_sequenceA
Destructive
Inspect

Enable/activate a sequence so it starts processing its triggers. Sequences are created disabled so their content can be reviewed before activation; this tool is intended for user-requested activation. simulate_sequence shows who currently matches and whether the sequence is ready. Activation does not enroll existing matches unless audienceAutoEnroll is saved. Relay any response warnings to the user, such as a contact_added trigger with no list, which enrolls every new contact.

Inputs: sequenceId (required), companyId. Returns: Structured content returned by the `enable_sequence` MCP tool.

end_live_activityA
Destructive
Inspect

End a contact's Live Activity on every device running it (iOS and Android Live Updates), with its final content state and optionally a dismissal date. Requires email or subscriberId, or broadcast: true to end it on every signed-in device running the activityId. Without dismissalDate iOS keeps it on the Lock Screen and Android in the shade for up to four hours.

Inputs: activityId (required), contentState (required), alert, email, +7 more. Returns: Structured content returned by the `end_live_activity` MCP tool.

enroll_sequence_audienceA
Destructive
Inspect

Enroll a whole audience (everyone, lists, a segment, a filter, or combined rules) into a sequence as a background run. Unlike enroll_subscribers_in_sequence there is no 500-contact cap: the worker walks the audience in batches, skips contacts already in the sequence (and, for one_time sequences, anyone who completed or was cancelled before), never enrolls unsubscribed or bounced contacts, and reports progress. This is how a manual-trigger countdown sequence (Black Friday) gets its audience: enable the sequence, then call this. Late enrollees skip the steps whose key date already passed. Pass data for run-level values that are the same for everyone in the run (a sale end time, a discount percentage); the sequence's emails read them as {{enrollment.FIELD}}. Defaults to dryRun, which only returns the estimate (matchingCount, alreadyEnrolledCount, enrollableCount); pass dryRun false to start the run and poll get_sequence_audience_enrollment. One run per sequence at a time.

Inputs: audience (required), sequenceId (required), data, dryRun, +3 more. Returns: Structured content returned by the `enroll_sequence_audience` MCP tool.

enroll_subscribers_in_sequenceA
Destructive
Inspect

Manually enroll subscribers in a sequence by email address or subscriber ID. Maximum 500 total targets per call across emails and subscriberIds. Only active subscribers are enrolled: unknown emails are returned in notFound, while inactive, unavailable, and already actively enrolled subscribers are counted in skipped. By default enrollment starts at the first step after the trigger; pass targetNodeId to start at a specific step. Returns the sequence, the new enrollments, and enrolled and skipped counts.

Inputs: sequenceId (required), emails, companyId, targetNodeId, +1 more. Returns: Structured content returned by the `enroll_subscribers_in_sequence` MCP tool.

estimate_in_app_campaign_recipientsA
Read-onlyIdempotent
Inspect

Count contacts who match an audience now (audienceCount) and how many are known to have your app connected (appUserCount, a lower bound). Everyone in the audience gets the campaign the next time their app fetches the feed, including contacts who join while it is live. If appUserCount is 0, say Sequenzy hasn't seen their app connect yet; if in-app isn't set up, point to Settings > In-app.

Inputs: targetLists (required), companyId. Returns: Structured content returned by the `estimate_in_app_campaign_recipients` MCP to…

estimate_push_campaign_recipientsA
Read-onlyIdempotent
Inspect

Count how many contacts in an audience have an active push device (eligibleCount) versus the whole audience (audienceCount).

Inputs: targetLists (required), companyId, platforms, includeTimingCoverage. Returns: Structured content returned by the `estimate_push_campaign_recipients` MCP tool.

forward_conversation_messageA
Destructive
Inspect

Email a copy of one received or sent message (with its stored attachments) to another address, such as a teammate. Notes cannot be forwarded. The forward is recorded in the conversation as a system message and does not change its status or unread state. Each successful call sends another copy, so after a timeout check the conversation with get_conversation before retrying.

Inputs: to (required), messageId (required), conversationId (required), companyId, +1 more. Returns: Structured content returned by the `forward_conversation_message` MCP tool.

generate_campaign_variationsAInspect

Variations are alternative versions of a campaign's email, compared side by side on the editor's Canvas tab. They never change what the campaign sends until use_campaign_variation. Labels: V1, V2, ... for versions of the email, V2.1, V2.2, ... for branches of V2. Starts generating 1-4 variations with AI and returns them at once with status generating; it does not wait. Each takes its own direction planned from the prompt, so they differ; style sets how far they move. The source is the email's saved content, or parentVariationId (must be ready; the new ones are its branches). Poll list_campaign_variations or get_campaign_variation until each is ready or failed (usually under a minute). Variations succeed or fail independently; a retry is a new request that creates new variations. An email can have at most 8 generating at once; wait for them instead of retrying.

Inputs: prompt (required), campaignId (required), count, style, +2 more. Returns: Structured content returned by the `generate_campaign_variations` MCP tool.

generate_campaign_variation_section_optionsAInspect

Generate 1-4 alternative versions of selected sections (top-level blocks) of the campaign email or of one ready variation. Saves no variation or email content (a company's first AI generation saves its inferred email design direction, like generate_email): each option has name, summary and replacements (new versions of the selected blocks with the same ids). Changes outside the selected sections are dropped, and options that change nothing are left out. Runs synchronously and can take up to a minute. Apply one with update_campaign_variation.

Inputs: prompt (required), campaignId (required), sectionIds (required), count, +3 more. Returns: Structured content returned by the `generate_campaign_variation_section_options…

generate_emailAInspect

Generate email blocks from a prompt. Returns a draft and does not create or send an email; the first generation for a company also saves its inferred email design direction, which later generations reuse. Generated blocks include the company's branding chrome (logo, footer with company name/address/unsubscribe) by default, matching emails created in the dashboard. Returns the generated subject, previewText, blocks and HTML body, ready to pass to create_campaign or update_template.

Inputs: prompt (required), tone, style, companyId, +2 more. Returns: Structured content returned by the `generate_email` MCP tool.

generate_sequenceAInspect

[DEPRECATED compatibility alias - use create_sequence] Create and persist a disabled AI-generated email sequence draft from a goal. The saved draft appears in list_sequences. The name defaults to the goal and the trigger defaults to contact_added; optionally pass listId to scope it. Review before enabling.

Inputs: goal (required), name, listId, companyId, +2 more. Returns: Structured content returned by the `generate_sequence` MCP tool.

generate_sequence_email_variationsAInspect

Design variations of a sequence email (see list_sequence_email_variations). Starts designing count (1 to 4, default 3) variations of the email as saved, from prompt ("a few bolder versions", "try other layouts"). Returns them at once with status generating; they finish in the background in about a minute. In MCP Apps clients it shows them as they finish. Refused for an email written in HTML (change it with edit_sequence_emails) and for A/B test steps.

Inputs: prompt (required), emailId (required), sequenceId (required), count, +2 more. Returns: Structured content returned by the `generate_sequence_email_variations` MCP too…

generate_smsAInspect

Generate SMS marketing message variants from a prompt. Nothing is created or sent; the first generation for a company also saves its inferred email design direction, which later generations reuse. Returns plain-text messages with per-message encoding and segment counts. Use the results as the 'text' of an SMS sequence step (insert_sequence_step with type 'sms' or a create_sequence sms step). Messages exclude opt-out footers and brand prefixes - the platform adds those automatically at send time.

Inputs: prompt (required), count, companyId. Returns: Structured content returned by the `generate_sms` MCP tool.

generate_subject_linesAInspect

Generate subject line variants for an A/B test from a prompt. Returns suggestions only (subjectLines, a list of strings) and does not create or change a test; the first generation for a company also saves its inferred email design direction, which later generations reuse.

Inputs: topic (required), count, companyId. Returns: Structured content returned by the `generate_subject_lines` MCP tool.

get_ab_testA
Read-onlyIdempotent
Inspect

Get A/B test details, variants, localization sync status, and settings. Sequence action_ab_test steps also expose each variant's blocks on get_sequence.sequence.emails[].abTest.variants; use this tool when you need the full test record rather than copy alone. Pass the abTestId from get_sequence.

Inputs: abTestId (required), companyId. Returns: Structured content returned by the `get_ab_test` MCP tool.

get_ab_test_statsA
Read-onlyIdempotent
Inspect

Get A/B test aggregate stats, per-variant stats and whether the winner metric difference is statistically significant (95% confidence). Supports period or custom start/end ranges.

Inputs: abTestId (required), end, start, period, +2 more. Returns: Structured content returned by the `get_ab_test_stats` MCP tool.

get_accountA
Read-onlyIdempotent
Inspect

Get your own Sequenzy account information (not your customers' B2B accounts; use list_accounts for those) including available companies, the current API key's permission scopes, and the API Keys management URL. Useful after a missing-scope error to inspect access and find the replacement-key settings. When the key has access to multiple companies, other tools need a target company: either one selected with select_company or a companyId passed in each call.

The response shows 'companies' (all available) and 'selectedCompanyId' (currently active). Subsequent operations use the selected company unless a companyId override is passed.

Inputs: no named parameters. Returns: Structured content returned by the `get_account` MCP tool.

get_account_by_external_idA
Read-onlyIdempotent
Inspect

Get one customer organization (Subscribers > Organizations in the dashboard) by its external ID, including up to 100 member contacts with their roles (owner, admin, member). Not your Sequenzy account: use get_account for that.

Inputs: externalId (required), companyId. Returns: Structured content returned by the `get_account_by_external_id` MCP tool.

get_account_healthA
Read-onlyIdempotent
Inspect

Read the company's account health report: what to fix in its email setup. Returns eligibility (checks need more than 1,000 active subscribers and an email sent in the last 14 days; hasMinimumSubscribers and sentRecently say which is missing), settings (enabled, autonomy), nextRunAt, the latest run (status, AI summary, stats snapshot of this period vs the one before) and runInProgress, plus open and snoozed insights, most severe first. Each insight has a detector (unhandled_event, stalled_sequence, campaign_gap, stale_campaign_drafts, underperforming_sequence_email, deliverability_spike, sending_domain_failing, missing_sequence: a standard lifecycle sequence such as welcome or re-engagement the workspace does not run yet, with the suggested playbook, name, goal, trigger and steps in evidence; over_emailing: people who got 4+ marketing emails within 24 hours in the last 7 days, with overloadedSubscribers, recipients, peakPerDay, frequencyCap and the campaigns, sequences and marketing Send API email (type api, which the cap does not limit) behind it as sources in evidence, where a sequence with enrollsEveryTime and peakEnrollmentsPerPerson 3 or more re-enrolls the same people and is fixed first with update_sequence enrollmentMode one_time; neglected_subscribers: active subscribers who got no marketing email in 90 days, with neglectedSubscribers, eligibleSubscribers and estimated in evidence; unengaged_signups: contacts who joined in the last 60 days with the same consumer mailbox provider (Gmail, Yahoo, Outlook; business domains are never reported) and first list, got 2+ emails each and almost never opened or clicked while other new signups do, usually a bot filling a signup form or a bought list, with provider, providerLabel, listId, listName, emailed, sends, engaged, baselineEmailed and baselineEngaged in evidence), severity, title, detail, recommendation fixAutomationId when the agent drafted an inactive sequence to fix it, and actions: what to do about it, primary first. Each action has kind (create_sequence, open_sequence, activate_sequence, pause_sequence, create_campaign, review_campaign_drafts, open_campaign, verify_sending_domain, open_domain_settings, review_deliverability, open_frequency_cap_settings, apply_frequency_cap, review_subscribers), label, targetId, a dashboard path for screens, a confirm prompt for changes to live sending, and the api call that performs it: create_sequence -> create_account_health_fix, activate_sequence -> enable_sequence, pause_sequence -> disable_sequence, verify_sending_domain -> verify_sending_domain, open_frequency_cap_settings -> set_frequency_cap (for example maxEmails 1, windowHours 16) when evidence.frequencyCap is null, otherwise get_frequency_cap and only tighten it (the cap only holds back sequences, so when the sources are only campaigns or api it does not help; suggest spacing those out instead), apply_frequency_cap -> update_sequence with frequencyCapEnabled true on targetId (only on sequences that can wait, such as tips and nudges, not welcome or onboarding); the others open dashboard screens. Each insight also has feedback: the API key owner's own answer from submit_account_health_feedback ({rating, comment, updatedAt}), or null. Confirm with the user before set_frequency_cap or apply_frequency_cap. Confirm with the user before activate_sequence or pause_sequence. Requires analytics:read.

Inputs: companyId. Returns: Structured content returned by the `get_account_health` MCP tool.

get_account_organization_id_jobA
Read-onlyIdempotent
Inspect

Check a create_accounts_from_organization_id run. state is queued, running, completed or failed. A completed job has result with accountsCreated, accountsUpdated, membershipsCreated, membershipsUpdated, skipped and truncated (history was larger than one run covers; start it again to continue). A failed job has error. Finished jobs expire after a while (404); the accounts stay.

Inputs: jobId (required), companyId. Returns: Structured content returned by the `get_account_organization_id_job` MCP tool.

get_app_urlsA
Read-onlyIdempotent
Inspect

Generate Sequenzy dashboard URLs for known resource IDs. Use this when the user asks where to review or edit a generated sequence, campaign, template, company settings, or subscription. The response always includes the canonical owner-facing subscription URL when a company is resolved. For compatibility, settingsTab billing or subscription also resolves to that Account page rather than a nonexistent Settings tab. If companyId is omitted, the selected/current company is used when available.

Inputs: status, emailId, domainId, companyId, +7 more. Returns: Structured content returned by the `get_app_urls` MCP tool.

get_attio_mappingA
Read-onlyIdempotent
Inspect

Inspect a connected Attio integration's two-way sync: every Sequenzy list, every Attio people-list the stored token can write (id, api slug, name), the saved maps in both directions (listMap and tagMap push Sequenzy lists and tags to Attio lists; inboundListMap and inboundTagMap pull Attio lists into Sequenzy lists and tags), syncRemovals, whether company matching from work-email domains is on, and inbound (whether the Attio webhook is listening, and the error when it is not). Use it when Attio is connected but nothing is mapped, and call it before update_attio_settings so you have Attio list ids or slugs instead of asking the user to paste UUIDs. Reads Attio live on every call. Credentials are never returned. Attio only; other providers return a clear error. Check get_integration first — availableActions includes update_attio_settings when mapping can be saved without reconnecting.

Inputs: integrationId (required), companyId. Returns: Structured content returned by the `get_attio_mapping` MCP tool.

get_campaignA
Read-onlyIdempotent
Inspect

Get campaign details and stats, including rejectionComment reviewer feedback for rejected campaigns. emailId is the campaign's linked email body - the same record returned by the templates tools - and can be passed as templateId to create_campaign to reuse the design; it is null for SMS campaigns. emailPreset reports that email's Style > Format the same way get_sequence does per step (branded or minimal; null for SMS campaigns and standalone raw HTML emails), so campaign chrome can be compared against sequence steps and transactional templates without rendering them - minimal suppresses the company logo at render time. targetLists holds the raw audience targeting (IDs only); call get_campaign_audience for resolved list/segment names and a recipient count. Note that computedLists is email personalization (product lists rendered inside the email), not audience targeting. For native sends, sentAt is stamped when the last recipient is handed off, so on a paced send it is the end of the delivery window; spreadOverHours, sendTimeOptimization, and sendTimeWindowHours report recorded pacing, and maxRecipients reports the recipient cap (null = whole audience). Change draft pacing or the cap with update_campaign, or apply them when calling schedule_campaign. Send Time Optimization is not a company or sequence setting. It is campaign-only: audit with list_campaigns or get_campaign (sendTimeOptimization, sendTimeWindowHours, default 12h window). Change a draft with update_campaign, or apply it when calling schedule_campaign. Sequences use sendingWindow (allowed local hours/days), which is a shared gate, not per-subscriber predicted send times. Imported campaigns may not include pacing metadata from their source provider, so absent pacing fields do not prove that delivery happened all at once.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `get_campaign` MCP tool.

get_campaign_audienceA
Read-onlyIdempotent
Inspect

Resolve exactly who a campaign will reach. Returns the targeting kind, resolved list and segment names (flagging references that no longer exist), filter conditions, individual include/exclude adjustments, a plain-language summary, and a live recipient count. Critically, it reports whether targeting is unset - an unset campaign falls back to every active subscriber when scheduled. Use this to verify a scheduled campaign's audience before it sends. This is a read-only resolved view, not the write shape: to change targeting, pass targetLists (e.g. {type:'lists', listIds:['list_123']}) or the segmentId/listIds shorthands to update_campaign or schedule_campaign.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `get_campaign_audience` MCP tool.

get_campaign_statsB
Read-onlyIdempotent
Inspect

Get detailed statistics for a campaign, including replies and reply rate (list who replied with list_campaign_replies), attributed conversions, revenue (revenueCents), attached campaign conversion goals in the top-level goals array (sent → opened → clicked → each named goal), product recommendation funnel metrics, a per-link click breakdown in the top-level clickedLinks array, and any Poll or NPS survey summaries in the top-level polls array.

Inputs: campaignId (required), end, start, period, +2 more. Returns: Structured content returned by the `get_campaign_stats` MCP tool.

get_campaign_variationA
Read-onlyIdempotent
Inspect

Get one campaign variation, including its status while it generates and its blocks once ready. Discarded variations are not found.

Inputs: campaignId (required), variationId (required), companyId. Returns: Structured content returned by the `get_campaign_variation` MCP tool.

get_companyA
Read-onlyIdempotent
Inspect

Read one company's settings and status: processing status, product info, brand colors, AI writing context, emailStylePreference (visual, plain, or null when not chosen), websiteType (saas, content, ecommerce, offline, mobile_app, other or null) with websiteTypeSource (user when chosen, detected from the website), header and footer (emailPreset), footerStyle for new AI-designed emails (auto, classic, mono, band or editorial), footerTheme (the auto-added footer's resolved colors and copy; change it with update_company footerTheme), reply-tracking settings, effective email localization settings, and darkModeLogoStatus (pending, outlined, not_needed or custom) with darkModeLogoUrl, the logo dark-mode inboxes show (set your own with update_company darkModeLogoUrl). The read-only emailBranding says whether "Sent with Sequenzy" is visible, whether the owner subscription removes it, why, the tier/status, the upgrade or renewal action, and subscriptionUrl. Branding is added at send time, so a paid entitlement removes it from existing live sequences without editing their emails. defaultSubscriberListIds are the lists new contacts join when nothing targets them: JSON null means every current and future list, not an empty selection; [] means no list; an array means exactly those lists. Change it with update_company. Read it before connecting an integration without per-integration list targeting (Dodo Payments, PostHog, Polar, Paddle, and similar): its live contacts and payment-provider backfills land there. PostHog history imports are different: their contacts get no list memberships. Send Time Optimization is not a company or sequence setting. It is campaign-only: audit with list_campaigns or get_campaign (sendTimeOptimization, sendTimeWindowHours, default 12h window). Change a draft with update_campaign, or apply it when calling schedule_campaign. Sequences use sendingWindow (allowed local hours/days), which is a shared gate, not per-subscriber predicted send times.

Inputs: companyId (required). Returns: Structured content returned by the `get_company` MCP tool.

get_conversationB
Read-onlyIdempotent
Inspect

Get a conversation with its full message history, subscriber details, and context. Message attachments include a downloadUrl (signed, valid for one hour) when the file is stored.

Inputs: conversationId (required), companyId. Returns: Structured content returned by the `get_conversation` MCP tool.

get_data_exportA
Read-onlyIdempotent
Inspect

Get one data export with its status, per-dataset progress (exportedThrough), next run and last error.

Inputs: dataExportId (required), companyId. Returns: Structured content returned by the `get_data_export` MCP tool.

get_default_email_componentA
Read-onlyIdempotent
Inspect

Get the company's default component for a slot - use this to read the current email footer before editing it. Returns not_found when no default is set, which means emails fall back to the footer Sequenzy generates from the company profile.

Inputs: slot (required), companyId. Returns: Structured content returned by the `get_default_email_component` MCP tool.

get_design_mdA
Read-onlyIdempotent
Inspect

Get the company's design.md: its email design brief as one Markdown document. YAML frontmatter holds the exact values Sequenzy applies when rendering AI-generated emails (logo, colors, fonts.body/heading, buttons.style/radius, cornerRadius, layout tokens); prose sections hold the Voice and the Design direction the AI writer follows, plus a read-only Reference email naming the saved AI style. Values shown are the ones emails actually get. Returns markdown, version (pass it to update_design_md as expectedVersion), and the parsed designSystem. Read this before writing or redesigning emails for the company.

Inputs: companyId. Returns: Structured content returned by the `get_design_md` MCP tool.

get_email_ai_styleA
Read-onlyIdempotent
Inspect

Get the company's saved AI email appearance, revisionId and canManage. Read this before replacing or clearing a style. No active style returns null; an unsupported version can still have a revisionId for recovery.

Inputs: companyId. Returns: Structured content returned by the `get_email_ai_style` MCP tool.

get_email_block_schemaA
Read-onlyIdempotent
Inspect

Field reference for Sequenzy email blocks: which fields each block type requires, which are optional, the allowed values of every enum field, and the shape of nested item arrays and nested objects. Call this before authoring blocks for a type you have not written before, or after a block write is rejected. The blocks parameter on create_campaign, create_sequence, create_template, and update_sequence_node accepts any of these types, but is declared as a plain object array because the union is too large to inline. Without a blockType this lists every type with its required and optional fields; with one it returns that type's full reference plus a minimal valid example and authoring notes. group is a persisted structural type managed by the editor and is omitted by creatableOnly; request it by name when reading existing grouped content. Note that lists are their own block type rather than a text variant: a numbered list is {"type":"list","variant":"numbered","items":[{"content":"First"}]}, and a visual numbered walkthrough is {"type":"steps","variant":"numbered","items":[{"title":"Step one","description":"What happens"},{"title":"Step two","description":"What happens next"}]}. A text block only accepts variants paragraph, lead, and html, and never accepts items. Every block also takes a conditions array, and each condition field accepts only its own operators - a block's own field and operator enums pool every field's operators together, so they list is for tag even though a tag condition is rejected with it. The conditionFields table resolves that: the operators each condition field accepts, how its value string is shaped, and what render_email needs before it can evaluate the condition rather than rendering it as false. It comes back automatically when you list every type and when you ask for conditional-group; on any other single type pass conditionFields: true, since the table is several times the size of one block's reference.

Inputs: blockType, creatableOnly, conditionFields. Returns: Structured content returned by the `get_email_block_schema` MCP tool.

get_email_client_statsA
Read-onlyIdempotent
Inspect

Get which mail clients (Apple Mail, Gmail, Outlook, Yahoo Mail, Thunderbird, Android mail app, web browser, other) and device types (desktop, mobile, tablet, unknown) opened your emails, as shares of unique opens. Pass campaignId for one campaign (all time); omit it for the whole company over period or start/end (default 90d) with an optional emailType. Each email send counts once, attributed to the client of its first open. Gmail, Yahoo and Apple Mail Privacy Protection fetch images through proxies, so those opens report the client with an unknown device; privacyProxyOpens counts them. Report shares, not absolute reach: recipients who never open are not represented. New Outlook for Windows and Outlook.com count as web_browser, and some WebKit apps such as Outlook for Mac count as apple_mail.

Inputs: end, start, period, companyId, +4 more. Returns: Structured content returned by the `get_email_client_stats` MCP tool.

get_email_componentB
Read-onlyIdempotent
Inspect

Get one email component's blocks and metadata by id, including its version and whether it is pinned as a company default slot.

Inputs: componentId (required), companyId. Returns: Structured content returned by the `get_email_component` MCP tool.

get_email_design_systemA
Read-onlyIdempotent
Inspect

Get the company's email design system: the visual identity every AI-generated email (campaigns and sequence steps) renders inside - design code (kicker style, title alignment, button shape, divider style, density, sanctioned opener treatments) plus the composition spine (hero-led | editorial | product-spec) that anchors email structure. The identity is stored as the company's emailDesignPrompt direction text; this tool returns the structured tokens parsed from that text (falling back to brand derivation per unstated token), the raw directionText, and isDefault (true while the identity is still purely derived from brand context).

Inputs: companyId. Returns: Structured content returned by the `get_email_design_system` MCP tool.

get_email_sendA
Read-onlyIdempotent
Inspect

Get an email delivery by emailSendId, including queued and test sends, delivery status, provider failure reason, stored HTML, effective Reply-To, copied-recipient identity and primary email send ID, and the ClickHouse event timeline. type is the legacy source category; use emailType on the send and deliveryPolicy on events for the actual marketing or transactional policy when known. Queue jobs are internal execution details and are not exposed.

Inputs: emailSendId (required), companyId. Returns: Structured content returned by the `get_email_send` MCP tool.

get_event_sampleA
Read-onlyIdempotent
Inspect

Read the latest actual received event in the selected workspace, across all subscribers. Requires subscribers:read. Returns sample: null when none exists. Copy sample.properties into start_sequence_test_run customVariables, editing as needed. This read does not fire an event or change the selected test recipient. Unlike get_event_schema, this is recorded account data, with no age cutoff.

Inputs: eventName (required), companyId. Returns: Structured content returned by the `get_event_sample` MCP tool.

get_event_schemaA
Read-onlyIdempotent
Inspect

Read the published payload of a built-in event: a real example payload per provider, plus every property path with its type, the merge tag that resolves it, and a note wherever the example alone is ambiguous. Call this BEFORE writing {{event.*}} merge tags or event property filters - an unrecognized merge tag renders as an empty string rather than an error, so a guessed property name ships silently broken. It is also the only place that spells out the traps the sample cannot: money fields ending in Cents are minor units while predictedLtv is whole currency units, price is a preformatted display string that must not be parsed, churnRisk is a 0-95 percent and not a probability, and orderId is a string on Shopify but a number on WooCommerce. Omit eventName to list every documented event, or pass provider to get one provider's payload instead of all of them. Custom events are first-class and deliberately absent from this list: documented: false means no sample is published, never that the event name is invalid or will be rejected. Static reference data - it describes the event shape, not what this account has received. Use get_event_sample to read the latest actual received payload.

Inputs: provider, companyId, eventName. Returns: Structured content returned by the `get_event_schema` MCP tool.

get_form_embedA
Read-onlyIdempotent
Inspect

Get a published saved form's action URL, one-line JavaScript embed, minimal native form action, and fetch example, for Astro, Hugo, Jekyll, Cloudflare Pages, Netlify, GitHub Pages, or other non-Webflow sites. Install embed.javascript (embed.recommendedSnippet) wherever the page can run a script tag: it is the only snippet with Sequenzy's spam protection. The form appears right after the script tag; when the script must load elsewhere (page head, tag manager, site-wide layout), put embed.placeholder where the form should appear and the script fills it. Use nativeForm or fetch only on a page that cannot run scripts, and tell the user embed.reducedProtectionWarning when you do. For a Webflow-connected company, returns embed.disabled plus the native Webflow settings path and no custom code.

Inputs: formId (required), companyId. Returns: Structured content returned by the `get_form_embed` MCP tool.

get_frequency_capA
Read-onlyIdempotent
Inspect

Get the company frequency cap: the most marketing emails (campaigns plus marketing sequence emails) one contact may receive in a rolling window. frequencyCap is null when no cap is set. Only sequences with frequencyCapEnabled respect it: their email steps are skipped for a contact already at the cap, and the contact moves to the next step. Campaigns count toward the cap but always send. Transactional emails never count and are never skipped.

Inputs: companyId. Returns: Structured content returned by the `get_frequency_cap` MCP tool.

get_geofenceC
Read-onlyIdempotent
Inspect

Get one geofence by ID.

Inputs: geofenceId (required), companyId. Returns: Structured content returned by the `get_geofence` MCP tool.

get_in_app_campaignA
Read-onlyIdempotent
Inspect

Get an in-app campaign's message, audience, priority, schedule, end time and state, plus reach and engagement stats once it has launched.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `get_in_app_campaign` MCP tool.

get_in_app_campaign_statsB
Read-onlyIdempotent
Inspect

Get in-app campaign results: delivered (contacts whose app received it), displayed, clicked, totalClicks, dismissed, push permission results for primer buttons, and first clicks per custom HTML button, plus the audience size at launch.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `get_in_app_campaign_stats` MCP tool.

get_in_app_placementA
Read-onlyIdempotent
Inspect

Get one in-app placement by key, with its all-time counts: items created, live (open now), and contacts who displayed, clicked or dismissed their item.

Inputs: key (required), companyId. Returns: Structured content returned by the `get_in_app_placement` MCP tool.

get_in_app_placement_contentA
Read-onlyIdempotent
Inspect

What each placement shows one contact now: for each key, the contact's highest-priority open placement item (ties: newest), or null when the slot collapses. Identify the contact by email, externalId or subscriberId. Reading marks nothing displayed.

Inputs: placements (required), email, actions, companyId, +2 more. Returns: Structured content returned by the `get_in_app_placement_content` MCP tool.

get_in_app_step_statsA
Read-onlyIdempotent
Inspect

Created, displayed, clicked and dismissed counts for one in-app sequence step, plus how many contacts allowed (pushPermissionGranted) or declined (pushPermissionDenied) notifications from a push primer.

Inputs: stepId (required), companyId. Returns: Structured content returned by the `get_in_app_step_stats` MCP tool.

get_inbox_addressA
Read-onlyIdempotent
Inspect

Get the email address anyone (a person, a service, or another agent) can write to so the message lands in this company's Sequenzy inbox. Also returns the default address, the branded address (customAddress, with status active or pending), whether receiving is on, whether attachments are stored, and how many days messages are kept. Replies to Sequenzy emails arrive in the same inbox automatically.

Inputs: companyId. Returns: Structured content returned by the `get_inbox_address` MCP tool.

get_integrationA
Read-onlyIdempotent
Inspect

Inspect one connected integration in depth: what the provider syncs, every event it can emit and when, every matching tag rule, which sequences trigger on those events, recent integration-specific activity, and prioritized recommendations. For Webflow, webflowCapture reports the exact selected native forms, retained field names, double-opt-in policy, list IDs, sequence toggle, webhook status, and schema fetch time; capture is off when its forms array is empty. observedByAccount and accountLastSeenAt are account-wide because event definitions can also be updated by another integration or the public events API; use the retained activity log for connection-specific delivery diagnosis. For Attio, an attio_lists_unmapped recommendation means nothing is mapped so nothing syncs, and attio_inbound_sync_error means changes made in Attio are not reaching Sequenzy — use get_attio_mapping then update_attio_settings; do not reconnect for that. Read-only; credentials are never returned. Get the id from list_integrations.

Inputs: integrationId (required), companyId. Returns: Structured content returned by the `get_integration` MCP tool.

get_integration_guideA
Read-onlyIdempotent
Inspect

Get code examples for integrating Sequenzy into your project.

SaaS and subscription apps: when the app uses Stripe, Polar, Paddle, Dodo, Lemon Squeezy, or Creem, the native integration in the Sequenzy dashboard (Settings -> Integrations) handles payment events and customer tags automatically, so no code is needed for those.

E-commerce stores: Shopify and WooCommerce stores use the native integration in the dashboard, which syncs products, orders, and customers automatically. Other e-commerce stacks (custom checkouts, CheckoutChamp, Sticky.io, headless storefronts) integrate through the 'ecommerce' use case and the Commerce API.

Manual event tracking code is an opt-in use case for custom events only.

Use cases:

  • 'transactional': Sending one-off emails (welcome, password reset, receipts)

  • 'subscribe_form': Adding subscribers from signup forms

  • 'event_tracking': Tracking CUSTOM events only (not payment events - those come from the integration)

  • 'ecommerce': Connecting a custom e-commerce platform via the Commerce API (sync products, push orders/checkouts, power abandoned cart + back-in-stock automations)

Protected server-side API work needs an API key (create_api_key), passed to the SDK as apiKey: process.env.SEQUENZY_API_KEY. Non-Webflow static-site saved forms are the exception: list_forms/create_form/get_form_embed return public embed code, and secret keys must never be placed in browser code. Webflow-connected companies use explicitly selected native forms in Settings -> Integrations -> Webflow; custom embed code is disabled.

Inputs: use_case, framework. Returns: Structured content returned by the `get_integration_guide` MCP tool.

get_integration_pixelA
Read-onlyIdempotent
Inspect

Check whether a Shopify store's storefront tracking pixel is installed and reporting to this account. Read live from Shopify on every call, because a merchant can remove the pixel without Sequenzy hearing about it. Check this before telling the user that browse abandonment, cart recovery, product views, collection views, or storefront search will work: without a live pixel those events never arrive, the sequences built on them never fire, and nothing anywhere reports an error. Returns pixel.healthy, the endpoint and signed configuration state, and dependentEvents - the event names that rely on this pixel. When pixel.error is null and pixel.healthy is false, those events are confirmed dark; an error means Shopify could not confirm their state. Fix a confirmed unhealthy state with activate_integration_pixel. Shopify only; other providers return a clear error.

Inputs: integrationId (required), companyId. Returns: Structured content returned by the `get_integration_pixel` MCP tool.

get_landing_pageA
Read-onlyIdempotent
Inspect

Get landing page details, content, metrics, and URLs. Drafts have publicUrl and appPublicUrl set to null; previewUrl is a signed, unlisted visitor-facing preview that works before publish. Use render_landing_page when you need that preview URL called out with publish-vs-draft guidance. viewCount and conversionCount are lifetime totals; use get_landing_page_stats for unique visits, referrers, a date histogram, and whether crawlers were counted.

Inputs: landingPageId (required), companyId. Returns: Structured content returned by the `get_landing_page` MCP tool.

get_landing_page_statsA
Read-onlyIdempotent
Inspect

Get landing page analytics: visits, unique visits, clicks, subscribes, conversion rate, a daily histogram, referrers, and UTM sources. Default counts exclude known crawlers; preview URLs and the editor are never counted. Opening the public URL while building the page does count. Pass includeBots to include crawler hits in visits. period defaults to all retained events with a 90-day histogram; dataAvailableFrom identifies the beginning of retained coverage, which may be later than the page's lifetime counters.

Inputs: landingPageId (required), end, start, period, +2 more. Returns: Structured content returned by the `get_landing_page_stats` MCP tool.

get_notification_preferencesA
Read-onlyIdempotent
Inspect

Get the account notification settings for the API key's own user in this company: whether Sequenzy emails them when a new subscriber joins, when a form is submitted, when a campaign finishes sending, and whether they get the Monday weekly report (last week's sends, engagement, new subscribers, revenue, goals, and sequence trends versus the week before; on by default for the workspace owner, off by default for invited members, only sent for weeks with more than 10 emails sent), whether they get the account health check's findings (account_health: on by default for the owner, opt-in for members; carried inside the Monday report when they get it, otherwise sent as their own email), and whether each arrives per-occurrence, as a daily summary, or weekly. Instant form-submission notifications stop after 50 per workspace per UTC day. Returns the supported modes and the platform defaults for this user's role alongside the current values. These are per-person settings - this never reads a teammate's preferences.

Inputs: companyId. Returns: Structured content returned by the `get_notification_preferences` MCP tool.

get_popupA
Read-onlyIdempotent
Inspect

Get one saved popup with its complete content blocks, trigger, targeting, schedule, frequency, and theme. Read this before editing blocks so the replacement array stays complete. For a Webflow-connected company, a published popup reports embed.disabled and the native Webflow settings path instead of custom code.

Inputs: popupId (required), companyId. Returns: Structured content returned by the `get_popup` MCP tool.

get_popup_embedA
Read-onlyIdempotent
Inspect

Get a published popup's script URL and ready-to-paste embed snippets for plain HTML, React/Next.js, WordPress, and Shopify. The snippet contains no API key - the trigger, targeting, and audience rules stay server-side. For a Webflow-connected company, returns embed.disabled plus the native Webflow settings path and no custom code.

Inputs: popupId (required), companyId. Returns: Structured content returned by the `get_popup_embed` MCP tool.

get_push_campaignA
Read-onlyIdempotent
Inspect

Get a push campaign's content, audience, status and (after sending) delivery stats.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `get_push_campaign` MCP tool.

get_push_campaign_statsA
Read-onlyIdempotent
Inspect

Get push campaign delivery stats: sent, displayed (device-reported), clicked, failed and skipped contacts, devices targeted/accepted, and skip/failure reasons.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `get_push_campaign_stats` MCP tool.

get_push_importA
Read-onlyIdempotent
Inspect

Get one push import: status (draft, queued, exporting, importing, completed, failed, canceled), progress, counts, skip/invalid reasons, warnings and whether it can be resumed. Poll this while it runs.

Inputs: importId (required), companyId. Returns: Structured content returned by the `get_push_import` MCP tool.

get_push_import_preflightA
Read-onlyIdempotent
Inspect

Check push settings before importing devices: warns when APNs or Firebase is not set up, or APNs is on sandbox. Imported tokens only work with the same bundle ID, Apple team and Firebase project the app used with the previous provider. Show these warnings to the user before starting an import.

Inputs: source (required), companyId, platforms. Returns: Structured content returned by the `get_push_import_preflight` MCP tool.

get_push_settingsA
Read-onlyIdempotent
Inspect

Get push notification readiness: whether web push is enabled (with its VAPID public key), whether APNs (iOS) and Firebase (Android) credentials are connected, the last credential error for each, and active device counts per platform. Check this before creating push campaigns or push sequence steps.

Inputs: companyId. Returns: Structured content returned by the `get_push_settings` MCP tool.

get_receiving_domainA
Read-onlyIdempotent
Inspect

Get one receiving domain: status, DNS records to publish, error, and claimExpiresAt.

Inputs: domain (required), companyId. Returns: Structured content returned by the `get_receiving_domain` MCP tool.

get_recipient_suppressionA
Read-onlyIdempotent
Inspect

Check whether one recipient is suppressed by Sequenzy's bounce/complaint safeguards. Suppression comes solely from Sequenzy's own bounce records; the email provider's suppression list is not consulted. This exact-address lookup never exposes other recipients.

Inputs: email (required), region, companyId. Returns: Structured content returned by the `get_recipient_suppression` MCP tool.

get_segment_countA
Read-onlyIdempotent
Inspect

Count the subscribers who currently match a saved segment's rules. Returns count and the segmentId that was counted; it does not list the subscribers (use search_subscribers with segmentId for that).

Inputs: segmentId (required), companyId. Returns: Structured content returned by the `get_segment_count` MCP tool.

get_sending_statusA
Read-onlyIdempotent
Inspect

Check whether company-level email sending is active, paused, or suspended, and what it takes to restore it. Relevant whenever a send, test send, or sequence step fails for a reason that is not a validation error, and whenever the account reports a bounce or complaint rate problem.

Returns the pause reason and reason kind, when it was paused, the automated sender-health review state, whether the one-click resume is currently available (and if not, which gate is blocking it), the enforcement counts and thresholds for permanent bounces, temporary bounces, and complaints, and ordered remediation steps.

There is no rolling window and no expiry. Enforcement uses all-time totals counted from a reset watermark, so a paused rate does NOT decay over time. Waiting does not restore sending. The rate only changes as real (non-test) sends accumulate or when a resume moves the watermark. metricsWindow contains the exact watermark timestamps.

Requires the account:read scope, so a read-only key can diagnose a blocked account. resume_sending restores sending once the underlying problem is fixed.

Inputs: companyId. Returns: Structured content returned by the `get_sending_status` MCP tool.

get_sequenceA
Read-onlyIdempotent
Inspect

Get sequence details, editable step content, and graph topology. Read effectiveStatus (draft, live, enrollment_paused, paused, archived) to know whether a sequence is running: status alone reads active even when new enrollments are paused (the legacy triggerConfig.active flag is unused). Each sequence.nodes item has id, nodeType, config, updatedAt and updateHints (editable fields plus the expectedUpdatedAt token for update_sequence_node/update_sequence_nodes). The response also includes sequence.edges and graphRevision for safe edit_sequence_graph calls, plus sequence.emails with each email step's nodeId, nodeType, linked emailId, subject, previewText, emailPreset (the per-email Style > Format for native blocks, including emails with supported custom HTML blocks; null when the entire email is standalone raw HTML), and blocks. sequence.emails includes action_ab_test steps, whose copy lives on the A/B test variants rather than on the node: their subject/previewText/blocks are control variant A only. With ab_tests:read, each carries abTest with the test id, status, and one entry per variant including that variant's full blocks, so a sequence read is enough to audit copy; without that scope, test fields are redacted and variants is empty. To change the copy of an A/B step, edit each variant with update_ab_test_variant - if that tool is not in the tool list, enable it on the Sequenzy connector rather than writing through update_template or update_sequence_node. Rebuilding the step as a plain email node to reach the copy destroys the test. get_ab_test reads A/B settings, localization, and stats. Send Time Optimization is not a company or sequence setting. It is campaign-only: audit with list_campaigns or get_campaign (sendTimeOptimization, sendTimeWindowHours, default 12h window). Change a draft with update_campaign, or apply it when calling schedule_campaign. Sequences use sendingWindow (allowed local hours/days), which is a shared gate, not per-subscriber predicted send times.

Inputs: sequenceId (required), companyId. Returns: Structured content returned by the `get_sequence` MCP tool.

get_sequence_audience_enrollmentA
Read-onlyIdempotent
Inspect

Status and counters of one audience enrollment run started with enroll_sequence_audience. Poll while status is queued or running.

Inputs: runId (required), sequenceId (required), companyId. Returns: Structured content returned by the `get_sequence_audience_enrollment` MCP tool.

get_sequence_definitionA
Read-onlyIdempotent
Inspect

Read a whole sequence as one definition document. By default it is the readable format: trigger on top (e.g. { event: user.signed_up }), then steps in run order, each with a key and one kind: email ({ subject, previewText, html | blocks }), wait ("1d 12h"), branch (if/else: a list of { id, label, if: condition, steps } plus else: steps; paths rejoin at the next step), split (random: { percent, steps }), continueIf (condition), tag, untag, end, or type + config for anything else. Conditions: { tag }, { notTag }, { list }, { segment }, { event }, { field, equals | contains | greaterThan | lessThan }, { clickedLink }, { hasPhone }, { smsSubscribed }, { hasPushDevice }. The end is implicit. Sequences the readable format cannot describe exactly come back in the explicit form (steps plus connections), as does format: raw. Either document pushes back unchanged with push_sequence_definition. Pass key, or sequenceId for a sequence without a key (its steps get readable generated keys). Webhook header values come back as [REDACTED]; managedBy is left out so a push never re-locks a sequence.

Inputs: key, format, companyId, sequenceId. Returns: Structured content returned by the `get_sequence_definition` MCP tool.

get_sequence_enrollmentA
Read-onlyIdempotent
Inspect

Read one sequence enrollment token, including how it entered and which branches it already took. Use this after list_sequence_enrollments when a completed token shows enteredVia unknown or Sequence completed with no email: nodeHistory is the bounded ClickHouse graph walk (redacted), and nodeHistoryTruncated tells you when more events exist. branchDecisionCount and branchDecisionsTruncated report whether the token's bounded decision array omitted older decisions. A legacy token whose first unmatched branch went straight to completion still reports the compared field name and a safe value summary (missing/empty/nonempty/equals_expected) rather than the raw recipient value. entryContext lists event property keys, never values. Requires sequences:read.

Inputs: sequenceId (required), enrollmentId (required), companyId. Returns: Structured content returned by the `get_sequence_enrollment` MCP tool.

get_sequence_enrollment_realignmentA
Read-onlyIdempotent
Inspect

Check a queued sequence enrollment realignment. Call this with the jobId returned by realign_sequence_enrollments after applying with dryRun false. When status is completed, result contains the realignment counts, sample, and any nextCursor needed for another bounded apply call.

Inputs: jobId (required), sequenceId (required), companyId. Returns: Structured content returned by the `get_sequence_enrollment_realignment` MCP to…

get_sequence_inbound_webhookA
Read-onlyIdempotent
Inspect

Read the usable URL, mapping, sample payload, and setup status for a sequence inbound webhook. mappingCheck reports whether the mapping finds an email in the last received payload: email_not_found means webhooks are answered but skipped without creating subscribers, and missingFields lists mapped paths absent from that payload.

Inputs: sequenceId (required), companyId. Returns: Structured content returned by the `get_sequence_inbound_webhook` MCP tool.

get_sequence_recurring_enrollmentA
Read-onlyIdempotent
Inspect

Read a sequence's recurring schedule: the audience it re-enrolls, how often (daily, weekly on chosen weekdays, or monthly on chosen days including the last day), the time and IANA timezone, a readable description, the next run times (upcomingRuns), and the last run or skipped occurrence. recurringEnrollment is null when the sequence has no schedule.

Inputs: sequenceId (required), companyId. Returns: Structured content returned by the `get_sequence_recurring_enrollment` MCP tool.

get_sequence_statsA
Read-onlyIdempotent
Inspect

Get statistics for a sequence. The steps array is the per-step breakdown: one entry per email step in graph order with its step number, automation nodeId, subject, and its own sent, delivered, bounced, opened, clicked, replies, and unsubscribed counts plus rates - so this is where you read how many of Email 4 went out, without reconstructing anything from list_sequence_events. Step counts come from the retained event stream, not the 14-day delivery history behind list_email_sends, so they stay answerable for old sends. Also returns the aggregate funnel across every step, attributed conversions and revenue (revenueCents), product recommendation funnel metrics, per-step failed subscribers and failure reasons, per-step Poll and NPS summaries in steps[].polls (lifetime, same shape as get_campaign_stats polls), and enrollmentSkipped counts for trigger matches where the contact could not be enrolled (unsubscribed/bounced). Pass period or start/end to use one explicit window for every historical metric; without them, step and aggregate counts are all-time and enrollmentSkipped defaults to the last 30 days. The enrollmentCounts field is a live snapshot of active and waiting enrollments grouped by current node, so it is not limited by period or start/end; contacts held by pause_sequence_subscribers are counted separately in pausedEnrollments. To compare the same step across many sequences in one call, use list_email_metrics instead.

Inputs: sequenceId (required), end, start, period, +2 more. Returns: Structured content returned by the `get_sequence_stats` MCP tool.

get_sequence_test_runA
Read-onlyIdempotent
Inspect

Read live sequence test status, recipient, timestamps, step logs and errorMessage. Requires sequences:read and subscribers:read. Inspect failed runs before retrying because completed actions are not rolled back.

Inputs: runId (required), sequenceId (required), companyId. Returns: Structured content returned by the `get_sequence_test_run` MCP tool.

get_shopify_automation_settingsA
Read-onlyIdempotent
Inspect

Get the connected Shopify store's automation settings: browse abandonment (emails shoppers who viewed a product but didn't buy), cart abandonment (fires ecommerce.cart_abandoned with the full cart after the cart sits inactive), and price drop alerts (emails recent viewers when a product's price falls). Returns the effective values with platform defaults applied.

Inputs: companyId. Returns: Structured content returned by the `get_shopify_automation_settings` MCP tool.

get_sms_settingsA
Read-onlyIdempotent
Inspect

Get the company's SMS add-on status: whether SMS is enabled, plan eligibility, credit balance, brand prefix, phone numbers (each with linkShorteningEnabled), and whether SMS steps will actually send. Check this before adding SMS steps to sequences so you can warn the user when SMS is not ready.

Inputs: companyId. Returns: Structured content returned by the `get_sms_settings` MCP tool.

get_sms_usageA
Read-onlyIdempotent
Inspect

Get per-number SMS usage for the company: sends, delivered, failed, credits charged, last-sent time, and test-send count for each phone number the workspace has sent from. Use it to compare how the workspace's numbers are performing or to check what a number was used for before releasing it.

Inputs: companyId. Returns: Structured content returned by the `get_sms_usage` MCP tool.

get_statsA
Read-onlyIdempotent
Inspect

Get overview statistics for a time period, including reply count and reply rate. Counts form a funnel over the sends made inside the period: opened and clicked are unique per email send (not total open events) and include engagement that arrives after the period ends, so they never exceed sent. Rates divide by rateDenominator (delivered, falling back to sent), reported alongside rateDenominatorBasis. Set emailType to transactional for Send API and transactional SMTP open/click rates, including both direct and saved-template sends. Also returns top-level subscriberCount (every stored contact) and activeSubscriberCount (status=active) as a live audience snapshot, independent of period; use these for 'how many subscribers do I have' instead of search_subscribers pagination.total. When no emailType filter is used and a background-computed snapshot is available, the response also includes a top-level commerceForecast with predicted AOV, 12-month customer value, 90-day revenue, confidence, and data-eligibility reasons.

Inputs: end, start, period, source, +6 more. Returns: Structured content returned by the `get_stats` MCP tool.

get_stats_breakdownA
Read-onlyIdempotent
Inspect

Funnel per email, sequence, email_type, mailbox_provider or recipient_domain, most sends first, with rates and attributed revenue. Drill in by passing a row's filter values to get_stats or another breakdown. Defaults: 30d, 25 rows. Returns the applied dimension, window (start, end) and filters, and one row per group with its source filter values, funnel counts, rates and attributed revenue.

Inputs: by, end, limit, start, +8 more. Returns: Structured content returned by the `get_stats_breakdown` MCP tool.

get_subscriberB
Read-onlyIdempotent
Inspect

Get the full subscriber profile, including tags, notes, list memberships, sequence enrollments, email stats, and recent activity. For commerce customers, customAttributes include nightly predictive analytics: predictedLtv (next-12-month spend), churnRisk (percent), expectedNextOrderAt, avgDaysBetweenOrders, and predictionConfidence.

Inputs: email, companyId, externalId, includeMachineEngagement. Returns: Structured content returned by the `get_subscriber` MCP tool.

get_subscriber_activityA
Read-onlyIdempotent
Inspect

Get one subscriber's recent activity events, their email stats, and their current sequence enrollments, with pagination for the activity list. Use it to answer what a contact received or did recently.

Inputs: email, companyId, externalId, includeMachineEngagement. Returns: Structured content returned by the `get_subscriber_activity` MCP tool.

get_subscriber_importA
Read-onlyIdempotent
Inspect

Get progress, counts, skipped reasons, and failure summaries for a queued subscriber import. Every excluded row is explained: skippedReasons sums to skippedCount and failedReasons sums to failedCount, so a finished import can be reconciled without inspecting individual contacts. If the reason counts fall short of the totals, report it with the import ID rather than guessing what the missing rows were. listQuality is null unless the list needs cleaning; then nothing was imported (rows skipped as list_needs_cleaning) and you should relay its message and cleaningUrl. An import stays running until its list check finishes.

Inputs: importId (required), companyId. Returns: Structured content returned by the `get_subscriber_import` MCP tool.

get_subscriber_operationA
Read-onlyIdempotent
Inspect

Read background operation progress and state. A completed tagging operation may have per-contact failures; inspect failed and failures.

Inputs: operationId (required), companyId. Returns: Structured content returned by the `get_subscriber_operation` MCP tool.

get_sync_rulesA
Read-onlyIdempotent
Inspect

Get the company's sync rules: the automatic tag changes applied when events fire (e.g. order placed -> add a tag). New companies start with the payment and ecommerce lifecycle rules; some older ones have none. Returns the effective rules plus isDefault, which is true when the company has explicitly opted into the inherited SaaS/ecommerce platform preset.

Inputs: companyId. Returns: Structured content returned by the `get_sync_rules` MCP tool.

get_templateA
Read-onlyIdempotent
Inspect

Get a template's details, content, and all localized variants with sync status. emailPreset reports the per-email Style > Format (branded or minimal; null when the whole email is standalone raw HTML) the same way get_sequence does per step.

Inputs: templateId (required), companyId. Returns: Structured content returned by the `get_template` MCP tool.

get_template_localization_coverageA
Read-onlyIdempotent
Inspect

Show how many emails that keep sending are translated into each enabled language: every email step and A/B variant in sequences that are not archived, plus enabled transactional emails (left out for marketer keys). Per language it returns total, upToDate, edited, outdated (translated before the original changed; still sends), translating, failed and missing counts. push gives the same counts (without failed) for push steps in sequences that are not archived or defined in code. Use it to follow progress after translate_missing_template_localizations or after a language was added in the dashboard.

Inputs: companyId. Returns: Structured content returned by the `get_template_localization_coverage` MCP too…

get_tracking_domainA
Read-onlyIdempotent
Inspect

Get the company tracking domain every sending domain uses for tracked links and opens: hostname, status, whether links use it now (active), the CNAME record to publish, and the last check. trackingDomain is null when none is set and links use the shared Sequenzy domain.

Inputs: companyId. Returns: Structured content returned by the `get_tracking_domain` MCP tool.

get_tracking_settingsA
Read-onlyIdempotent
Inspect

Get the company's email tracking and signup consent configuration: account-wide and Transactional API open/click defaults, unsubscribe tracking, opt-in strict bot filtering, default attribution window, automatic UTM tagging, the company tracking domain (shared by every sending domain) and its verification status, inbound reply-tracking settings, and whether double opt-in is required for new contacts. Use this to audit measurement readiness, to explain why opens or clicks may not be recorded, and to check how contacts enter the list before investigating bot or alias signups.

Inputs: companyId. Returns: Structured content returned by the `get_tracking_settings` MCP tool.

get_transactional_emailA
Read-onlyIdempotent
Inspect

Get a transactional email by ID or slug, including subject, preview text, blocks, variables, and linked dashboard URLs. emailPreset reports the per-email Style > Format the same way get_sequence does per step (branded or minimal; null when the whole email is standalone raw HTML), so it can be compared against sequence steps and campaigns without rendering them - minimal suppresses the company logo at render time.

Inputs: idOrSlug (required), companyId. Returns: Structured content returned by the `get_transactional_email` MCP tool.

get_transactional_statsA
Read-onlyIdempotent
Inspect

Get aggregate sends, deliveries, bounces, opens, clicks, and rates for one saved transactional email selected by ID or slug. Results are all-time by default; pass period or start/end for a window. For direct-content Send API messages, use get_stats with emailType transactional and list_email_sends/get_email_send for delivery-level detail.

Inputs: idOrSlug (required), end, start, period, +2 more. Returns: Structured content returned by the `get_transactional_stats` MCP tool.

get_warehouse_connectionA
Read-onlyIdempotent
Inspect

Get one warehouse connection with its settings, status, last test and number of syncs. Credentials are never returned.

Inputs: connectionId (required), companyId. Returns: Structured content returned by the `get_warehouse_connection` MCP tool.

get_warehouse_syncA
Read-onlyIdempotent
Inspect

Get one warehouse sync with its status and latest run.

Inputs: syncId (required), companyId. Returns: Structured content returned by the `get_warehouse_sync` MCP tool.

get_web_tracking_keyA
Read-onlyIdempotent
Inspect

Get one web tracking key with its install snippet and ingest endpoint. Use this to hand a developer the exact <script> tag to paste, rather than reconstructing it - the snippet embeds both the publishable key and the workspace id, and a hand-built one that gets either wrong fails silently.

Inputs: id (required), companyId. Returns: Structured content returned by the `get_web_tracking_key` MCP tool.

import_geofencesA
Destructive
Inspect

Create or update up to 1,000 geofences in one call, matched by externalId, which every row needs; importing the same rows again updates instead of duplicating. Invalid rows are skipped and listed in errors with their index.

Inputs: geofences (required), companyId. Returns: Structured content returned by the `import_geofences` MCP tool.

import_subscriber_eventsA
Destructive
Inspect

Record a bounded batch of events for many subscribers in one call, built for data pipeline and warehouse syncs. Each event carries its own email or externalId and a required source-owned eventId; externalId-only rows must identify an existing contact because email is required for creation. Contacts whose events are all more than an hour old are imported silently as history (including no double-opt-in email); any recent event makes that contact's whole group live. Retries keep one receipt and re-attempt any downstream recovery that has not finished. Accepts at most 25 events. Without automations:trigger the call succeeds but starts no sequence for live rows (sequenceTriggersRan false, reason missing_scope).

Inputs: events (required), companyId. Returns: Structured content returned by the `import_subscriber_events` MCP tool.

insert_sequence_stepA
Destructive
Inspect

Insert one dashboard-compatible typed step into an existing sequence: email, SMS, delay/date wait, discount (later emails print the generated code with {{discount.code}}), subscriber update, tag/list action, outbound webhook, AI step (later steps use the generated text with {{ai.KEY.field}}), condition gate, wait-for-event, or wired If/Else branch. Use get_sequence first and pass afterNodeId. Branch paths can target existing nodes, including completion. To nest a branch inside a branch path, end that path with the step the nested branch should follow, then call insert_sequence_step again with type 'logic_branch' and afterNodeId set to that path node - addedBranchPathNodeIds in the response lists each path's node IDs in order, and the nested paths reconnect to the shared steps that already followed it. A logic_branch with splitMode 'random' plus randomPercentages is a weighted split rather than an If/Else, so it runs a concurrent A/B test inside the flow - use it to compare two offers in the same abandoned-cart sequence instead of running duplicate sequences one after another. To A/B test the content of one existing email step and have a winner picked automatically, use create_ab_test with automationNodeId instead. For active sequences, confirm the structural change first.

Inputs: sequenceId (required), url, body, data, +93 more. Returns: Structured content returned by the `insert_sequence_step` MCP tool.

invite_team_memberA
Destructive
Inspect

Invite a team member by email with role admin, marketer, viewer, or restricted. Existing Sequenzy users are added to the team immediately; others receive an email invitation. Billing access (canManageBilling) can only be granted by the company owner and is not available for marketer or restricted members. Calling it again for an address whose invitation expired or was cancelled reissues it with a new link and emails it again; a still-valid pending invitation returns 409.

Inputs: role (required), email (required), companyId, canManageBilling. Returns: Structured content returned by the `invite_team_member` MCP tool.

list_ab_testsB
Read-onlyIdempotent
Inspect

List A/B tests and their variants.

Inputs: companyId, sequenceId. Returns: Structured content returned by the `list_ab_tests` MCP tool.

list_account_eventsA
Read-onlyIdempotent
Inspect

List recent events on a customer organization's timeline, newest first.

Inputs: externalId (required), limit, companyId. Returns: Structured content returned by the `list_account_events` MCP tool.

list_account_membersA
Read-onlyIdempotent
Inspect

List the contacts that belong to a customer organization with their roles. Owners first, then admins, then members.

Inputs: externalId (required), limit, companyId. Returns: Structured content returned by the `list_account_members` MCP tool.

list_accountsA
Read-onlyIdempotent
Inspect

List your customers' organizations (B2B accounts such as companies, workspaces or teams) in the workspace. The dashboard shows them under Subscribers > Organizations; these tools keep the account names. Not your Sequenzy account, workspace or login: use get_account for that. Search matches name, external ID and domain. Organizations group contacts; their attributes reach every member as organization.<name> for segment attribute filters and sequence conditions, and as {{organization.<name>}} merge tags (account.* is an older alias).

Inputs: page, sort, limit, order, +3 more. Returns: Structured content returned by the `list_accounts` MCP tool.

list_account_suggestionsA
Read-onlyIdempotent
Inspect

Suggest accounts from work email domains that several contacts share (for example 7 contacts at acme.com). Personal and disposable providers (gmail.com, outlook.com, yopmail.com, ...), the workspace's own sending domains, domains where any contact already belongs to an account, and domains an account already uses are skipped. Each suggestion includes up to 10 sampleEmails for review. Read-only; show the list to the user and accept only the domains they confirm with accept_account_suggestions.

Inputs: limit, companyId, minContacts. Returns: Structured content returned by the `list_account_suggestions` MCP tool.

list_ad_accountsA
Read-onlyIdempotent
Inspect

List the Meta ad accounts available through the connected Meta Ads integration. Use the returned account id as adAccountId when creating an audience sync.

Inputs: companyId. Returns: Structured content returned by the `list_ad_accounts` MCP tool.

list_api_keysA
Read-onlyIdempotent
Inspect

List company-scoped API keys as non-secret metadata. Returns IDs, names, prefixes, permissions, usage timestamps, and whether each key is the active credential. It never returns a plain key or stored key hash. Use this before revoke_api_key or delete_api_key to identify the exact unused key.

Inputs: companyId (required). Returns: Structured content returned by the `list_api_keys` MCP tool.

list_audience_syncsA
Read-onlyIdempotent
Inspect

List Meta custom audience syncs (segment -> ad audience mappings) with their schedule and last sync status. Requires the Meta Ads integration to be connected in the dashboard.

Inputs: companyId. Returns: Structured content returned by the `list_audience_syncs` MCP tool.

list_campaign_eventsA
Read-onlyIdempotent
Inspect

List paginated raw email events for a campaign. Defaults to deliveries; use eventType or eventTypes to include opens, clicks, bounces, complaints, unsubscribes, sends, or delivery delays.

Inputs: campaignId (required), end, page, limit, +6 more. Returns: Structured content returned by the `list_campaign_events` MCP tool.

list_campaign_goalsA
Read-onlyIdempotent
Inspect

List conversion goals for one email campaign. Returns campaign-specific goals in goals and Settings goals in companyGoals, including inactive goals. Company-wide goals apply automatically after an open or click within their window; manage them in Settings, not through campaign goal update/delete. SMS campaigns are not supported. Campaign goals are attributed to recipients who were sent that campaign (last-touch open/click still wins when the recipient engaged), and appear on the campaign report as named conversion steps after sent/opened/clicked.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `list_campaign_goals` MCP tool.

list_campaign_repliesA
Read-onlyIdempotent
Inspect

List who replied to a campaign, newest first: one row per reply with the subscriber's email and name, the send they replied to, the attachment count, the reply time, and conversationId, the inbox conversation holding the reply. get_campaign_stats reports the replies count; this lists the same replies, so pagination.total matches it when get_campaign_stats is called without period, start or end. Reply text is not returned: read a reply with get_conversation using its conversationId. conversationId is null when the reply has no inbox conversation, and email is null when the subscriber has since been deleted. Results are paginated: read the returned pagination object and keep paging with page while page < totalPages.

Inputs: campaignId (required), page, limit, companyId. Returns: Structured content returned by the `list_campaign_replies` MCP tool.

list_campaignsA
Read-onlyIdempotent
Inspect

List campaigns. Each item carries emailPreset, the linked email's Style > Format (branded or minimal; null for SMS campaigns and standalone raw HTML emails), so chrome can be compared across campaigns without one get_campaign call each. Each item also carries delivery pacing so an account-wide STO audit does not need one get_campaign call each: sendTimeOptimization, sendTimeWindowHours, spreadOverHours, sendInRecipientTimezone, and scheduledTimezone. STO is campaign-only; sequences use sendingWindow. Results are paginated: the default page size is 50 and limit is capped at 100. Always read the returned pagination object (limit, offset, count, total, hasMore) and keep paging with offset while hasMore is true - a single call does not necessarily return every campaign.

Inputs: label, limit, offset, status, +1 more. Returns: Structured content returned by the `list_campaigns` MCP tool.

list_campaign_variationsA
Read-onlyIdempotent
Inspect

Variations are alternative versions of a campaign's email, compared side by side on the editor's Canvas tab. They never change what the campaign sends until use_campaign_variation. Labels: V1, V2, ... for versions of the email, V2.1, V2.2, ... for branches of V2. Lists the campaign's variations oldest first with status (generating, ready, failed), parentId (nearest variation it descends from that is not discarded), blocks, emailTheme and fontFamily (its own look, or null for the email's), position (where the user placed it on the canvas, or null), and inUse (the email currently has exactly this content). Discarded variations are not listed. Poll this after generate_campaign_variations until no variation is generating; one still generating after 10 minutes is reported as failed.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `list_campaign_variations` MCP tool.

list_capture_submissionsA
Read-onlyIdempotent
Inspect

Read immutable accepted form, popup or landing-page answers, payloads and field labels, newest first. Tracking starts when enabled; explicitly recovered rows include payload.recovery with inferred source attribution and event_time timestamp meaning. Requires subscribers:read plus widgets:read for forms/popups or landing_pages:read for landing pages. Use nextCursor to retrieve subsequent pages with the same filters. Responses include normalized submitted answers, not current profile values or double-opt-in confirmation.

Inputs: sourceId (required), sourceType (required), field, limit, +4 more. Returns: Structured content returned by the `list_capture_submissions` MCP tool.

list_conversation_recipientsA
Read-onlyIdempotent
Inspect

List the inbox addresses conversations started at, for list_conversations recipient filters.

Inputs: companyId. Returns: Structured content returned by the `list_conversation_recipients` MCP tool.

list_conversationsA
Read-onlyIdempotent
Inspect

List inbox conversations: replies to campaigns, sequences and transactional email, plus email sent to the inbox address (context.type inbox; recipientAddress says which address). Filter by status, search, unread, spam (only listed with spam true) or recipient, with pagination. Each conversation includes lastMessagePreview: a short plain-text preview of the latest subscriber or team reply (quoted history removed), or null.

Inputs: page, spam, limit, search, +4 more. Returns: Structured content returned by the `list_conversations` MCP tool.

list_data_export_runsA
Read-onlyIdempotent
Inspect

List recent export runs (last 14 days) with status, rows, files, bytes and errors.

Inputs: dataExportId (required), limit, companyId. Returns: Structured content returned by the `list_data_export_runs` MCP tool.

list_data_exportsA
Read-onlyIdempotent
Inspect

List data exports: destinations (S3, GCS or S3-compatible buckets) that Sequenzy streams email events, SMS events, custom events and daily subscriber snapshots to as gzipped JSON lines. Shows status, how far each dataset has been exported, and the last error. Credentials are never returned.

Inputs: companyId. Returns: Structured content returned by the `list_data_exports` MCP tool.

list_email_componentsA
Read-onlyIdempotent
Inspect

List the company's reusable email components newest first. Components are saved block groups that can be dropped into emails, plus the components pinned as company defaults for a slot (currently footer). Pass defaultsOnly to see only the pinned defaults.

Inputs: type, companyId, defaultsOnly. Returns: Structured content returned by the `list_email_components` MCP tool.

list_email_metricsA
Read-onlyIdempotent
Inspect

List per-email metrics across the account: one row per campaign and per sequence email step, each with its own delivery funnel, attributed conversions, and revenueCents. This is the tool for cross-sequence questions - 'how many Email 4s went out across these sequences' is one call with step=4 plus the returned totals, instead of one get_sequence_stats per sequence. Sequence rows carry sequenceId, sequenceName, automationNodeId, and step, so you can group or compare steps yourself. Counts come from the retained event stream (not the 14-day list_email_sends history) and match get_sequence_stats steps[] for the same step. Filter by emailType, sequenceId, campaignId, and step; sort with sort/order; page with page/limit. totals covers every matching email, not just the current page.

Inputs: end, page, sort, step, +9 more. Returns: Structured content returned by the `list_email_metrics` MCP tool.

list_email_referencesA
Read-onlyIdempotent
Inspect

List real emails from the Sequenzy email gallery to model a new email on, for the kind of email being written: campaign (promotions, newsletters, product updates), sequence (lifecycle emails plus whole sequences) or transactional. By default (scope similar) they come from the gallery brands most like the company: brands whose businesses (what each sells, and to whom) are closest in meaning to the company description, closest first (returned as brands; rankings are reused for up to 10 minutes). To rank them, the company description and any search text are sent to an embeddings service; nothing is saved. Each item has a gallery url that create_template_from_example (or create_sequence_from_example for a sequence) accepts, and emails carry an analysis (main button, length, layout, voice, structure and why it works; null until analyzed) to choose a model by. With scope all it browses the whole gallery instead; search narrows either. profile is missing (and the list empty) when the company has no description or company context yet; use scope all then. Requires templates:read.

Inputs: kind (required), page, limit, scope, +3 more. Returns: Structured content returned by the `list_email_references` MCP tool.

list_email_sendsA
Read-onlyIdempotent
Inspect

List and filter the recent sent-email delivery history shown in the dashboard. Search subject/title or recipient, filter by delivery status, email type, bounce type, source ID, recipient mailbox provider, or list membership, then pass a returned emailSendId to get_email_send for exact open/click timestamps and the complete event timeline. Each row carries recipientEmail, subscriberId, automationNodeId, abTestVariantId, and sent/delivered/opened/clicked timestamps, so rows join into a recipient-level delivery matrix without re-reading the raw event stream. Pass automationNodeId to list only the recipients of one sequence step. Delivery rows are retained for 14 days, so this is the wrong tool for send totals: read get_sequence_stats steps[] or list_email_metrics, which cover the full retained event window. Successful live-test and other test sends are omitted so they do not bury real deliveries; only failed, bounced, or suppressed test sends appear. Replies to those test sends show in list_conversations only when inbound reply capture is enabled; otherwise the send uses the original Reply-To and Sequenzy never sees the reply.

Inputs: days, page, limit, listId, +14 more. Returns: Structured content returned by the `list_email_sends` MCP tool.

list_formsA
Read-onlyIdempotent
Inspect

List saved signup forms for a company, including their server-managed audience settings and public action URLs.

Inputs: companyId. Returns: Structured content returned by the `list_forms` MCP tool.

list_geofencesA
Read-onlyIdempotent
Inspect

List geofences: circular places (stores, venues) the Sequenzy mobile SDKs watch. Signed-in app users entering, leaving or staying in one record app.geofence_entered, app.geofence_exited and app.geofence_dwelled events with geofenceId, geofenceName, geofenceGroup and geofenceExternalId properties, usable as sequence triggers (event trigger with propertyFilters) and in segments (field geofence). Paged by cursor.

Inputs: group, limit, active, cursor, +1 more. Returns: Structured content returned by the `list_geofences` MCP tool.

list_in_app_campaignsA
Read-onlyIdempotent
Inspect

List in-app campaigns, newest first. Each has a stored status and a state: draft, scheduled, live, ended (past endsAt) or stopped.

Inputs: limit, offset, status, companyId. Returns: Structured content returned by the `list_in_app_campaigns` MCP tool.

list_in_app_messagesA
Read-onlyIdempotent
Inspect

List a contact's in-app messages and content cards (created by type "in_app" sequence steps). status "open" (default) is what their app should show now; "all" is history. Identify the contact by email, externalId or subscriberId.

Inputs: kind, email, limit, status, +5 more. Returns: Structured content returned by the `list_in_app_messages` MCP tool.

list_in_app_placementsA
Read-onlyIdempotent
Inspect

List the workspace's in-app placements: named slots in the customer's app or website that show in-app content inline (key, name, description, size hints) with all-time counts (created, live, displayed, clicked, dismissed). Fill one from a sequence step with type "in_app", kind "placement" and placement set to its key.

Inputs: companyId. Returns: Structured content returned by the `list_in_app_placements` MCP tool.

list_in_app_templatesA
Read-onlyIdempotent
Inspect

Starting points for in-app sequence steps (trial ending, welcome, new feature, milestone, a push primer that asks for notification permission, and more). Each has a complete step config: pass it as a type "in_app" step to create_sequence or insert_sequence_step after adding the urls its link buttons open.

Inputs: companyId. Returns: Structured content returned by the `list_in_app_templates` MCP tool.

list_integration_activityA
Read-onlyIdempotent
Inspect

Read recent integration webhook and sync activity, newest first. This is the log to check when an integration reports connected but contacts or events are not appearing: each row carries the action, status, event type, matched contact, and error. Payloads are sanitized at write time, so no credentials or secrets appear here. Activity is retained for 24 hours only.

Inputs: limit, status, provider, companyId, +1 more. Returns: Structured content returned by the `list_integration_activity` MCP tool.

list_integration_capabilitiesA
Read-onlyIdempotent
Inspect

Describe what Sequenzy's integration providers do, whether or not they are connected. For each provider: category, how it connects, what it syncs, every event it emits with the real-world moment that triggers it, the subscriber attributes it writes, supported actions, availability, and caveats. Use this to answer 'what would connecting Stripe give me?', to compare providers before recommending one, or to check whether an event a sequence needs actually exists for that provider. Coverage differs sharply between providers - only Shopify has storefront browse tracking, and only Stripe, Chargebee, and RevenueCat cover the full trial lifecycle - so check here rather than assuming.

Inputs: category, provider, companyId. Returns: Structured content returned by the `list_integration_capabilities` MCP tool.

list_integrationsA
Read-onlyIdempotent
Inspect

List connected integrations (Stripe, Shopify, Supabase, Clerk, WooCommerce, ad platforms, and so on) with connection status, sync state, last sync time, and last sync error. Read-only: credentials, access tokens, and webhook secrets are never returned. Use this to audit which external systems feed this account and whether their syncs are healthy.

Inputs: companyId, includeInactive. Returns: Structured content returned by the `list_integrations` MCP tool.

list_integration_suggestionsA
Read-onlyIdempotent
Inspect

Suggest integrations to connect next, based on what Sequenzy found on the company's website during onboarding: tools on the homepage or the sign-in page it links to (Clerk, Supabase, PostHog, Segment, Mixpanel, Amplitude, Webflow, Wix, WordPress, WooCommerce) or a Shopify storefront, minus anything already connected. Payment providers are never guessed from the site: when the website lists pricing and no payment or commerce integration is connected, paymentProviders lists every payment provider so the user can pick theirs. scanComplete is false while the website is still being read, so an empty list then means 'not scanned yet', not 'nothing found'. Use list_integration_capabilities to explain what a suggested provider gives and how it connects. Read-only.

Inputs: companyId. Returns: Structured content returned by the `list_integration_suggestions` MCP tool.

list_landing_pagesC
Read-onlyIdempotent
Inspect

List all landing pages for a company.

Inputs: companyId. Returns: Structured content returned by the `list_landing_pages` MCP tool.

list_listsA
Read-onlyIdempotent
Inspect

List all subscriber lists. Each list includes subscriberCount (current members of any status) and activeSubscriberCount (current members with status=active). Members who unsubscribed from the list are not counted. Use these fields for list audience size instead of paging search_subscribers.

Inputs: companyId. Returns: Structured content returned by the `list_lists` MCP tool.

list_live_activitiesA
Read-onlyIdempotent
Inspect

List iOS Live Activity and Android Live Update tokens (push-to-start tokens per device and activity type, update tokens per running activity) with a per-type summary of devices that can start activities and running activities. Each token has platform ios or android. Tokens are masked.

Inputs: kind, email, limit, cursor, +6 more. Returns: Structured content returned by the `list_live_activities` MCP tool.

list_poll_responsesA
Read-onlyIdempotent
Inspect

List individual Poll and NPS responses for a campaign, newest answer first, with each respondent's email, their answer and stored value, the subscriber attribute the answer was saved to, and the response time. get_campaign_stats reports the totals; this reports who answered what and when. Only each subscriber's latest answer per poll block is returned, so the counts match the campaign stats summary. Do not reconstruct respondents by scanning subscribers for the poll attribute - the attribute carries no response time and reflects the latest answer to any email. Multi-select answers list every selected option in answers/values. comment holds the respondent's latest comment from the poll's confirmation page (null if none), commentAnswer the answer it was written under. Results are paginated: read the returned pagination object and keep paging with page while page < totalPages.

Inputs: campaignId (required), page, limit, blockId, +2 more. Returns: Structured content returned by the `list_poll_responses` MCP tool.

list_popupsA
Read-onlyIdempotent
Inspect

List saved signup popups for a company with their status, view and conversion counts, and engagement rates. Content blocks are omitted by default to keep the response small - use get_popup for one popup's full content. Popups are the on-site overlay capture surface; use list_forms for inline embedded forms.

Inputs: companyId, includeContent. Returns: Structured content returned by the `list_popups` MCP tool.

list_productsA
Read-onlyIdempotent
Inspect

List synced products (Stripe, Shopify, WooCommerce) including any attached digital delivery file. Useful before attaching a file or building a purchase sequence for a specific product. For Stripe products, variants are the product's active prices (variantId = Stripe price ID), so an exact price can be targeted even when it is not the default. Returns one page: check pagination.total and pagination.hasMore, and page with offset to read the whole catalog.

Inputs: limit, offset, search, provider, +1 more. Returns: Structured content returned by the `list_products` MCP tool.

list_push_campaignsB
Read-onlyIdempotent
Inspect

List push campaigns, newest first.

Inputs: limit, offset, status, companyId. Returns: Structured content returned by the `list_push_campaigns` MCP tool.

list_push_devicesA
Read-onlyIdempotent
Inspect

List registered push devices (browsers and app installs) in a stable order; pass nextCursor to page. Filter by contact (email or subscriberId), platform or status. Tokens are never returned in full.

Inputs: email, limit, cursor, status, +3 more. Returns: Structured content returned by the `list_push_devices` MCP tool.

list_push_importsB
Read-onlyIdempotent
Inspect

List recent push imports with status, progress and counts (imported, matched, unsubscribed, skipped, invalid, contacts created).

Inputs: limit, companyId. Returns: Structured content returned by the `list_push_imports` MCP tool.

list_receiving_domainsA
Read-onlyIdempotent
Inspect

List receiving domains: domains and subdomains whose mail reaches the inbox (every address on them). A workspace has one; once verified, replies to emails from all its sending domains come back to reply addresses on it, like the tracking domain. Workspaces that set up several before keep them; replies then prefer the sender's own domain or one on the same root, else the oldest verified one. status verified: mail arrives and new reply addresses use it. pending: publish its records (a new name is reserved 7 days); until then replies use Sequenzy's shared address. failed: something broke; mail that still arrives is accepted, but new reply addresses use Sequenzy's address until fixed.

Inputs: companyId. Returns: Structured content returned by the `list_receiving_domains` MCP tool.

list_recipient_suppressionsA
Read-onlyIdempotent
Inspect

List the recipients this company cannot reach: protected global invalid-recipient suppressions for addresses associated with the company, protected workspace hard bounces without conclusive invalid-inbox evidence, removable workspace soft-bounce escalations, and protected spam complaints. Each row includes a stable suppressionType, and the response echoes the applied sortBy/sortOrder. Sort by status to surface the suppressions you can actually remove. Start here when a customer reports missing email; use get_recipient_suppression for one exact address.

Inputs: page, sort, limit, order, +2 more. Returns: Structured content returned by the `list_recipient_suppressions` MCP tool.

list_segmentsA
Read-onlyIdempotent
Inspect

List every saved segment in the company with its ID and name. Use the IDs with get_segment_count, search_subscribers segmentId, or campaign targeting.

Inputs: companyId. Returns: Structured content returned by the `list_segments` MCP tool.

list_sender_profilesA
Read-onlyIdempotent
Inspect

List sender (From) profiles and reply-to profiles for the company, including which are the account defaults and whether each sender address has verified DNS plus a ready home transport. Use this to audit sending identity before scheduling, or to pick a valid senderProfileId/replyProfileId for create_campaign or update_campaign.

Inputs: companyId. Returns: Structured content returned by the `list_sender_profiles` MCP tool.

list_sequence_audience_enrollmentsA
Read-onlyIdempotent
Inspect

List recent audience enrollment runs for a sequence (newest first) with status queued/running/completed/cancelled/failed and counters estimatedCount, processedCount, enrolledCount, skippedCount. Use get_sequence_audience_enrollment to poll one run.

Inputs: sequenceId (required), limit, companyId. Returns: Structured content returned by the `list_sequence_audience_enrollments` MCP too…

list_sequence_email_variationsA
Read-onlyIdempotent
Inspect

Design variations of one email of a sequence: alternative versions to compare before choosing one, like the Emails view of the sequence editor. They never change the email until use_sequence_email_variation. Lists the email's variations oldest first with status (generating, ready, failed), label (V1, V2, ...), name, summary, blocks, emailTheme and fontFamily (its own look, or null for the email's), and inUse (the email has exactly this content). In MCP Apps clients it shows them side by side, rendered, with buttons to use one. Poll it after generate_sequence_email_variations until none is generating; one still generating after 10 minutes is reported as failed. render_email with sequenceId, nodeId and variationId renders one.

Inputs: emailId (required), sequenceId (required), companyId. Returns: Structured content returned by the `list_sequence_email_variations` MCP tool.

list_sequence_enrollmentsA
Read-onlyIdempotent
Inspect

List the individual contacts currently enrolled in a sequence, with the node each one is sitting on. Use this when get_sequence_stats gives you enrollmentCounts and you need the actual subscribers behind a number, such as everyone waiting at one step. Filter by currentNodeId (take the ID from get_sequence_stats enrollmentCounts.byCurrentNode or get_sequence nodes), status, subscriberId, or email, and page with limit/offset to export the full list. The response always echoes the sequence's single configured stopCondition, including matchConfig filters or comparisons. A stop condition does not cancel a waiting enrollment when its event arrives: it is re-evaluated when the enrollment next runs a step, so an enrollment parked on a delay keeps reporting waiting until that delay expires. Pass stopConditionMatch true to see whether each in-flight enrollment's stop condition matches right now. This is a non-atomic snapshot: a step already past its stop check may still finish. Each enrollment also reports enteredVia - the list, tag, segment, event, inactivity check, or frequency check that enrolled it - which is how you tell apart contacts entering a sequence whose trigger covers several lists or tags. entryContext adds the event id, property keys (never values), and trigger type. branchDecisions records the bounded retained if/else (or random split) verdicts, including the compared field name and a redacted value summary (missing/empty/nonempty/equals_expected); branchDecisionCount and branchDecisionsTruncated tell you when older verdicts were omitted. For the ClickHouse graph walk of one completed token, use get_sequence_enrollment. Live sequence tests do not create enrollments; they send isolated test emails and record activity on the sequence test run instead.

Inputs: sequenceId (required), sort, email, limit, +6 more. Returns: Structured content returned by the `list_sequence_enrollments` MCP tool.

list_sequence_eventsA
Read-onlyIdempotent
Inspect

List paginated raw email events for every email step in a sequence, or for one step via automationNodeId. Defaults to deliveries; use eventType or eventTypes to include opens, clicks, bounces, complaints, unsubscribes, sends, or delivery delays. This is the per-recipient event stream - do not page it to count sends. Per-step and per-sequence totals already exist as get_sequence_stats steps[], and list_email_metrics gives the same per-step totals across many sequences at once.

Inputs: sequenceId (required), end, page, limit, +7 more. Returns: Structured content returned by the `list_sequence_events` MCP tool.

list_sequence_goalsA
Read-onlyIdempotent
Inspect

List persisted conversion goals attached to one sequence in the dashboard.

Inputs: sequenceId (required), companyId. Returns: Structured content returned by the `list_sequence_goals` MCP tool.

list_sequencesA
Read-onlyIdempotent
Inspect

List email sequences (automations) with each one's ID, name, status, effectiveStatus and emailCount, plus a pagination window. Read effectiveStatus (draft, live, enrollment_paused, paused, archived) to know whether a sequence is running: status alone reads active even when new enrollments are paused, and the legacy triggerConfig.active flag is not used by the runtime.

Inputs: limit, labels, offset, search, +2 more. Returns: Structured content returned by the `list_sequences` MCP tool.

list_sequence_templatesA
Read-onlyIdempotent
Inspect

List the dashboard's ready-made sequence templates: lifecycle emails for SaaS, ecommerce, content and offline businesses, and push-first journeys for mobile apps (trial to paid, billing issue recovery, cancellation save, paywall viewed but not converted, annual renewal reminder, expired win-back, lapsed users, new install onboarding). Each template lists its trigger event, continue condition, channels (push, in_app, email), channelStrategy (push_first_email_fallback means contacts reachable by push get push and in-app, everyone else gets email), quiet hours, frequency cap, attribution goal, required integration and steps. By default the list is filtered to the company's category (websiteType from get_company) with templates built for it first. Create one with create_sequence_from_template.

Inputs: companyId, websiteType. Returns: Structured content returned by the `list_sequence_templates` MCP tool.

list_subscriber_attributesA
Read-onlyIdempotent
Inspect

List the custom attribute names in use across the account, each with its value type (string, number, or boolean), whether it holds a list (isArray), an example value, and how many of the sampled recent contacts carry it. Call this before add_subscriber or update_subscriber to reuse existing names and match their types, e.g. send a zip code as the string "02134" rather than a number. Names only older contacts carry are included with sampledContacts 0. mixedTypes is true when contacts hold different types for a key; valueType is then string. Always send values with leading zeros as strings, whatever valueType says.

Inputs: companyId, includeNested. Returns: Structured content returned by the `list_subscriber_attributes` MCP tool.

list_subscriber_notesB
Read-onlyIdempotent
Inspect

List internal notes for a subscriber. Provide email or externalId to identify the subscriber.

Inputs: email, companyId, externalId. Returns: Structured content returned by the `list_subscriber_notes` MCP tool.

list_subscriber_operationsA
Read-onlyIdempotent
Inspect

List the company's 20 most recent background tagging operations, including progress and failures.

Inputs: companyId. Returns: Structured content returned by the `list_subscriber_operations` MCP tool.

list_tagsA
Read-onlyIdempotent
Inspect

List every tag defined in the company, with each tag's ID, normalized name and color. Use it to reuse existing tag names before tagging contacts, or to find a tagId.

Inputs: companyId. Returns: Structured content returned by the `list_tags` MCP tool.

list_team_membersA
Read-onlyIdempotent
Inspect

List team members for the company, including the owner, members with their roles, and pending or expired invitations.

Inputs: companyId. Returns: Structured content returned by the `list_team_members` MCP tool.

list_templatesA
Read-onlyIdempotent
Inspect

List the company's email bodies newest first, including per-locale localization sync status and each body's emailPreset Style > Format (branded or minimal; null for standalone raw HTML). Results include standalone templates plus the bodies behind campaigns and transactional emails. Returns 50 per call by default (100 max); page with offset while pagination.hasMore is true, and read pagination.total for the full count. You can also pass a campaign's emailId to get_template to fetch one body directly. Bodies are kept when their campaign or transactional email is deleted.

Inputs: label, limit, offset, companyId, +1 more. Returns: Structured content returned by the `list_templates` MCP tool.

list_transactional_emailsA
Read-onlyIdempotent
Inspect

List transactional email templates with subjects, delivery metrics, API slugs, and dashboard URLs. Each item also carries emailPreset, the per-email Style > Format (branded or minimal, null for a standalone raw HTML email), so a chrome drift check across templates does not need one get_transactional_email call each. managedBy is code for emails created by send_email with trackAs: their content is a snapshot of recent sends and they cannot be sent by templateId. Search by name, slug, or email title; filter active state; and sort by sends, opens, open rate, clicks, or CTR.

Inputs: sort, order, labels, search, +3 more. Returns: Structured content returned by the `list_transactional_emails` MCP tool.

list_warehouse_connectionsA
Read-onlyIdempotent
Inspect

List warehouse connections (Snowflake, BigQuery, Redshift, Postgres) with status, last test and number of syncs. Credentials are never returned.

Inputs: companyId. Returns: Structured content returned by the `list_warehouse_connections` MCP tool.

list_warehouse_sync_runsA
Read-onlyIdempotent
Inspect

List recent sync runs (last 30 days) with rows read, synced, unchanged, skipped and failed, sample row problems, and import progress.

Inputs: syncId (required), limit, companyId. Returns: Structured content returned by the `list_warehouse_sync_runs` MCP tool.

list_warehouse_syncsB
Read-onlyIdempotent
Inspect

List warehouse syncs with schedule, status, cursor position and the latest run, including progress of the subscriber imports it queued.

Inputs: companyId, connectionId. Returns: Structured content returned by the `list_warehouse_syncs` MCP tool.

list_watched_brand_emailsA
Read-onlyIdempotent
Inspect

Read emails the watched brands sent, newest first, a page at a time: subject, type, subtype, sentAt, collectedAt, brand, url and a breakdown (analysis, null until analyzed). Pass domain for one brand and since for emails sent at or after a time (for example the start of this week). Emails arrive a few hours after they are sent, so when polling set since about a day before the last check and skip ids already seen. Pass nextCursor back as cursor for older emails. Each url also works as the url of create_template_from_example to remix it. Requires templates:read.

Inputs: limit, since, cursor, domain, +1 more. Returns: Structured content returned by the `list_watched_brand_emails` MCP tool.

list_watched_brandsA
Read-onlyIdempotent
Inspect

List the brands (usually competitors) this company watches, newest watch first. Each has a status: available (its emails are in the gallery; emailCount and latestEmailAt say how many and how recent), requested (not in the gallery yet), collecting (added, emails on the way) or declined (with declineReason). Use list_watched_brand_emails to read what they sent. Requires templates:read.

Inputs: companyId. Returns: Structured content returned by the `list_watched_brands` MCP tool.

list_webhook_deliveriesA
Read-onlyIdempotent
Inspect

List recent delivery attempts for an outbound webhook endpoint, including status and response codes.

Inputs: webhookId (required), limit, companyId. Returns: Structured content returned by the `list_webhook_deliveries` MCP tool.

list_webhooksB
Read-onlyIdempotent
Inspect

List outbound webhook endpoints and their subscribed event types.

Inputs: companyId. Returns: Structured content returned by the `list_webhooks` MCP tool.

list_websitesB
Read-onlyIdempotent
Inspect

List configured sending domains with separate DNS verification, sending readiness, and SPF, DKIM, and MAIL FROM status.

Inputs: label, companyId. Returns: Structured content returned by the `list_websites` MCP tool.

list_web_tracking_keysA
Read-onlyIdempotent
Inspect

List the publishable keys that let a non-Shopify website send on-site events (product views, cart activity, collection views, search, and page views reported with sequenzy.page()) into this workspace. Whether browse abandonment, cart recovery, or any product-view trigger can work on a custom site depends on an installed key: without one those events never arrive, the sequences built on them never fire, and nothing reports an error anywhere. Each key returns allowedOrigins, allowedAppIds (iOS bundle IDs and Android package names for the mobile SDKs), unrestricted, lastUsedAt, and a paste-ready installSnippet. A key with lastUsedAt: null has not successfully authenticated an event yet; it may be undeployed, have no instrumented traffic, or be sending requests rejected by its origin or app ID allowlist. Shopify stores do not use these keys; they use the storefront pixel, which get_integration_pixel reports.

Inputs: companyId. Returns: Structured content returned by the `list_web_tracking_keys` MCP tool.

mark_conversation_readB
Destructive
Inspect

Mark all unread inbound messages in a conversation as read.

Inputs: conversationId (required), companyId. Returns: Structured content returned by the `mark_conversation_read` MCP tool.

mark_conversation_unreadA
Destructive
Inspect

Mark a conversation unread again, for example to leave it for a teammate. Its latest received message becomes unread.

Inputs: conversationId (required), companyId. Returns: Structured content returned by the `mark_conversation_unread` MCP tool.

monitor_subscriber_importA
Read-onlyIdempotent
Inspect

Show a compact progress card for an existing subscriber import. Reads immediately, then polls get_subscriber_import every five seconds for up to five minutes while running. Refresh resumes monitoring. Requires explicit companyId and importId. Does not start or retry an import. Other clients receive the import data.

Inputs: importId (required), companyId (required). Returns: Structured content returned by the `monitor_subscriber_import` MCP tool.

move_sequence_enrollmentsA
Destructive
Inspect

Release a bounded batch of contacts off one sequence step and onto another, keeping their existing enrollment. Use this to let the next N contacts waiting on a delay continue early instead of cancelling and re-enrolling them, which discards the enrollment's entry event properties and stop-condition snapshots. Provide sequenceId and fromNodeId; targetNodeId defaults to the source step's only next step. Defaults to dryRun, so pass dryRun false to actually move. Moved contacts become active on the target step immediately, so this sends email as soon as the worker picks them up. limit defaults to 100 and is capped at 500 per call: while remainingCount is above zero, call again to release more. Unlike enroll_subscribers_in_sequence this still works while the sequence has new enrollment paused, because the contacts are already enrolled.

Inputs: fromNodeId (required), sequenceId (required), sort, tags, +7 more. Returns: Structured content returned by the `move_sequence_enrollments` MCP tool.

open_image_uploadA
Read-onlyIdempotent
Inspect

Open a compact image picker as a supporting workflow for email creation. Opening does not upload anything; the user chooses an image and explicitly submits it through upload_image_asset. Requires an explicit companyId. Clients without MCP Apps can use upload_image_asset directly.

Inputs: companyId (required). Returns: Structured content returned by the `open_image_upload` MCP tool.

open_sequenzySequences and campaignsA
Read-onlyIdempotent
Inspect

Open the Sequenzy workspace view: a company's sequences and recent campaigns, each opening as a flow diagram or rendered email in MCP Apps clients. Read-only. Without companyId it uses the selected company and offers a switcher. The open view has its own tools (get_view_state, reload_view and others); call reload_view after editing what the user is looking at. Other clients receive the lists as data.

Inputs: companyId. Returns: Structured content returned by the `open_sequenzy` MCP tool.

pause_campaignA
Destructive
Inspect

Pause a campaign that is currently sending. Only campaigns in sending status can be paused. Use resume_campaign to continue delivery later.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `pause_campaign` MCP tool.

pause_sequence_enrollmentsA
Destructive
Inspect

Stop new enrollments for an active sequence while current recipients continue through the sequence. This matches the dashboard 'Stop new enrollments' control and does not freeze current recipients.

Inputs: sequenceId (required), companyId. Returns: Structured content returned by the `pause_sequence_enrollments` MCP tool.

pause_sequence_subscribersA
Destructive
Inspect

Hold specific contacts on the sequence step they are on, without cancelling them. Use this when a contact's onboarding (or any sequence) must stop temporarily, for example while their account is blocked, and continue later from the same step with resume_sequence_subscribers. Nothing restarts or is skipped. A paused contact gets no further steps from this sequence, keeps its entry event properties and stop-condition snapshots, and cannot be enrolled in the same sequence again while paused; unsubscribes, bounces and cancel_sequence_enrollments still end it. A wait-for-event step does not react while paused; an event that arrived meanwhile is picked up on resume. Applies immediately (no dryRun). An enrollment whose current step a worker is running at that moment comes back with outcome in_progress: call again shortly. This is per contact: pause_sequence_enrollments instead stops new contacts entering the whole sequence. Provide sequenceId and subscriberIds, emails, or both (up to 500 combined).

Inputs: sequenceId (required), emails, reason, companyId, +1 more. Returns: Structured content returned by the `pause_sequence_subscribers` MCP tool.

preview_accounts_from_organization_idA
Read-onlyIdempotent
Inspect

Preview the biggest accounts create_accounts_from_organization_id would make, before anything is written. Each organization has externalId (its ID), name (from nameKey, otherwise from the work email domain most of its contacts share, null when neither exists), domain, contactCount and up to 3 sampleEmails. Read-only; always show this preview to the user and get confirmation before creating accounts.

Inputs: propertyKey (required), limit, source, nameKey, +1 more. Returns: Structured content returned by the `preview_accounts_from_organization_id` MCP…

preview_cart_itemsA
Read-onlyIdempotent
Inspect

Preview cart/order data without saving or sending. Returns explicit field-mapping suggestions, ambiguous numeric price candidates, visual preset settings, and previewItems for the selected scenario. Existing itemFields are preserved. Apply chosen suggestions/preset fields using update_sequence_node or template/campaign updates; render_email accepts the previewItems at your block source in variables. Scenario data is sample-only; use real to restore the supplied items. Price candidates have unknown units: confirm cents before mapping priceCents; set priceUnit to major for major-unit prices; omitted priceUnit preserves cents. No account data is read. Requires a valid API key; no additional scopes.

Inputs: items, scenario, priceUnit, itemFields. Returns: Structured content returned by the `preview_cart_items` MCP tool.

preview_default_email_componentA
Read-onlyIdempotent
Inspect

Preview a proposed default footer without saving or sending. Provide the proposed blocks and explicit application scopes. Returns affected counts, every affected/skipped email and a token for set_default_email_component. The application scopes select which categories to update: sequences, draft/scheduled campaigns, transactional templates, reusable templates, or future emails only. Customized footers are preserved unless explicitly included. Set renderPreview to get footerHtml and before/after HTML samples, one per selected category; open or save that HTML and use a browser to inspect the visual result. Use sample with an affected id/kind to render a particular email version. Previews are layout-only, without recipient personalization. A stale apply returns conflict; preview again instead of silently retrying with a new token.

Inputs: slot (required), blocks (required), application (required), name, +4 more. Returns: Structured content returned by the `preview_default_email_component` MCP tool.

preview_sequenceA
Read-onlyIdempotent
Inspect

Show an interactive visual preview of a saved sequence in clients that support MCP Apps. Displays its real nodes, connections, delays and branches; click an email step to preview its saved rendered email, including available A/B variants, at desktop or mobile width. Read-only: does not activate, enroll or send. Requires an explicit companyId to keep step previews pinned to the same company. Other clients receive the sequence data; use render_email for individual step HTML.

Inputs: companyId (required), sequenceId (required). Returns: Structured content returned by the `preview_sequence` MCP tool.

preview_sequence_from_exampleAInspect

Preview the first 3 emails of a public Sequenzy email gallery sequence written for this company, without creating a sequence or email (a company's first AI generation saves its inferred email design direction, like generate_email). Each email keeps the example's layout with every word rewritten; returns subject, previewText, HTML and the original day for each, plus how many emails were left out. Pass website to write it for another site's brand instead. Requires sequences:write. Takes 10-30 seconds. Call create_sequence_from_example to create the draft sequence with every email. Accepts a gallery sequence URL or brand plus sequence slugs.

Inputs: url, brand, brief, website, +2 more. Returns: Structured content returned by the `preview_sequence_from_example` MCP tool.

preview_template_from_exampleAInspect

Preview how a public Sequenzy email gallery email would read for this company without saving any email (a company's first AI generation saves its inferred email design direction, like generate_email): the same rewrite as create_template_from_example (the example's layout, every word written for the company, its logo, brand color and links swapped in), returned as subject, previewText and HTML. Pass website to write it for another site's brand instead, such as a prospect or client; it is looked up like the gallery's public preview. Requires templates:write. Takes 5-20 seconds. Call create_template_from_example to keep it as a template. Accepts a gallery email URL or brand plus email slugs.

Inputs: url, brand, brief, email, +2 more. Returns: Structured content returned by the `preview_template_from_example` MCP tool.

preview_warehouse_queryAInspect

Run a SELECT query on a connection with a 20-row limit and return its columns and rows, so you can build a sync mapping. Only single SELECT/WITH statements are accepted.

Inputs: query (required), connectionId (required), companyId. Returns: Structured content returned by the `preview_warehouse_query` MCP tool.

publish_landing_pageA
Destructive
Inspect

Publish a landing page. Optional name, slug, or content updates are saved before publishing.

Inputs: landingPageId (required), name, slug, content, +1 more. Returns: Structured content returned by the `publish_landing_page` MCP tool.

push_sequence_definitionA
DestructiveIdempotent
Inspect

Create or update a sequence from a definition document keyed by your own step keys, as returned by get_sequence_definition. Steps are matched by key: new keys are added, changed steps are updated in place, and steps missing from the document are removed, with any contacts waiting on them moved to the step that follows (or completed when nothing follows). Connections replace the stored graph, which must keep one trigger, reach an end step and contain no cycles. Settings fields you omit keep their stored values. A push never turns a sequence on or off or pauses it: new sequences start as drafts with managedBy code, which makes their steps read-only in the dashboard while on/off, pause and test sends stay available. Use dryRun true to see the changes (sequence fields, added/changed/removed steps with waiting contact counts, connection changes) without saving. Changing an active sequence needs confirmLiveChange true. A/B test steps keep their stored settings and cannot be created or removed here; inbound webhook triggers keep their event name. The dashboard lock does not cover API/MCP writes: changes made with update_sequence are replaced by the next push. To adopt an existing sequence that has no key, pull it with sequenceId, set key, and push.

Inputs: key (required), definition (required), dryRun, companyId, +1 more. Returns: Structured content returned by the `push_sequence_definition` MCP tool.

realign_sequence_enrollmentsA
Destructive
Inspect

Pull waiting enrollments forward to the start of the sequence's sending window on the day they are already scheduled for. Use this after changing sendingWindow (or a wait-until-weekday step) on a live sequence: node and sequence updates deliberately keep existing wait timestamps, so contacts already parked on an email-bound delay keep resuming at whatever minute their delay landed on, and a narrowed window silently defers them to the NEXT allowed day. Non-email actions are never advanced by the sequence sending window. Realignment never cancels, re-enrolls, or reschedules onto a different local day, and never pushes a contact later - a wait only ever moves earlier within the day it already has, and never earlier than now. Defaults to dryRun. Passing dryRun false queues a background apply and returns jobId; call get_sequence_enrollment_realignment until it completes. Each completed job is capped: when result.hasMore is true, queue another apply with result.nextCursor as cursor.

Inputs: sequenceId (required), cursor, dryRun, nodeIds, +2 more. Returns: Structured content returned by the `realign_sequence_enrollments` MCP tool.

record_in_app_eventA
Destructive
Inspect

Record that the app displayed, clicked, dismissed or read an in-app item. Repeats change nothing except clickCount. Clicks, dismissals and reads also count as a display. Messages leave the open feed once displayed, clicked or dismissed; cards once dismissed.

Inputs: type (required), messageId (required), buttonId, companyId, +1 more. Returns: Structured content returned by the `record_in_app_event` MCP tool.

register_push_deviceA
Destructive
Inspect

Register (or refresh) a push device for a contact, the way an app backend would after the app receives its token. Re-registering a token reactivates it and moves it to the given contact. Unknown emails become contacts quietly (no lists, no contact_added sequences).

Inputs: token (required), platform (required), keys, email, +8 more. Returns: Structured content returned by the `register_push_device` MCP tool.

release_sms_numberA
Destructive
Inspect

Release an SMS number: hand it back to the carrier and mark it released. This is IRREVERSIBLE - the number cannot be recovered afterward, any campaign/sequence still explicitly set to send from it will SKIP its SMS sends until repointed at another number, and it stops counting toward the workspace's number limit (freeing a slot for a new purchase). Use get_sms_settings to find the number ID. Requires workspace-management permission.

Inputs: numberId (required), companyId. Returns: Structured content returned by the `release_sms_number` MCP tool.

remove_account_memberA
Destructive
Inspect

Remove a contact from a customer organization. The contact is kept; its organization.* attributes are cleared or replaced by another organization it belongs to.

Inputs: externalId (required), email, companyId, subscriberExternalId. Returns: Structured content returned by the `remove_account_member` MCP tool.

remove_apns_credentialsA
Destructive
Inspect

Remove APNs credentials. iOS devices stop receiving push until a key is saved again; registered devices are kept.

Inputs: companyId. Returns: Structured content returned by the `remove_apns_credentials` MCP tool.

remove_fcm_credentialsA
Destructive
Inspect

Remove Firebase credentials. Android devices stop receiving push until a key is uploaded again; registered devices are kept.

Inputs: companyId. Returns: Structured content returned by the `remove_fcm_credentials` MCP tool.

remove_landing_page_domainA
Destructive
Inspect

Remove the dedicated custom domain from one landing page. The page keeps its workspace and Sequenzy fallback URLs.

Inputs: landingPageId (required), companyId. Returns: Structured content returned by the `remove_landing_page_domain` MCP tool.

remove_product_fileB
Destructive
Inspect

Remove the attached distributable file from a product.

Inputs: productId (required), companyId. Returns: Structured content returned by the `remove_product_file` MCP tool.

remove_push_deviceA
Destructive
Inspect

Unsubscribe a push device and unlink it from its contact so it stops receiving push. A browser or app that still allows notifications can register again (browsers come back unlinked).

Inputs: deviceId (required), companyId. Returns: Structured content returned by the `remove_push_device` MCP tool.

remove_receiving_domainA
Destructive
Inspect

Destructive: remove a receiving domain. All mail to it stops, including replies to emails already sent with reply addresses on it, and a branded inbox address on it is cleared. Confirm with the user first. Owner or admin only.

Inputs: domain (required), companyId. Returns: Structured content returned by the `remove_receiving_domain` MCP tool.

remove_recipient_suppressionA
Destructive
Inspect

Remove a workspace-scoped soft-bounce escalation for an exact recipient associated with the company, then reactivate bounced company subscribers. Global invalid-recipient, workspace hard-bounce, complaint, and unsubscribe suppressions are protected.

Inputs: email (required), region, companyId. Returns: Structured content returned by the `remove_recipient_suppression` MCP tool.

remove_subscriberA
Destructive
Inspect

Unsubscribe a subscriber while preserving the record and suppression history: the contact is suppressed from all marketing, list memberships are deactivated and active sequence enrollments are cancelled. With hardDelete true the contact is permanently deleted and its history erased, which cannot be undone. Identify the contact by email or externalId.

Inputs: email, companyId, externalId, hardDelete. Returns: Structured content returned by the `remove_subscriber` MCP tool.

remove_subscribers_from_listA
Destructive
Inspect

Remove subscribers from a list by email address. Maximum 500 emails per call. Subscribers stay in the account; only the list membership is removed. Returns the removed count plus a notFound array of emails that did not match a subscriber.

Inputs: emails (required), listId (required), companyId. Returns: Structured content returned by the `remove_subscribers_from_list` MCP tool.

remove_tracking_domainA
Destructive
Inspect

Remove the company tracking domain. New emails use the shared Sequenzy tracking domain, and links and images in emails already sent through the removed domain stop working. Confirm with the user first.

Inputs: companyId. Returns: Structured content returned by the `remove_tracking_domain` MCP tool.

render_emailA
Read-onlyIdempotent
Inspect

Show an interactive desktop/mobile email preview in MCP Apps clients, and render a campaign, sequence email step, or template to the exact email-safe HTML that would be sent, for embedding a visual preview in an external builder or dashboard, or for checking merge tags before anyone is enrolled. Pass exactly one target: campaignId, sequenceId plus nodeId, or templateId. For a sequence step whose nodeType is action_ab_test, also pass variantId from get_sequence.sequence.emails[].abTest.variants - that step has no email of its own and copy lives on the variants. Without a subscriber the email renders for a sample contact, so contact-specific merge tags resolve to empty values. Check unresolvedMergeTags in the response to tell an unrecognized tag apart from one that is merely blank for this contact - both render as an empty string, so the HTML alone cannot distinguish them. An unrecognized name is reported there even when a default filter supplied text in its place, because that fallback then reaches every recipient while the HTML looks perfectly personalized. Only names this render could check are called unknown. Nothing is checkable without the contact's attributes, because a bare {{plan}} reads the same attribute map as {{subscriber.plan}}, so pass subscriberId (or an inline subscriber with customAttributes) to catch typos at all. On top of that, {{event.}} needs sample event properties in variables, since a real send fills those from the enrolling event, and {{recommendedProducts.}} is only checkable when a stored subscriberId returns recommendations. Rendering a transactional email is checkable only when variables is passed, since its tags come from the variables of each send call and nothing marks them as such. An optional attribute this contact never had set is kept out of unknown by checking the names other contacts in the account carry, which needs the subscribers:read scope. A sequence step downstream of a create_discount step renders {{discount.}} with that step's real terms and a clearly fake sample code; when the step is reachable by paths that do not all run the same discount step, or when a template is rendered on its own, {{discount.}} is reported as no_value rather than as a typo. Conditional blocks are the other half of a preview: a condition on stored subscriber state (tag, segment, list, status, event, purchases, engagement) is evaluated per recipient at send time, so this render can only evaluate it for a stored subscriberId - or, for a tag condition, an inline subscriber that states tags. Anything it cannot evaluate renders as false, which is indistinguishable in the HTML from a condition that is genuinely false, so check unevaluatedConditions before treating a preview as proof of which branch a recipient gets. Links stay clean unless tracking is true. Per-send click redirects and the open pixel are added at send time against a real email send record, so they never appear here.

Inputs: locale, nodeId, tracking, companyId, +8 more. Returns: Structured content returned by the `render_email` MCP tool.

render_landing_pageA
Read-onlyIdempotent
Inspect

Render a visitor-facing preview of a landing page without publishing it. Unlike get_landing_page, which returns builder JSON, this returns previewUrl: a signed, unlisted URL that shows the page with the same layout, theme, form, and #form button anchors visitors will see. Drafts keep publicUrl and appPublicUrl null until publish_landing_page; open previewUrl to check copy and layout on a draft instead of putting unreviewed content on the public domain. The preview is not indexed. Signup forms on a draft preview do not collect contacts. This is read-only and never publishes, unpublishes, or changes the page.

Inputs: landingPageId (required), companyId. Returns: Structured content returned by the `render_landing_page` MCP tool.

replay_webhook_deliveryB
Destructive
Inspect

Replay a previous webhook delivery, re-sending the same event payload to the endpoint.

Inputs: webhookId (required), deliveryId (required), companyId. Returns: Structured content returned by the `replay_webhook_delivery` MCP tool.

reply_to_conversationA
Destructive
Inspect

Send a reply in a conversation, or add an internal note. type 'outbound' (default) emails the subscriber and requires bodyText or bodyHtml; type 'note' adds a private team-only note. When the conversation has a recipientAddress (the inbox address it was sent to), list the sender profiles first and, if one's email equals that address, reply from it with senderProfileId. Replying to a closed conversation reopens it. Each successful outbound call sends another email, so after a timeout check the conversation with get_conversation before retrying. Returns the updated conversation and the message that was added.

Inputs: conversationId (required), type, subject, bodyHtml, +4 more. Returns: Structured content returned by the `reply_to_conversation` MCP tool.

request_api_key_handoffA
Read-onlyIdempotent
Inspect

Prepare an owner-confirmed handoff link for creating or rotating an API key. Intended for when key management fails because the active key is missing api_keys:manage; that scope fails closed on purpose, and this handoff is the supported path. Returns a URL that opens the dashboard's create-key form with the requested name and permissions already filled in. This tool creates nothing and never returns a key: the workspace owner opens the URL, reviews the form, clicks Create, and copies the new key from the browser. To rotate, pass replaceApiKeyId (or the literal string 'current' for the key you are authenticated with) and the dashboard offers to revoke the predecessor after the replacement is created. Requires only account:read.

Inputs: name, preset, scopes, companyId, +1 more. Returns: Structured content returned by the `request_api_key_handoff` MCP tool.

resend_campaign_to_non_openersAInspect

Create a draft that resends a sent campaign to everyone in the same audience who didn't open it. Copies the campaign email and reuses the original audience with a 'didn't open this campaign' rule added. Only available 6 hours after the campaign finishes sending, and never for imported already-sent campaigns (Sequenzy has no opens for a send it did not deliver). The draft must be scheduled or sent separately. Returns the new draft and an estimate of how many subscribers haven't opened the original. Every audience format preserves hard opener exclusions, including earlier campaigns when resending a resend; manual additions cannot override them. Audience membership is live, so new members can qualify. Recreate older drafts missing excludedCampaignOpenerIds from the original campaign and review before scheduling.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `resend_campaign_to_non_openers` MCP tool.

restart_ab_testB
Destructive
Inspect

Run another sequence A/B test after a winner is selected. By default the winner becomes the new control; pass sourceVariantId to use another variant as the control email.

Inputs: abTestId (required), testType, companyId, variantCount, +2 more. Returns: Structured content returned by the `restart_ab_test` MCP tool.

restore_campaign_variationAInspect

Bring back a discarded campaign variation with its label; its branches move back under it.

Inputs: campaignId (required), variationId (required), companyId. Returns: Structured content returned by the `restore_campaign_variation` MCP tool.

resume_ab_testA
Destructive
Inspect

Resume a sequence A/B test (nodeType action_ab_test) that already has a winner, for example one picked automatically before the user was sure. Clears the winner so contacts reaching the step are split across the variants again, keeps the results collected so far, and turns off automatic selection for this test: it keeps splitting until a winner is selected with select_ab_test_winner. Pass confirmLiveChange when the sequence is active.

Inputs: abTestId (required), companyId, confirmLiveChange. Returns: Structured content returned by the `resume_ab_test` MCP tool.

resume_campaignA
Destructive
Inspect

Resume a paused campaign: delivery starts again right away for recipients who have not been sent it yet; recipients already reached are not sent it again. Only campaigns in paused status can be resumed. Optionally spread the remaining delivery over a number of hours. Returns the campaign.

Inputs: campaignId (required), companyId, spreadOverHours. Returns: Structured content returned by the `resume_campaign` MCP tool.

resume_sendingA
Destructive
Inspect

Request that paused company-level sending be restored after fixing the cause. This is the supported remediation path for an account paused by the permanent-bounce rate limit - it is not a bypass and it never removes suppressions.

Intended for after the bad source (import, form, or integration) is actually fixed while permanent bounces remain suppressed. get_sending_status reports the current gate: for a paused workspace, resume only restores sending when selfResume.canSelfResume is true, which requires a hard-bounce pause reason, a cleared automated sender-health review, and no admin block. A workspace that is already active succeeds as a no-op with resumed: false; any other blocked state needs a support review, and the error names which one.

listSanitizationConfirmed: true is required and represents the user's confirmation that the remediation is done; it is recorded on the account's audit trail as their statement that the list is clean. On success, sending is restored, the bounce watermark resets so the rate is recalculated from later sends, and the service attempts to requeue paused campaigns plus due sequence steps. The response message contains support guidance if part of that queue handoff is temporarily unavailable.

Requires the companies:manage scope and owner or admin access to the company.

Inputs: listSanitizationConfirmed (required), companyId. Returns: Structured content returned by the `resume_sending` MCP tool.

resume_sequence_enrollmentsA
Destructive
Inspect

Resume new enrollments for an active sequence whose enrollment gate was paused. Use enable_sequence instead for a fully disabled/frozen sequence.

Inputs: sequenceId (required), companyId. Returns: Structured content returned by the `resume_sequence_enrollments` MCP tool.

resume_sequence_subscribersA
Destructive
Inspect

Continue contacts paused with pause_sequence_subscribers from the step they were paused on, with the status they had. Waits keep their original wall-clock time, like a whole-sequence pause: a wait that ran out while paused continues right away (so the next email can send as soon as a worker picks it up), and one that has not still ends when it would have. Contacts that are not paused are reported with outcome not_paused and left alone. When the sequence itself is disabled, sequenceRunning is false and resumed contacts continue once it is enabled. Provide sequenceId and subscriberIds, emails, or both (up to 500 combined).

Inputs: sequenceId (required), emails, companyId, subscriberIds. Returns: Structured content returned by the `resume_sequence_subscribers` MCP tool.

revoke_api_keyA
Destructive
Inspect

Permanently revoke a company-scoped API key by ID. The response contains non-secret metadata only. Call list_api_keys first and compare the ID, name, prefix, and isCurrent flag because revoking a key cannot be undone and may invalidate the active credential.

Inputs: apiKeyId (required), companyId (required). Returns: Structured content returned by the `revoke_api_key` MCP tool.

rotate_sequence_inbound_webhook_secretA
Destructive
Inspect

Rotate the inbound webhook secret and return a new URL. The previous URL stops working immediately.

Inputs: sequenceId (required), companyId. Returns: Structured content returned by the `rotate_sequence_inbound_webhook_secret` MCP…

run_account_health_checkA
Destructive
Inspect

Queue an account health check now and return the run. If a check is already queued or running it is returned with alreadyInProgress true instead. Manual checks are limited to one every 10 minutes and wait a day after a check that left findings open (both 429 RATE_LIMITED with retryAfterSeconds), need more than 1,000 active subscribers and an email sent in the last 14 days (409 NOT_ELIGIBLE), and never send the report email. The check usually finishes within a minute; poll get_account_health until runInProgress is false. Requires sequences:write.

Inputs: companyId. Returns: Structured content returned by the `run_account_health_check` MCP tool.

run_data_exportA
Destructive
Inspect

Start an export now instead of waiting for the schedule. Poll list_data_export_runs or get_data_export for progress. Paused exports must be resumed first.

Inputs: dataExportId (required), companyId. Returns: Structured content returned by the `run_data_export` MCP tool.

run_warehouse_syncA
Destructive
Inspect

Run a sync now. With fullResync, the run forgets which rows were sent and sends every row again (use after changing data outside the cursor). Poll list_warehouse_sync_runs for progress.

Inputs: syncId (required), companyId, fullResync. Returns: Structured content returned by the `run_warehouse_sync` MCP tool.

save_email_ai_styleA
Destructive
Inspect

Save an email's appearance as the company default for future AI generation. Captures fonts, colors, spacing and block treatments, plus detected layout habits (for example dotted dividers around every button) and optional notes, without copying its content or modifying existing emails. Requires emails:write and access to the source email. Replaces only expectedStyleId; get and review the current style before replacing. All detected habits are kept unless layoutRuleIds narrows them; review style.layout.rules in the response and re-save with a subset if needed. Plain-text choices and explicit style requests take precedence during generation.

Inputs: emailId (required), expectedStyleId (required), notes, canvas, +2 more. Returns: Structured content returned by the `save_email_ai_style` MCP tool.

schedule_campaignA
Destructive
Inspect

Schedule a draft or already scheduled campaign as a one-off send or on a repeating weekly/monthly cadence via recurringInterval. The campaign must have a non-empty subject, at least one content block, and at least one audience include rule or an explicit selected contact. Use recurringInterval for newsletters that go out on a fixed schedule instead of creating one campaign per issue. Send Time Optimization (sendTimeOptimization) delivers each recipient at their predicted best hour within sendTimeWindowHours of scheduledAt (default 12h, max 24); it is campaign-only and is not available on sequences. spreadOverHours takes precedence and turns STO off; sendInRecipientTimezone also turns it off. Returns dashboard edit and preview URLs; validation errors explain what must be fixed before retrying. Only draft or scheduled campaigns can be scheduled, so a repeat call replaces the schedule and cannot send the campaign twice. Check status in the result: waiting_approval means the campaign is held for safety review (new senders get an automated screen that can take up to about two minutes; flagged content waits for a person). That is a normal outcome, not an error: report it and poll get_campaign for scheduled or rejected (with rejectionComment) instead of scheduling again, which does not clear the hold.

Inputs: campaignId (required), scheduledAt (required), listIds, companyId, +8 more. Returns: Structured content returned by the `schedule_campaign` MCP tool.

search_subscribersA
Read-onlyIdempotent
Inspect

Search subscribers by free-text query, tags, list, segment, custom attribute, or opt-out date. Each subscriber carries unsubscribedAt, the date the contact opted out - use it rather than updatedAt, which any later tag or attribute write overwrites. If you omit limit, the tool fetches all pages and returns every match in one call - that is the fastest way to enumerate an audience. To walk a large audience in chunks instead, pass limit and then follow pagination.nextCursor (or pagination.nextOffset) until pagination.hasMore is false. Default searches are newest first; searches with attribute use stable subscriber-ID ascending order. Returns the matching subscriber records, the count returned, and pagination with total, hasMore, nextCursor and nextOffset.

Inputs: list, page, tags, limit, +13 more. Returns: Structured content returned by the `search_subscribers` MCP tool.

select_ab_test_winnerA
Destructive
Inspect

Select a winner for an A/B test. For a campaign A/B test that is currently testing, this queues the winning variant for the remaining audience and starts external email delivery. For a sequence A/B test (nodeType action_ab_test), this selects or changes the winner, including one picked automatically: everyone who reaches the step afterwards gets the new winner, and contacts who already got a variant keep it. Pass confirmLiveChange when the sequence is active.

Inputs: abTestId (required), variantId (required), companyId, confirmLiveChange. Returns: Structured content returned by the `select_ab_test_winner` MCP tool.

select_companyA
Destructive
Inspect

Select which company to operate on (for user-scoped API keys with access to multiple companies). Use get_account to see available companies. After selecting, all subsequent operations will use this company unless you pass a companyId override.

Inputs: companyId (required). Returns: Structured content returned by the `select_company` MCP tool.

send_emailA
Destructive
Inspect

Queue one email using either a saved transactional email API slug (templateId) or direct subject and html content. Always provide a stable idempotencyKey when an agent or workflow may retry, and reuse it for the same logical email; Sequenzy returns the original send for 14 days and rejects different content under the same key. Add trackAs to a direct send to track it under one code-managed transactional email for per-email stats. The default delivery policy is transactional: one shared email to up to 50 to addresses plus cc/bcc, so everyone sees the same recipient list instead of a separate copy (an address repeated across fields is kept only in the higher one: to, then cc, then bcc). Set emailType to marketing to add subscriber suppression, a marketing footer, and RFC 8058 one-click unsubscribe; marketing sends take exactly one to recipient and no cc or bcc. When the recipient matches a subscriber, saved first and last names fill omitted name variables; explicit variables take precedence. Without identity overrides, a template send keeps its saved From and Reply-To and a direct send uses the company defaults. To send as another verified brand, pass fromEmail (plus fromName if the address has several identities) and optional replyTo/replyToName, or senderProfileId/replyProfileId from list_sender_profiles; these look up existing identities and never create profiles. {{viewInBrowserUrl}} becomes a hosted copy URL. trackingSettings can turn click or open tracking off for this send only, and headers adds extra email headers such as your own one-click List-Unsubscribe on a transactional send. Returns a durable emailSendId, the accepted emailType, the deduplicated recipient lists, and ignoredHeaders when some headers were not applied; pass the ID to get_email_send for delivery status and failure details.

Inputs: to (required), cc, bcc, html, +17 more. Returns: Structured content returned by the `send_email` MCP tool.

send_in_app_campaignA
Destructive
Inspect

Launch an in-app campaign now, or schedule it with scheduledAt (future ISO 8601). While live, every contact in the audience sees the message the next time their app fetches its feed. Confirm with the user before calling.

Inputs: campaignId (required), companyId, scheduledAt. Returns: Structured content returned by the `send_in_app_campaign` MCP tool.

send_push_campaignA
Destructive
Inspect

Send a push campaign now, or schedule it with scheduledAt (future ISO 8601). Optionally deliver in each contact's local time (sendInRecipientTimezone + scheduledTimezone) or at each contact's optimal hour (sendTimeOptimization); omitted timing fields keep the draft's saved values. Delivers real notifications to every contact in the audience with an active device on a set-up platform. Confirm with the user before calling.

Inputs: campaignId (required), companyId, scheduledAt, scheduledTimezone, +3 more. Returns: Structured content returned by the `send_push_campaign` MCP tool.

send_sequence_test_emailA
Destructive
Inspect

Queue a real test send for one saved action_email step in a sequence. Call get_sequence first and pass the target sequence.emails entry's nodeId only when nodeType is action_email; action_ab_test steps are not supported by this tool - inspect variant copy on get_sequence.sequence.emails[].abTest.variants. Accepts 1-10 reviewer email addresses and returns one durable emailSendId per recipient for get_email_send delivery inspection. The sequence is not enabled and no subscribers are enrolled. Each successful call sends another set of test emails.

Inputs: nodeId (required), recipients (required), sequenceId (required), companyId, +1 more. Returns: Structured content returned by the `send_sequence_test_email` MCP tool.

send_test_emailA
Destructive
Inspect

Queue a campaign test email to a single address. Only that address receives it; the campaign is not scheduled or sent. Returns a durable emailSendId; pass it to get_email_send for delivery status and failure details. Each successful call queues another test email.

Inputs: to (required), campaignId (required), companyId. Returns: Structured content returned by the `send_test_email` MCP tool.

send_test_pushA
Destructive
Inspect

Send a real test push to one device (deviceId) or to every active device of a contact (email or subscriberId). Provide title and/or body. Limited to 200 per company per rolling 24 hours; excluded from stats.

Inputs: url, body, email, title, +6 more. Returns: Structured content returned by the `send_test_push` MCP tool.

send_test_smsA
Destructive
Inspect

Send a test SMS to a phone number. This delivers a real text message and consumes SMS credits from the workspace's existing balance based on destination, message segments, and media; it never purchases credits or changes the plan. Intended for user-requested test sends. Requires the SMS add-on with a verified number (see get_sms_settings). Limited to 100 test sends per company per rolling 24 hours; bypasses quiet hours; excluded from step stats. Each successful call sends another text, so after a timeout check with the user before retrying.

Inputs: to (required), text, blocks, companyId, +2 more. Returns: Structured content returned by the `send_test_sms` MCP tool.

set_apns_credentialsA
Destructive
Inspect

Connect iOS push by saving an APNs auth key (.p8). The key is encrypted at rest and never returned. Requires the integrations:manage scope and a role that can edit workspace settings (marketer keys cannot).

Inputs: keyId (required), teamId (required), bundleId (required), privateKey (required), +2 more. Returns: Structured content returned by the `set_apns_credentials` MCP tool.

set_default_email_componentA
Destructive
Inspect

Create or replace the company's default component for a slot. This is the supported way to change the footer on every email: sequence, campaign, and AI-generated emails built from blocks clone this component when they are built, instead of the generated default footer. Raw HTML emails are the exception - block chrome cannot be injected into raw HTML, so they keep their own markup and a generated unsubscribe footer is appended at send time unless the HTML contains {{unsubscribeUrl}}. Call get_default_email_component first and edit the blocks it returns, otherwise you replace the existing footer wholesale. A default footer always keeps its unsubscribe link enabled - transactional sends hide it at render time. Omitting application keeps existing emails unchanged. To apply to existing emails, call preview_default_email_component first, then pass the same application, blocks and metadata with its token as previewToken. This atomically saves the default and updates only the previewed eligible content. It does not send emails. Customized footers are preserved by default. Conflict means the preview is stale and must be reviewed again.

Inputs: slot (required), blocks (required), name, companyId, +3 more. Returns: Structured content returned by the `set_default_email_component` MCP tool.

set_fcm_credentialsA
Destructive
Inspect

Connect Android push by saving a Firebase service account key (the JSON file from Firebase project settings > Service accounts). Encrypted at rest and never returned.

Inputs: serviceAccount (required), companyId. Returns: Structured content returned by the `set_fcm_credentials` MCP tool.

set_frequency_capA
Destructive
Inspect

Set or change the company frequency cap: at most maxEmails marketing emails per contact in any windowHours. Applies from the next email step onward to sequences with frequencyCapEnabled (set it with create_sequence or update_sequence). Campaigns count toward the cap but always send. Transactional emails never count and are never skipped.

Inputs: maxEmails (required), windowHours (required), companyId. Returns: Structured content returned by the `set_frequency_cap` MCP tool.

set_integration_list_targetingA
DestructiveIdempotent
Inspect

Choose which lists the contacts a connected integration creates join. This is the tool for 'stop this integration adding people to my marketing lists' - set_integration_sync_enabled only pauses bulk backfills and leaves the provider's live webhook writing. Scope: this changes list membership only, and it takes effect on future provider writes. It does not stop contacts being created, does not stop their attributes syncing, does not stop sync-rule tags, and does not stop contact_added sequences using the default any_contact scope, which fire precisely because the contact joined no list. Explicit any_list and specific-list sequences require a matching membership and do not enroll a list-less contact. Nobody is ever removed from a list and nothing is applied retroactively. Provider behavior for existing contacts differs: Wix or Webflow submissions, Shopify customer updates, and Supabase resubscriptions can add an existing contact to the new target lists; Stripe applies targeting only when its webhook creates a subscriber. Webflow is deliberately fail-closed: null is rejected, so pass [] or explicit list IDs; form selection, field allowlists, required double opt-in, and sequence enrollment remain dashboard-only under Settings -> Integrations -> Webflow. With no selected forms, Webflow capture is off and no contacts are created. If the goal is to stop any_contact enrollments too, pair this tool with pause_sequence_enrollments on the affected sequences. Check get_integration first - ingestion reports the current targeting with list names, and availableActions says whether this provider honors set_list_targeting. Supported for Supabase, Stripe, Shopify, Wix, Webflow, and SparkLoop. Dodo Payments, PostHog, Polar, Paddle, and other providers without that action reject this tool; their live contacts follow defaultSubscriberListIds on get_company/update_company instead (null = every list, [] = none), which is workspace-wide. PostHog history imports are an exception and create contacts without list memberships. Idempotent: asking for the current state succeeds with changed: false. Requires an API key with the integrations:manage scope, which agent-safe keys deliberately do not carry - without it, report the dashboard path (Settings -> Integrations) instead of retrying.

Inputs: listIds (required), integrationId (required), companyId. Returns: Structured content returned by the `set_integration_list_targeting` MCP tool.

set_integration_sync_enabledA
DestructiveIdempotent
Inspect

Turn a supported integration's future bulk imports and backfills on or off. THIS DOES NOT STOP AN INTEGRATION CREATING CONTACTS: disabling sync only pauses full imports and backfills, while the provider's live webhook keeps writing every new signup or customer as it happens. To change where those contacts land, use set_integration_list_targeting; to stop them arriving at all, use disconnect_integration for Lemon Squeezy or SparkLoop, or disconnect from the dashboard for other providers. Check get_integration.availableActions first; providers without enable_sync or disable_sync are dashboard-managed. Disabling keeps the connection, credentials, and live webhook delivery active, and requires any in-flight sync to finish first. It does not disconnect the integration. Idempotent: setting the current state succeeds with changed: false. Requires an API key with the integrations:manage scope, which agent-safe keys deliberately do not carry - without it, report the dashboard path (Settings -> Integrations) instead of retrying.

Inputs: syncEnabled (required), integrationId (required), companyId. Returns: Structured content returned by the `set_integration_sync_enabled` MCP tool.

set_sequence_recurring_enrollmentA
DestructiveIdempotent
Inspect

Make a manual-trigger sequence recurring: re-enroll an audience every day, on chosen weekdays, or on chosen days of the month (1-31 and/or the last day) at a time in an IANA timezone, for end-of-month updates, balance reminders or daily sends that are not tied to an event. Each run is an audience enrollment run (source recurring, visible in list_sequence_audience_enrollments): contacts who finished an earlier run enter again, contacts still in the sequence are skipped, one_time sequences never re-enroll anyone, and unsubscribed or bounced contacts never join. Nothing is enrolled until the first scheduled time; occurrences while the sequence is paused, disabled or closed are skipped, and a run that cannot start within 6 hours is skipped. Days past the end of a shorter month run on its last day. Requires trigger manual and audienceAutoEnroll off. Saving replaces any existing schedule; pass remove true to delete it. Returns the stored schedule, a description and upcomingRuns so you can confirm it reads as intended.

Inputs: sequenceId (required), time, endsAt, remove, +9 more. Returns: Structured content returned by the `set_sequence_recurring_enrollment` MCP tool.

set_template_localizationA
Destructive
Inspect

Create or replace one caller-supplied localized variant of a template. The locale must be enabled for the company and cannot be its primary locale. Provide exactly one of html or blocks. By default, automatic translation on save replaces it when the original changes. Set keepEdits to protect it like a dashboard edit: it is marked as edited (editedAt) and becomes stale instead of being replaced.

Inputs: locale (required), subject (required), templateId (required), html, +4 more. Returns: Structured content returned by the `set_template_localization` MCP tool.

set_tracking_domainA
Destructive
Inspect

Set or change the company tracking domain: one hostname every sending domain uses for tracked links and opens, for example links.example.com. Any subdomain the user controls works; a bare root domain is rejected. Publish the returned trackingDomain.cnameRecord. It never blocks sending: until it verifies, links use the shared Sequenzy domain. Changing it keeps the previous hostname serving links in emails already sent while its old CNAME stays. Confirm the hostname with the user first.

Inputs: domain (required), companyId. Returns: Structured content returned by the `set_tracking_domain` MCP tool.

share_campaignA
Idempotent
Inspect

Create (or fetch) the campaign's public view-in-browser link. The hosted page renders an anonymized copy - sample contact, inert unsubscribe link, no open/click tracking - so the URL is safe to forward to anyone, unlike a recipient's personal browser copy. Idempotent: if a link is already active, the same URL is returned with created=false rather than rotating it, so previously shared copies keep working. get_campaign reports the current link as shareUrl (null when none). Revoke with unshare_campaign. Email campaigns only - SMS campaigns have no browser view.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `share_campaign` MCP tool.

share_templateA
Idempotent
Inspect

Create (or fetch) the public view-in-browser link for an individual email - a transactional email, a sequence email, or a standalone template. Accepts an email/template ID or a transactional email's ID or slug; for a sequence email, pass the step's emailId from get_sequence. The hosted page renders an anonymized copy - sample contact, inert unsubscribe link, no open/click tracking - so the URL is safe to forward to anyone. Idempotent: if a link is already active, the same URL is returned with created=false rather than rotating it, so previously shared copies keep working. get_template reports the current link as shareUrl (null when none). Revoke with unshare_template. Campaigns have their own campaign-level link that follows the A/B winning variant - use share_campaign for those.

Inputs: templateId (required), companyId. Returns: Structured content returned by the `share_template` MCP tool.

simulate_sequenceA
Read-onlyIdempotent
Inspect

Dry-run a sequence without sending mail or enrolling anyone. Requires sequences:read and subscribers:read because results include contact samples. Activation does not enroll existing matches unless audienceAutoEnroll is saved. Without a subscriber this reports who currently matches (existing list/tag/segment matches are not auto-enrolled) and activation readiness errors and warnings (for example, an email reading {{webhooks.KEY}} or {{ai.KEY}} that no earlier step saves). Frequency and inactivity current-match counts are unavailable because the hourly worker evaluates them. Pass subscriberId or email to also walk that stored contact's branch path - use this to check whether a specific contact would receive a given step. Call this before enable_sequence.

Inputs: sequenceId (required), email, limit, companyId, +1 more. Returns: Structured content returned by the `simulate_sequence` MCP tool.

start_live_activityA
Destructive
Inspect

Start a Live Activity remotely on the devices that registered a push-to-start token for activityType: iOS 17.2+ through APNs, and Android Live Updates through FCM on apps that observe the same type name with the Sequenzy Android SDK (promoted on Android 16, an ongoing notification before). Target one contact (email or subscriberId), or every contact in a segment, list or tag (exactly one of segmentId, listId, tag; up to 100,000 devices, needs campaigns:send), then update and end it with broadcast: true. Requires an alert. Returns tokenCount 0 without sending when no device can start it; contactCount and platforms count contacts and devices per platform. Repeating the call starts another copy.

Inputs: alert (required), activityId (required), activityType (required), contentState (required), +9 more. Returns: Structured content returned by the `start_live_activity` MCP tool.

start_push_importA
Destructive
Inspect

Start a draft push import, or resume a failed or stalled one from where it stopped. Runs in the background; poll get_push_import. One import runs per workspace at a time.

Inputs: importId (required), companyId. Returns: Structured content returned by the `start_push_import` MCP tool.

start_sequence_test_runA
Destructive
Inspect

Run real sequence actions for one active subscriber, including webhooks, tags, attributes and discounts. Emails are marked as tests. Requires sequences:activate and subscribers:read. Does not enable the sequence. Optional customVariables supplies trigger event properties, including nested objects and arrays, available as event.*. Use get_sequence_test_run to inspect progress. A failed run can have completed side effects; inspect before starting again. Ordinary failure retries are disabled. Stalled-job recovery can replay actions after worker loss.

Inputs: sequenceId (required), subscriberId (required), companyId, customVariables, +1 more. Returns: Structured content returned by the `start_sequence_test_run` MCP tool.

start_subscriber_operationA
Destructive
Inspect

Add tags to a whole filtered audience in the background. Returns a durable operation ID; poll get_subscriber_operation or list_subscriber_operations. Reuse requestKey after an uncertain response; changing inputs with the same key is rejected. Tagging needs subscribers:tag, new definitions need tags:write, and triggerAutomations needs automations:trigger. Existing synchronous bulk tag tools remain suitable for up to 500 explicit contacts.

Inputs: kind (required), tags (required), requestKey (required), audience, +2 more. Returns: Structured content returned by the `start_subscriber_operation` MCP tool.

stop_in_app_campaignA
Destructive
Inspect

Stop a scheduled or live in-app campaign. Nobody new gets it and it leaves every feed that still has it, including seen cards; stats are kept. Stopping is final (duplicate to run it again); stopping again succeeds.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `stop_in_app_campaign` MCP tool.

submit_account_health_feedbackA
Destructive
Inspect

Tell the Sequenzy team whether an account health insight (id from get_account_health) was useful to the user: rating useful or not_useful, with an optional comment on why. Use it when the user says a finding or suggestion helped or missed, in their words; do not rate on their behalf. It records the API key owner's own answer and changes nothing in the workspace (to hide a finding use update_account_health_insight). One answer per person per insight: submitting again replaces the rating and keeps the earlier comment unless comment is passed (null clears it). Works for insights of any status. 404 for an unknown insight. Requires analytics:read.

Inputs: rating (required), insightId (required), comment, companyId. Returns: Structured content returned by the `submit_account_health_feedback` MCP tool.

submit_feedbackA
Destructive
Inspect

Send product feedback about Sequenzy itself to the Sequenzy team, for use when the user asks to report feedback. The message is delivered to Sequenzy staff. A report needs only the reproduction details and resource IDs required to investigate; unrelated subscriber data, message content, credentials, raw API payloads, and debug data are not needed. This is not a channel for questions about the user's own account or data. Submitting feedback never changes account data.

Inputs: message (required), actual, context, category, +5 more. Returns: Structured content returned by the `submit_feedback` MCP tool.

sync_audience_nowA
Destructive
Inspect

Trigger an immediate upload of the segment's subscribers to its Meta custom audience, outside the regular schedule.

Inputs: syncId (required), companyId. Returns: Structured content returned by the `sync_audience_now` MCP tool.

sync_integrationA
Destructive
Inspect

Queue a manual re-sync for an integration: customers and revenue for a payment provider (Stripe, Polar, Paddle, Dodo, Lemon Squeezy, Creem, Chargebee, Whop), the user backfill for Supabase, or the event-history import for PostHog and Segment. Use this for Supabase before a campaign that depends on names or plan attributes - the live trigger only sends rows that change after it was installed, so existing users have no attributes until a backfill runs. The Supabase sync reads the project, schema, and table already configured for the integration and cannot be pointed at a different table; if none is configured yet it fails saying so. This is also the supported way to retry a failed PostHog or Segment history import: it restarts from the beginning using the stored credentials, and already-imported events dedupe, so a re-run cannot duplicate them. Returns immediately - poll get_integration to watch syncStatus and lastSyncAt, and list_integration_activity for per-row outcomes. Fails with a conflict if a sync is already queued or running; terminal BullMQ failures release history imports for retry. Providers whose backfill is not API-triggerable (Shopify products, Affonso affiliates) return a clear error naming the dashboard. Check availableActions on get_integration to see whether this is supported before calling.

Inputs: integrationId (required), companyId. Returns: Structured content returned by the `sync_integration` MCP tool.

sync_productsA
Destructive
Inspect

Queue a sync of the Stripe product catalog into the products list. Requires an active Stripe integration with bulk sync enabled. Pass integrationId when more than one Stripe account is connected; otherwise the most recently connected enabled account is used.

Inputs: companyId, integrationId. Returns: Structured content returned by the `sync_products` MCP tool.

sync_template_localizationsA
Destructive
Inspect

Queue AI translation for selected template locales. Omit locales to sync every enabled non-primary locale. This works even when automatic on-save localization is disabled. By default it also retranslates locales someone edited; set skipEdited to keep those and get them back in skippedLocales.

Inputs: templateId (required), locales, companyId, skipEdited. Returns: Structured content returned by the `sync_template_localizations` MCP tool.

test_data_exportA
Destructive
Inspect

Write a small test file to the data export's bucket to confirm the stored credentials still work. Returns a readable reason on failure.

Inputs: dataExportId (required), companyId. Returns: Structured content returned by the `test_data_export` MCP tool.

test_warehouse_connectionB
Destructive
Inspect

Run a test query with the stored credentials and record the result.

Inputs: connectionId (required), companyId. Returns: Structured content returned by the `test_warehouse_connection` MCP tool.

test_webhookA
Destructive
Inspect

Send a test event to an outbound webhook endpoint to verify it is reachable and signatures can be validated.

Inputs: webhookId (required), companyId. Returns: Structured content returned by the `test_webhook` MCP tool.

translate_missing_template_localizationsA
Destructive
Inspect

Queue AI translation, in one call, for every sequence email (including sequence A/B variants) and enabled transactional email that has no translation in a language yet or whose last translation failed. It also translates sequence push steps (not archived, not defined in code) missing a language. Translations someone edited, up-to-date ones and outdated ones are left alone; use sync_template_localizations on one template to retranslate it. Omit locales for every enabled non-primary locale. Adding a language in the dashboard already does this for that language. Translations run in the background; follow them with get_template_localization_coverage.

Inputs: locales, companyId. Returns: Structured content returned by the `translate_missing_template_localizations` M…

translate_push_campaignA
Destructive
Inspect

Translate a draft or scheduled push campaign's title and message with AI into the workspace's languages and save the versions. Contacts then get the version for their language attribute or device language. Versions a person wrote are kept unless overwrite is true. Returns the campaign plus translated, skipped and failed languages.

Inputs: campaignId (required), locales, companyId, overwrite. Returns: Structured content returned by the `translate_push_campaign` MCP tool.

translate_push_contentA
Read-onlyIdempotent
Inspect

Translate a push title and message with AI into the workspace's languages without saving anything. Use the returned localizations for a sequence push step (update_sequence_node changes.localizations, or localizations on a push step in create_sequence/insert_sequence_step) or a push campaign.

Inputs: body, title, locales, companyId, +2 more. Returns: Structured content returned by the `translate_push_content` MCP tool.

trigger_account_eventA
Destructive
Inspect

Record an event on a customer organization (for example trial_ending, plan_changed, seat_limit_reached) and deliver it as a contact event to the chosen recipients: owners (default; falls back to admins when there is no owner), admins (includes owners), all members, or none (timeline only). Each delivery runs sync rules and sequence triggers with event.organization.* properties (also available as event.account.*). To start a sequence once per organization rather than once per recipient, create it with enrollmentMode matching_field and enrollmentFieldPath organization.externalId. Pass eventId to make retries idempotent.

Inputs: event (required), externalId (required), eventId, companyId, +3 more. Returns: Structured content returned by the `trigger_account_event` MCP tool.

trigger_subscriber_eventA
Destructive
Inspect

Emit a custom event for one subscriber, exactly as an integration or the public API would. This is the supported way to exercise event triggers, matching-field idempotency, branch conditions, and stop conditions end to end without waiting for real traffic. The event is recorded, sync rules apply, and matching event_received sequences enroll. Without automations:trigger the call succeeds but starts no sequence (sequenceTriggersRan false, reason missing_scope). Creates the subscriber if they do not exist. Use trigger_subscriber_events for several events on the same contact.

Inputs: event (required), email, account, eventId, +7 more. Returns: Structured content returned by the `trigger_subscriber_event` MCP tool.

trigger_subscriber_eventsA
Destructive
Inspect

Emit several custom events for one subscriber in order, exactly as an integration would: each event is recorded, sync rules apply, and matching event_received sequences enroll. Creates the subscriber if they do not exist. Events are processed independently and sequentially, so a partial failure can still leave earlier events recorded; retry with the same eventIds. Returns the subscriber and the recorded events. Without automations:trigger the call succeeds but starts no sequence (sequenceTriggersRan false, reason missing_scope).

Inputs: events (required), email, lastName, companyId, +3 more. Returns: Structured content returned by the `trigger_subscriber_events` MCP tool.

unarchive_sequenceA
Destructive
Inspect

Restore an archived sequence as a disabled draft so it can be reviewed before activation.

Inputs: sequenceId (required), companyId. Returns: Structured content returned by the `unarchive_sequence` MCP tool.

unpublish_landing_pageA
Destructive
Inspect

Unpublish a landing page and return it to draft status. Optional name, slug, or content updates are saved first.

Inputs: landingPageId (required), name, slug, content, +1 more. Returns: Structured content returned by the `unpublish_landing_page` MCP tool.

unschedule_campaignA
Destructive
Inspect

Return a scheduled campaign to an editable draft. Removes its pending send and recurrence without permanently cancelling it, so it can be edited and scheduled again. Returns the campaign, now in draft status.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `unschedule_campaign` MCP tool.

unschedule_in_app_campaignB
Destructive
Inspect

Move a scheduled in-app campaign back to draft.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `unschedule_in_app_campaign` MCP tool.

unschedule_push_campaignA
Destructive
Inspect

Move a scheduled push campaign back to draft.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `unschedule_push_campaign` MCP tool.

unshare_campaignA
Destructive
Inspect

Revoke the campaign's public view-in-browser link. The shared URL returns 404 immediately, and sharing again later mints a different URL - previously distributed copies stay dead. Returns revoked=false if no link was active.

Inputs: campaignId (required), companyId. Returns: Structured content returned by the `unshare_campaign` MCP tool.

unshare_templateA
Destructive
Inspect

Revoke the email's public view-in-browser link. The shared URL returns 404 immediately, and sharing again later mints a different URL - previously distributed copies stay dead. Returns revoked=false if no link was active.

Inputs: templateId (required), companyId. Returns: Structured content returned by the `unshare_template` MCP tool.

unwatch_brandA
Destructive
Inspect

Stop watching a brand by its watch id (from list_watched_brands). This also withdraws the brand request with the same id. The brand stays in the gallery. Requires templates:write.

Inputs: id (required), companyId. Returns: Structured content returned by the `unwatch_brand` MCP tool.

update_ab_testA
Destructive
Inspect

Update A/B test settings. Campaign tests use testPercentage, testDurationMinutes, and winnerCriteria. During testing, duration is total minutes from the original start, or from when the last test email is due when delivery is spread (a past deadline selects immediately), and audience changes queue a resize that preserves committed sends. Read pendingSampleUpdate and progress using get_ab_test; retry the same percentage after failure or discard a failed request with cancelSampleUpdate. endTestNow ends a running campaign test early: the winner is picked by its criteria from the results so far and sent to the rest of the audience. The winning metric stays fixed once testing starts. Sequence tests use testType, winnerThreshold, winnerCriteria, and autoSelectWinner; changing live or already-used sequence settings requires confirmLiveChange. Provide at least one setting.

Inputs: abTestId (required), name, testType, companyId, +11 more. Returns: Structured content returned by the `update_ab_test` MCP tool.

update_ab_test_variantA
Destructive
Inspect

Update an A/B test variant, including the email body of a sequence step whose nodeType is action_ab_test - that content cannot be edited through update_sequence_node or update_template, and a change meant for the whole step has to be repeated on every variant. Take abTestId and variantId from get_sequence.sequence.emails[].abTest.variants (or get_ab_test). If this tool is not in the MCP tool list, enable it on the Sequenzy connector rather than writing through another email tool. Campaign variants are editable only in draft. Sequence variants can be edited after activity with confirmLiveChange, but earlier sends stay unchanged and combined results may no longer be accurate. Provide at least one of subject, previewText, html, or blocks. Use either html or blocks, not both.

Inputs: abTestId (required), variantId (required), html, blocks, +4 more. Returns: Structured content returned by the `update_ab_test_variant` MCP tool.

update_account_health_insightA
Destructive
Inspect

Act on one account health insight by id (from get_account_health): dismiss hides it for good, snooze hides it for snoozeDays (default 7, up to 90), resolve marks it fixed (it reopens if the next check still finds it), reopen brings back a snoozed or resolved one. Requires sequences:write.

Inputs: action (required), insightId (required), companyId, snoozeDays. Returns: Structured content returned by the `update_account_health_insight` MCP tool.

update_account_health_settingsA
Destructive
Inspect

Turn the weekly account health check on or off and choose whether it drafts fixes. Pass only the fields to change. Checks never send email to subscribers or activate anything: autonomy draft_fixes only creates inactive draft sequences. Checks run every Monday at 05:00 UTC, before the Monday weekly report that carries the findings; the schedule is fixed. Who gets the findings is each person's own account_health notification preference (update_notification_preferences), not a workspace setting. Owner or admin only. Requires companies:manage.

Inputs: enabled, autonomy, companyId. Returns: Structured content returned by the `update_account_health_settings` MCP tool.

update_amplitude_settingsA
DestructiveIdempotent
Inspect

Choose which events a connected Amplitude integration records, without the webhook secret (reconnecting would replace the secret and stop deliveries until the destination is updated). syncAllEvents false plus eventAllowlist records only those types. skipInternalEvents (on for new connections) drops session, [Amplitude] autocapture, and other $ events unless allowlisted; identify always passes. Applies to later deliveries; dropped events are not replayed. Amplitude only. Requires the integrations:manage scope; otherwise use the dashboard (Settings -> Integrations -> Amplitude).

Inputs: integrationId (required), syncAllEvents, eventAllowlist, skipInternalEvents. Returns: Structured content returned by the `update_amplitude_settings` MCP tool.

update_api_keyA
Destructive
Inspect

Rename a company-scoped API key or replace its permissions in place, without issuing a new key. Use this when a call fails with a missing-scope error: the key value stays the same, so no client has to be re-wired, and added permissions apply on the next retry. Removed permissions may remain usable for up to five minutes while API caches expire. preset and scopes REPLACE the current selection rather than merging into it - call list_api_keys first and pass the full set you want. Returns non-secret metadata only.

Inputs: apiKeyId (required), companyId (required), name, preset, +1 more. Returns: Structured content returned by the `update_api_key` MCP tool.

update_attio_settingsA
DestructiveIdempotent
Inspect

Set the two-way sync of an already-connected Attio integration, using the stored access token, so changing mappings does not require connect_integration or the Attio access token again. Sequenzy → Attio: listMap (Sequenzy list id → Attio list) and tagMap (Sequenzy tag → Attio list) upsert the person and add them to the Attio list when they join the list or get the tag. Attio → Sequenzy: inboundListMap (Attio list → Sequenzy list id) and inboundTagMap (Attio list → Sequenzy tag) create or update the subscriber and add them to the list or tag when someone is added to the Attio list, which triggers list and tag automations. Saving an inbound map makes Sequenzy register the Attio webhook itself; that needs the webhook:read-write scope on the token, and the call fails with instructions when it is missing. Each map is a full replacement: pass the complete desired map, {} to clear it, or omit it to leave it unchanged. syncRemovals (default false) mirrors removals in every mapped direction; off keeps sync add-only. Optionally set syncCompanyFromDomain. Provide at least one field. Idempotent: asking for the current state succeeds with changed: false. Only changes after saving sync; existing members are not backfilled. Check get_attio_mapping first for Sequenzy list ids and live Attio list ids/slugs, and list_tags for tag names. Attio only. Requires an API key with the integrations:manage scope, which agent-safe keys deliberately do not carry; without it, the same settings are available in the dashboard at Settings -> Integrations -> Attio -> Sync settings.

Inputs: integrationId (required), tagMap, listMap, companyId, +4 more. Returns: Structured content returned by the `update_attio_settings` MCP tool.

update_audience_syncB
Destructive
Inspect

Update an audience sync's frequency or pause/resume it (isActive).

Inputs: syncId (required), isActive, companyId, frequency. Returns: Structured content returned by the `update_audience_sync` MCP tool.

update_campaignA
Destructive
Inspect

Update a draft email campaign's content, audience, sending identity, labels, Style > Format, delivery pacing, or recipient limit. Only drafts can be edited: unschedule a scheduled campaign first (unschedule_campaign). Supplied fields overwrite the saved draft immediately; nothing is sent until schedule_campaign. Returns the updated campaign. Pass emailPreset to change Style > Format on native blocks without rewriting copy. sendTimeOptimization, sendTimeWindowHours and maxRecipients persist on the draft and are used when the campaign is later scheduled unless schedule_campaign overrides them. Send Time Optimization is not a company or sequence setting. It is campaign-only: audit with list_campaigns or get_campaign (sendTimeOptimization, sendTimeWindowHours, default 12h window). Change a draft with update_campaign, or apply it when calling schedule_campaign. Sequences use sendingWindow (allowed local hours/days), which is a shared gate, not per-subscriber predicted send times.

Inputs: campaignId (required), html, name, blocks, +22 more. Returns: Structured content returned by the `update_campaign` MCP tool.

update_campaign_goalA
Destructive
Inspect

Update a persisted email-campaign conversion goal, including its signal, attribution window, or active state. SMS campaigns are not supported.

Inputs: goalId (required), campaignId (required), name, isActive, +12 more. Returns: Structured content returned by the `update_campaign_goal` MCP tool.

update_campaign_variationA
Destructive
Inspect

Rename a campaign variation, replace its content (blocks or html, subject, previewText, emailTheme, fontFamily) or move it on the canvas (position). Content can only change once the variation is ready. To change it with AI instead, use edit_campaign_variation. To apply a section option from generate_campaign_variation_section_options, swap its replacement blocks into the variation's blocks by id and send the full blocks array here. Never changes the campaign email.

Inputs: campaignId (required), variationId (required), html, name, +8 more. Returns: Structured content returned by the `update_campaign_variation` MCP tool.

update_companyA
Destructive
Inspect

Edit company product info, brand context, the default email theme, reply-tracking settings, account-wide sending identity defaults, and defaultSubscriberListIds - which lists new untargeted contacts join. That field is the write path for Dodo Payments and live PostHog events, plus every other integration without per-integration targeting: null = every current and future list (not 'no lists'), [] = no list, [ids] = exactly those lists. PostHog history imports always create contacts without list memberships. fromEmail must use a verified sending domain; replyTo may be any valid mailbox. Missing sender/reply profiles are created automatically. Send fromName/replyToName on their own to rename the display name of the existing default profile without changing its address, or pair them with senderProfileId/replyProfileId (from list_sender_profiles) to rename a specific profile. Provide at least one editable field. Profile, branding, and AI-context fields need the company_profile:manage scope; the sending identity, reply-tracking, and defaultSubscriberListIds fields additionally need companies:manage.

Inputs: name, address, logoUrl, pricing, +36 more. Returns: Structured content returned by the `update_company` MCP tool.

update_conversation_statusC
Destructive
Inspect

Open or close a conversation.

Inputs: status (required), conversationId (required), companyId. Returns: Structured content returned by the `update_conversation_status` MCP tool.

update_data_exportA
Destructive
Inspect

Update a data export: rename, change datasets or frequency, pause (isEnabled: false) or resume, move it to another bucket/prefix, or rotate credentials (send accessKeyId and secretAccessKey together). Location and credential changes are verified with a test file first. Newly added event datasets start from now.

Inputs: dataExportId (required), name, bucket, region, +8 more. Returns: Structured content returned by the `update_data_export` MCP tool.

update_design_mdA
Destructive
Inspect

Save an edited design.md (full document from get_design_md). Only values you changed are written: a frontmatter value left as returned is not written and keeps its current behavior, a changed radius or heading font is pinned, and a changed layout token is written into the design direction ahead of its prose. Removing a key or section leaves it unchanged; an empty Voice or Design direction section clears it (an empty direction returns to brand-derived defaults). The Reference email section is read-only. Invalid values fail with line-numbered issues; unknown keys are ignored with warnings. Pass dryRun: true to preview changes and warnings without saving. Pass expectedVersion from get_design_md; on a 409 conflict, read again and reapply your edits.

Inputs: markdown (required), dryRun, companyId, expectedVersion. Returns: Structured content returned by the `update_design_md` MCP tool.

update_email_componentA
Destructive
Inspect

Update an email component's metadata or replace its blocks. Replacing blocks bumps the component version. Emails that already cloned this component keep the copy they were built with; the new version applies to emails built afterwards. Editing the component pinned as the default footer keeps its unsubscribe link enabled.

Inputs: componentId (required), name, blocks, companyId, +2 more. Returns: Structured content returned by the `update_email_component` MCP tool.

update_email_design_systemA
Destructive
Inspect

Adjust the company's email design system (partial update - only pass the fields to change). Affects every future AI-generated email and sequence enrichment. designCode tokens: kickerStyle (chip | letterspaced | none), titleAlignment (left | center), buttonShape (rounded | pill), dividerStyle (line | space), density (airy | compact), openerTreatments (subset of hero-image, hero-color, header-hero, editorial-masthead, title-led). compositionSpine: hero-led | editorial | product-spec. The adjustment is written into the company's emailDesignPrompt direction text (the single source of truth): the new identity's sentences are prepended and any custom prose the text carried is preserved below them. Pass reset: true to clear the direction text and return to brand-derived defaults. Free-form prose edits belong on update_company's emailDesignPrompt instead.

Inputs: reset, companyId, designCode, compositionSpine. Returns: Structured content returned by the `update_email_design_system` MCP tool.

update_formA
Destructive
Inspect

Update a saved signup form: rename it, retarget its audience, edit its copy, restyle its theme, or replace its content blocks (for example to remove unwanted blocks that render publicly). Read the current content via list_forms first when editing blocks.

Inputs: formId (required), name, theme, blocks, +11 more. Returns: Structured content returned by the `update_form` MCP tool.

update_geofenceA
Destructive
Inspect

Update a geofence. Only the fields provided change; null clears dwellSeconds, group or externalId. Set active to pause or resume it.

Inputs: geofenceId (required), name, group, active, +7 more. Returns: Structured content returned by the `update_geofence` MCP tool.

update_in_app_campaignA
Destructive
Inspect

Update a draft or scheduled in-app campaign. Only the fields you pass change; message fields merge over the stored message. Live campaigns can't be edited: stop and duplicate them instead.

Inputs: campaignId (required), name, endsAt, message, +3 more. Returns: Structured content returned by the `update_in_app_campaign` MCP tool.

update_in_app_placementA
DestructiveIdempotent
Inspect

Rename an in-app placement or change its description or size hints. The key cannot change. Provide at least one field.

Inputs: key (required), name, width, height, +2 more. Returns: Structured content returned by the `update_in_app_placement` MCP tool.

update_inbox_addressA
Destructive
Inspect

Set the inbox address to share, like support@support.acme.com, on one of the company's receiving domains (see list_receiving_domains; add one with add_receiving_domain), or go back to the default with reset. Any other address on that receiving domain also lands in the inbox. The address starts receiving once the receiving domain is verified (see customAddress.status in the result); inbox+{companyId}@inbound.sequenzy.com keeps working either way. Requires the companies:manage scope. Confirm the address with the user before changing it.

Inputs: reset, domain, companyId, localPart. Returns: Structured content returned by the `update_inbox_address` MCP tool.

update_landing_pageA
Destructive
Inspect

Edit a landing page's name, slug, or full content. Provide at least one update field.

Inputs: landingPageId (required), name, slug, content, +1 more. Returns: Structured content returned by the `update_landing_page` MCP tool.

update_landing_page_domain_settingsA
Destructive
Inspect

Update or verify landing page domain settings. Omit landingPageId for the workspace domain, or provide it for a dedicated page domain. Dedicated domains must be removed explicitly before replacement.

Inputs: domain, verify, companyId, landingPageId. Returns: Structured content returned by the `update_landing_page_domain_settings` MCP to…

update_listB
Destructive
Inspect

Update a subscriber list's name, description, or privacy. Only the provided fields are changed. A public list's name is shown to subscribers in the email preference center, and making a list public lets subscribers join it there.

Inputs: listId (required), name, companyId, isPrivate, +2 more. Returns: Structured content returned by the `update_list` MCP tool.

update_live_activityA
Destructive
Inspect

Update every running copy of a contact's Live Activity (one per device, iOS and Android Live Updates) with new content state. Requires email or subscriberId, or broadcast: true to update every signed-in device running the activityId (for activities started for a segment, list or tag). Add an alert to light the screen. Returns tokenCount 0 when no running copy has reported an update token.

Inputs: activityId (required), contentState (required), alert, email, +6 more. Returns: Structured content returned by the `update_live_activity` MCP tool.

update_notification_preferencesA
Destructive
Inspect

Change which account notifications Sequenzy emails the API key's own user for this company. Requires the companies:manage scope. Useful before a bulk import or a large migration, when per-signup notifications would otherwise flood the inbox, or to turn the Monday weekly report off (it is on by default only for the workspace owner; invited members set weekly_report to 'weekly' to receive it), or to opt in or out of the account health check's findings (account_health 'instant' or 'off'). Modes are 'off', 'instant' (one email per occurrence), 'daily' (one summary per day), and 'weekly' (the Monday report); 'daily' is only valid for new_subscriber, because a campaign finishes once and each form submit is its own lead, and 'weekly' is only valid for weekly_report; account_health accepts only 'off' or 'instant'. Instant form-submission notifications stop after 50 per workspace per UTC day. New-subscriber notifications already fall back to a daily summary automatically on high-volume days, and imports never trigger them at all.

Inputs: notificationPreferences (required), companyId. Returns: Structured content returned by the `update_notification_preferences` MCP tool.

update_popupA
Destructive
Inspect

Update a saved popup: rename it, publish or unpublish it via status, retarget its audience, change when and where it fires, edit its copy, restyle its theme, or replace its content blocks. Read the current content via get_popup first when editing blocks. Setting status to draft stops it showing without deleting it or changing the embed script.

Inputs: popupId (required), name, theme, blocks, +20 more. Returns: Structured content returned by the `update_popup` MCP tool.

update_push_campaignA
Destructive
Inspect

Update a draft or scheduled push campaign. Only the fields you pass change. A scheduled campaign keeps its schedule; timing fields can only change on drafts (reschedule with send_push_campaign instead).

Inputs: campaignId (required), url, body, name, +11 more. Returns: Structured content returned by the `update_push_campaign` MCP tool.

update_segmentA
Destructive
Inspect

Update a segment's name and/or filter rules. Use the same filters plus filterJoinOperator or nested root shapes as create_segment; providing filters or root replaces the segment's existing rules.

Inputs: segmentId (required), name, root, filters, +2 more. Returns: Structured content returned by the `update_segment` MCP tool.

update_sender_profileA
Destructive
Inspect

Rename one sender (From) or reply-to profile in place, without changing which profile is the account default. Use this to standardize a display name across the several identities a mailbox may carry, e.g. renaming 'Viraj from SnapCount' to 'SnapCount'. Get IDs from list_sender_profiles. Only the display name changes: the address, its sending domain, and the account-wide default From/Reply-To selection are untouched, and existing campaigns and sequences pinned to this profile pick up the new name. To change which profile is the default instead, use update_company with senderProfileId/replyProfileId. A company cannot have two sender identities with the same name on one address, so a colliding rename is rejected and reports the ID already using that name. Requires the companies:manage scope.

Inputs: name (required), profileId (required), type, companyId. Returns: Structured content returned by the `update_sender_profile` MCP tool.

update_sequenceA
Destructive
Inspect

Update an existing sequence: both its settings and its steps. Sequence-level settings live directly on this tool - name, description, labels, trigger (with its trigger-specific field), enrollmentMode plus enrollmentFieldPath, enrollmentPaused, userCancellable, activeSubscribersOnly, stopCondition, sendingWindow, frequencyCapEnabled, bccEmails, and the sender/reply identity. This is the only way to change enrollmentMode after create_sequence, so use it to move a tag- or event-triggered sequence off the default 'unlimited' re-entry to 'one_time' or 'matching_field'. To target a specific existing step, use IDs returned by get_sequence. The emails/steps arrays edit email steps, smsSteps edits SMS steps, and subscriberUpdateSteps replaces the config of action_update_attributes steps. The emails/steps arrays reach action_email steps only: an action_ab_test step keeps its copy on the A/B test variants, so read variant blocks from get_sequence.sequence.emails[].abTest.variants and change each variant with update_ab_test_variant. If update_ab_test_variant is not in the tool list, enable it on the Sequenzy connector rather than writing through update_template. To insert new linear steps, use insertSteps with an afterNodeId from get_sequence; omit afterNodeId only to append to an unambiguous linear tail. Deleting a step immediately moves parked recipients to its unique surviving successor, or completes them when no successor remains; inspect migratedRecipientCount and completedRecipientCount in the returned sequence. For active sequences, structural changes such as insertSteps or branch require confirmStructuralChange:true after the user confirms the live-flow impact.

Inputs: sequenceId (required), name, steps, branch, +48 more. Returns: Structured content returned by the `update_sequence` MCP tool.

update_sequence_goalB
Destructive
Inspect

Update a persisted sequence conversion goal, including its signal, attribution window, or active state.

Inputs: goalId (required), sequenceId (required), name, isActive, +12 more. Returns: Structured content returned by the `update_sequence_goal` MCP tool.

update_sequence_nodeA
Destructive
Inspect

Patch one existing sequence node in place. Call get_sequence first, select sequence.nodes[].id, inspect nodeType/config, and pass that node's updatedAt as expectedUpdatedAt. This supports every stored sequence node type, including delays, email/SMS content, actions, conditions, branches without topology changes, webhooks, and trigger settings. Delay example: changes:{ delay:{ days:7 } }. For a direct text-forward email, use changes:{ emailPreset:'minimal' } on its action_email node; this changes only that linked email's Style > Format. To restyle one email, patch changes:{ emailTheme:{ colors:{ background:'#ffffff' } } } on its action_email node - that overrides only this step's linked email and leaves the company-wide theme alone. The update is type-aware and preserves fields you omit. It cannot change nodeType, managed linked-resource IDs, or graph topology; use edit_sequence_graph for structural work. It also cannot edit the copy of an action_ab_test step: that content lives on the A/B test variants (get_sequence.sequence.emails[].abTest.variants includes the blocks), so change each one with update_ab_test_variant. If update_ab_test_variant is not in the tool list, enable it on the Sequenzy connector rather than writing through update_template. On an active sequence, set confirmLiveChange:true only after the user confirms the live behavior change. Existing recipients already waiting keep their scheduled timestamp; the new delay applies when recipients reach the node in the future.

Inputs: nodeId (required), changes (required), sequenceId (required), expectedUpdatedAt (required), +2 more. Returns: Structured content returned by the `update_sequence_node` MCP tool.

update_sequence_nodesA
Destructive
Inspect

Atomically patch multiple existing sequence nodes. Call get_sequence first and include each node's id plus its updatedAt as expectedUpdatedAt. Every patch follows update_sequence_node's type-aware rules. Either every node update commits or none do, making this the preferred tool for changes such as replacing all 5-minute delays with 7-day delays, or restyling several action_email nodes at once with changes:{ emailPreset:'minimal' } or changes:{ emailTheme:{ colors:{ background:'#ffffff' } } }, without changing the company theme. A node may appear only once. It cannot change node types or graph topology. On an active sequence, set confirmLiveChange:true only after the user confirms the live behavior change. Existing recipients already waiting keep their scheduled timestamps.

Inputs: updates (required), sequenceId (required), companyId, confirmLiveChange. Returns: Structured content returned by the `update_sequence_nodes` MCP tool.

update_shopify_automation_settingsA
Destructive
Inspect

Update the connected Shopify store's browse-abandonment, cart-abandonment, and/or price-drop automation settings. Partial update: omitted sections are untouched, omitted fields within a section keep their current value, and passing null for a section resets it to the platform defaults (browse abandonment: on, 2h delay, 24h cooldown; cart abandonment: on, 1h inactivity, 24h cooldown; price drop: on, 5% minimum drop, 30-day viewer lookback, 7-day cooldown).

Inputs: companyId, priceDrop, cartAbandonment, browseAbandonment. Returns: Structured content returned by the `update_shopify_automation_settings` MCP too…

update_sms_number_labelA
Destructive
Inspect

Update one SMS number's settings: the user-facing label, its brand prefix override, and/or link shortening. Use get_sms_settings to find the number ID. Omitted fields keep their value; pass an empty string to clear label or brandPrefix. Requires workspace-management permission.

Inputs: numberId (required), label, companyId, brandPrefix, +1 more. Returns: Structured content returned by the `update_sms_number_label` MCP tool.

update_subscriberA
Destructive
Inspect

Update an existing subscriber's profile, phone, status, attributes, or tags. Names and phones are native profile fields - set them here rather than as custom attributes. Setting status to unsubscribed suppresses the contact from all marketing, deactivates list memberships, and cancels active sequence enrollments while preserving the record and suppression history. Without automations:trigger, added tags start no sequence (sequenceTriggersRan false).

Inputs: email, phone, status, addTags, +10 more. Returns: Structured content returned by the `update_subscriber` MCP tool.

update_sync_rulesA
Destructive
Inspect

Replace the company's sync rules. Pass the FULL rule set (fetch with get_sync_rules first and edit it - this is not a partial update), [] to disable rules, or null to opt into the inherited SaaS/ecommerce platform preset. Each rule: { triggerEvent, actions: { addTags, removeTags }, conditions? }. Conditions support requiresTags, requiresNotTags, and purchasedProduct ({ tags?, collectionIds?, productTypes?, vendors? }) which matches products on commerce events - e.g. tag buyers of products carrying a given product tag.

Inputs: syncRules (required), companyId. Returns: Structured content returned by the `update_sync_rules` MCP tool.

update_tagA
Destructive
Inspect

Update a tag's color. System tags cannot be updated.

Inputs: color (required), tagId (required), companyId. Returns: Structured content returned by the `update_tag` MCP tool.

update_templateA
Destructive
Inspect

Update an existing template in place: the supplied fields replace the saved ones (labels replace the whole label set). Campaigns and sequence steps that started from this design keep their own copies; automatically translated variants are refreshed from the new original unless marked keepEdits (see set_template_localization). At least one of name, subject, previewText, html, blocks, labels, or isTemplate is required, and only those update fields are accepted. For the double opt-in email (consent.doubleOptInEmailId from get_tracking_settings), new html or blocks must keep {{DOUBLE_OPT_IN_URL}} or nothing is saved.

Inputs: templateId (required), html, name, blocks, +5 more. Returns: Structured content returned by the `update_template` MCP tool.

update_tracking_settingsA
Destructive
Inspect

Update the company's email tracking defaults: account-wide open and click tracking, narrower open and click defaults for Transactional API sends, unsubscribe tracking, opt-in strict bot filtering, the default attribution window, and automatic UTM tagging, plus the account-wide double opt-in requirement for new contacts. Applies to emails sent afterwards; already-sent emails keep the links they were rendered with. Transactional API defaults cannot enable an account-wide setting that is off, and an individual send may opt out again. Provide at least one field. Reply tracking (inbound email, reply domain mode, reply forwarding) is on update_company. The company tracking domain is managed with set_tracking_domain, verify_tracking_domain and remove_tracking_domain.

Inputs: companyId, autoUtmEnabled, autoUtmSettings, doubleOptInEnabled, +9 more. Returns: Structured content returned by the `update_tracking_settings` MCP tool.

update_transactional_emailA
Destructive
Inspect

Update a transactional email by ID or slug. At least one of name, enabled, subject, previewText, html, or blocks is required. Use html or blocks to replace the linked email body. Code-managed emails (managedBy: code) accept only name, enabled, and labels; disabling one makes send_email reject its trackAs sends.

Inputs: idOrSlug (required), html, name, blocks, +5 more. Returns: Structured content returned by the `update_transactional_email` MCP tool.

update_warehouse_connectionA
Destructive
Inspect

Rename a connection, change its settings (merged with the saved ones) or rotate its credentials. Settings and credential changes are re-tested before saving.

Inputs: connectionId (required), name, config, companyId, +1 more. Returns: Structured content returned by the `update_warehouse_connection` MCP tool.

update_warehouse_syncA
Destructive
Inspect

Change a sync's name, query, mapping, cursor, schedule, lists or options, or pause/resume it with isEnabled. A changed query or cursor reads from the beginning again; unchanged rows are still skipped.

Inputs: syncId (required), name, query, listIds, +7 more. Returns: Structured content returned by the `update_warehouse_sync` MCP tool.

update_webhookA
Destructive
Inspect

Update an outbound webhook endpoint's name, URL, subscribed events, or status (enabled/disabled). Providing events replaces the existing event list. Sequenzy disables an endpoint automatically after every delivery fails for 7 days (autoDisabledAt is set); enabling it or changing its URL clears that state.

Inputs: webhookId (required), url, name, events, +2 more. Returns: Structured content returned by the `update_webhook` MCP tool.

update_web_push_settingsA
Destructive
Inspect

Enable or disable web push, or set the default notification icon. The first enable generates the workspace's VAPID keys; disabling keeps them so existing browser subscriptions stay valid. The site must serve /sequenzy-sw.js (importScripts of the hosted worker) and call sequenzy.subscribeToPush() from a click.

Inputs: enabled, companyId, defaultIconUrl. Returns: Structured content returned by the `update_web_push_settings` MCP tool.

update_web_tracking_keyA
Destructive
Inspect

Rename a web tracking key, replace its allowed origins or app IDs, or revoke it. allowedOrigins and allowedAppIds each REPLACE the whole list rather than appending, so include the entries you want to keep. Revoking with isActive: false stops events within about a minute while preserving the key value, so the customer can still find and remove the matching snippet from their site; use delete_web_tracking_key only once the snippet is gone.

Inputs: id (required), name, isActive, companyId, +2 more. Returns: Structured content returned by the `update_web_tracking_key` MCP tool.

upgrade_sending_domain_dnsA
Destructive
Inspect

Recommended, optional one-time upgrade of a verified sending domain to the current per-domain CNAME DNS records, for better deliverability and security, without removing it; it keeps sending on current records and sending is normally not interrupted at the switch. Once started it runs to the switch. Needs website.dnsUpgrade.status available; an older SES-only domain also needs a DMARC record (400 otherwise). Publish the returned dnsUpgrade.records CNAMEs next to the current records, removing nothing; the domain switches by itself about an hour after the required ones are public (verify_sending_domain checks now, no skip). Removing dnsUpgrade.oldRecords (listed beforehand as replacedRecords) after deleteOldRecordsAfter (8 days) is optional; each is marked removed once gone from public DNS.

Inputs: domain (required), companyId, mailFromPrefix. Returns: Structured content returned by the `upgrade_sending_domain_dns` MCP tool.

upload_image_assetAInspect

Upload an image to the selected company's shared media library and return a hosted URL plus a ready-to-insert Sequenzy image block. When an email needs a new image, call this before create/update campaign, sequence, template, or transactional tools, then place the returned imageBlock in the target blocks array. Provide either filePath (local stdio MCP only) or imageBase64 (works with remote MCP when the client can supply attachment bytes), not both. PNG, JPEG, GIF, and WebP are supported up to 10MB. cropHeight with objectFit:'cover' provides a precise centered screenshot crop while displayWidthPercent keeps the image responsive.

Inputs: align, altText, filePath, filename, +8 more. Returns: Structured content returned by the `upload_image_asset` MCP tool.

upsert_accountA
Destructive
Inspect

Create or update a customer organization (Subscribers > Organizations in the dashboard) by external ID. Attributes merge into the stored attributes (a null value deletes a key; set replaceAttributes to replace them all). Optional members are added in the same call. Use this to model companies, workspaces or teams so segments can filter on organization.plan and emails can use {{organization.name}} (account.* still works). The first organization turns Organizations on for the workspace; it fails with a 409 error when contacts already use a custom attribute named account or account.*, which must be renamed first.

Inputs: externalId (required), name, domain, members, +3 more. Returns: Structured content returned by the `upsert_account` MCP tool.

upsert_productsB
Destructive
Inspect

Create or update products in the catalog (Commerce API, keyed by your productId, stored under the api provider). Use this to add products that are not synced from Stripe/Shopify/WooCommerce, then attach a deliverable file with attach_product_file and build a purchase sequence for them.

Inputs: products (required), companyId. Returns: Structured content returned by the `upsert_products` MCP tool.

use_campaign_variationA
Destructive
Inspect

Put a ready variation's content in the campaign email (blocks, plus subject and preview text when the variation has its own). Draft campaigns only. If the email's current content is not already a variation, it is saved first as a new variation named "Before " and returned as savedPrevious, so the previous version is never lost. Translations are re-derived from the new content.

Inputs: campaignId (required), variationId (required), companyId. Returns: Structured content returned by the `use_campaign_variation` MCP tool.

use_sequence_email_variationA
Destructive
Inspect

Uses a design variation of a sequence email (see list_sequence_email_variations). Saves a ready variation's design (blocks, theme and font) into the email, which keeps its own subject and preview text. With scope all, every other email of the sequence also takes the variation's style exactly (theme, font and the style of each kind of block) while keeping its own words; emails written in HTML keep theirs. Returns emails[] with status (changed or unchanged), saved, summary and error per email. dryRun returns the result without saving. On an active sequence, saved changes go out with the next sends. An email saved elsewhere meanwhile comes back with saved:false and an error instead of being overwritten.

Inputs: emailId (required), sequenceId (required), variationId (required), scope, +2 more. Returns: Structured content returned by the `use_sequence_email_variation` MCP tool.

validate_in_app_htmlA
Read-onlyIdempotent
Inspect

Check a custom HTML in-app message document before using it as a format "html" in-app step. Returns its size against the 100 KB limit, Braze Liquid conversions (e.g. {{${email_address}}} becomes {{email}}, {{${braze_id}}} becomes {{contactId}}), script hosts a website CSP must allow, whether it closes itself, warnings and blocking errors. Nothing is saved.

Inputs: html (required), companyId. Returns: Structured content returned by the `validate_in_app_html` MCP tool.

verify_receiving_domainA
Destructive
Inspect

Check a receiving domain's DNS now instead of waiting for the automatic check. For a domain added with add_receiving_domain, the first successful verification turns Inbox on (replyTracking.inboundEmailEnabled); domains from an older reply setup or created by update_inbox_address leave it unchanged. Owner or admin only.

Inputs: domain (required), companyId. Returns: Structured content returned by the `verify_receiving_domain` MCP tool.

verify_sending_domainA
Destructive
Inspect

Run a fresh DNS check for a configured sending domain and return DNS verification separately from sending readiness. When readyToSend is false, read readiness.reason. Receiving mail (inbox addresses and replies) is checked on receiving domains instead: see verify_receiving_domain.

Inputs: domain (required), companyId. Returns: Structured content returned by the `verify_sending_domain` MCP tool.

verify_tracking_domainA
Destructive
Inspect

Check the company tracking domain's CNAME and HTTPS certificate now instead of waiting for the automatic check. Returns verified, a message with the next step, and the tracking domain status.

Inputs: companyId. Returns: Structured content returned by the `verify_tracking_domain` MCP tool.

watch_brandA
Destructive
Inspect

Watch a brand, usually a competitor, by its website or domain. A brand already in the Sequenzy email gallery is watched at once (status available) and its emails can be read with list_watched_brand_emails; any other brand is requested and its emails show up once it is added and they are collected. New emails arrive a few hours after they are sent. Watching again keeps the one watch (a new note replaces the old) and returns created false. A company can keep up to 50 watches and brand requests together. It is not your own website. Requires templates:write.

Inputs: website (required), note, companyId. Returns: Structured content returned by the `watch_brand` MCP tool.

write_in_app_copyA
Read-onlyIdempotent
Inspect

Write in-app message copy with AI from a short brief: eyebrow, title, message and button labels sized for the layout. Returns text only; nothing is saved. Button links are never invented, so add urls before using the copy in a step.

Inputs: brief (required), kind, format, hasImage, +1 more. Returns: Structured content returned by the `write_in_app_copy` MCP tool.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 443 tools

    Disambiguation2/5

    With 443 tools there are numerous clusters of near-siblings: revoke_api_key vs delete_api_key (an explicit alias), add_sending_domain vs add_website (alias), create_sequence vs generate_sequence (deprecated alias), disable_sequence vs pause_sequence_enrollments vs pause_sequence_subscribers vs cancel_sequence_enrollments, and add_subscriber vs add_subscribers_to_list vs create_subscriber_import vs bulk_add_subscriber_tags. The long descriptions do disambiguate individual pairs, but at this scale an agent must choose among dozens of similarly named verbs over the same resources (campaign/variation, sequence/node, push/in-app/live-activity), making misselection likely.

    Naming Consistency4/5

    Almost every name is snake_case verb_noun (list_, get_, create_, update_, delete_, send_, verify_), applied uniformly across domains. Minor deviations exist: aliases (add_website, delete_api_key, generate_sequence), UI-style verbs (open_sequenzy, open_image_upload, use_campaign_variation, realign_sequence_enrollments), and a few noun-led names, but the pattern stays readable throughout.

    Tool Count1/5

    443 tools is an extreme mismatch for any single connector; the surface spans email, SMS, push, in-app, live activities, geofences, warehouses, webhooks, inbox, ads, and more. No agent can hold this in context, and large regions will be effectively unreachable regardless of description quality.

    Completeness5/5

    The surface covers full lifecycles for every named domain: CRUD plus lifecycle transitions for campaigns, sequences, templates, subscribers, lists, segments, forms/popups/landing pages, push and in-app campaigns, integrations, sending domains, webhooks, exports, and warehouses, with analytics, previews, validation, and test-send paths. Any remaining gaps are cosmetic rather than structural.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      Enables management of email campaigns, subscribers, lists, segments, journeys, templates, transactional email, and client/account settings through the Campaign Monitor API via natural language.
      100
      1
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to interact with Mailjet's contact, campaign, segmentation, statistics, and workflow APIs for managing email marketing operations through natural language.
      384 npm
      14
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to manage email campaigns, contact lists, analytics, A/B tests, and transactional emails through natural language, using OAuth for secure connection.
      1
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI agents to manage mailing lists and contacts, read campaign reports with per-link clicks, and trigger automations. Supports lookups and updates by email address, tag and status management, and destructive operations with client confirmation.
      13
      MIT