Optimove MCP actions reference
š Full list of the actions exposed by the Optimove MCP connector. For endpoint, authentication, safety model and limits, see Optimove MCP Connector.
The connector exposes 6 tools with about 85 actions between them. Your AI client picks the tool and action from your request, so you don't call them directly, but this list shows exactly what the assistant can and can't do in your tenant.
| Tool | Access | Purpose |
|---|---|---|
analyst | Read-only | Performance, KPIs, audiences and what's running |
explorer | Read-only | The building blocks available in your tenant |
builder | Write | Creates and edits drafts and building blocks; stops, deletes and activates when AI Permissions allows |
expert | Read-only | Searches Optimove documentation |
show_image_gallery | Display only | Shows images as a gallery in the AI client |
show_image_uploader | Display only | Opens an image uploader in the AI client |
Every action runs with the connected user's Optimove permissions and the AI Permissions set for their role, and PII is masked on the server before anything is returned. Some actions depend on features enabled for your tenant.
analyst
Performance and what's running (read-only).
| Action | What it does |
|---|---|
campaigns | List and filter campaigns (channel, status, target group, stream, promo, significance, uplift). Defaults to the last 30 days, or yesterday to today when nothing is filtered |
campaign | Everything about one campaign: config, KPIs, insights, A/B winner, exclusions, outliers |
channel | Performance for one channel: engagement, test vs control response rates, daily trend |
kpi | Uplift and significance per campaign (up to 100 per call), for the whole account, or daily |
streams | List streams or journeys; with an ID, show the journey structure and what each node does |
drafts | List campaign drafts |
status | Health of real-time and batch execution |
dashboard | The tenant Dashboard page (10 widgets: KPI summary, most/least effective, coverage) |
timeline | Every campaign running in a date range, with the dates it runs, occurrence count and the busiest day |
campaign_reach | How many customers campaigns reach, by campaign or target group |
lifecycle_campaign_coverage | Campaign coverage per lifecycle stage, with optional contact-frequency breakdown |
insights | AI Insights cards, for the tenant or specific campaigns |
funnel | Funnel Explorer conversion between stages (e.g. Registration to Deposit) |
stream_analysis | Results for a stream's treatments vs its control: group size, migration rate, and impact on every KPI with significance and winner (whole-stream level, not per node) |
prediction_tree | The decision tree predicting a lifecycle stage's outcome (e.g. Active: staying active): each split rule with its customer count and rate, plus the top predictors |
audience_size | Customer count for conditions, a target group, a stage, a segment or an attribute filter |
attribute_distribution | How customers split across the values of an attribute (e.g. Country) |
cohorts | Cohort report: retention, cumulative transactions, LTV |
audience_profile | Attribute profile of an audience |
audience_trend | Weekly trend of a group's size or of an attribute |
customers | Customer-level rows with chosen attribute columns. PII attributes are masked, and results are capped at the top 100 customers |
business_performance | Business Performance report: deposits and revenue by year, quarter or month; top days; first-time split; repeat rate |
explorer
Building blocks and campaign change history (read-only).
| Focus | What it does |
|---|---|
tenant | Which account you're connected to, who's logged in, region, CSM |
campaigns | Everything needed to build a campaign in one call (actions, channels, templates, target groups, promos, triggers, lifecycles) |
attributes | Customer attributes, lifecycle stages, operators, value segments, predictive models |
segments | Segments |
events | Events that can trigger campaigns, with parameters and allowed values |
kpis | Available KPIs |
templates | Templates by channel, brand or folder; full detail, HTML and visual-editor blocks |
template_config | Per-channel template setup (brands, senders, preference groups, Liquid) |
personalization_tags | Available personalization tags ([%TAG%] or {{ customer.X }}) |
actions | The action catalog, with types and folders |
triggers | Triggers |
tags | Target group tags (not campaign tags) |
target_groups | Target group list or detail: conditions, size, usage, archived groups |
tg_conditions | Catalog of target group condition types, with drill-down into web/app activity, game history, top spenders, future value |
promos / optipromo_config / reward_types | Simple promotions, OptiPromo promotions and their schemas |
channels | The tenant's channels, including engagement activities |
realtime_attributes / realtime_attribute_config | Real-time attributes and their event config |
standard_attribute_config | Definitions of custom attributes, and purchase-history field values |
brand_guidelines | Content Advisor brand guidelines |
mini_games | Mini-game library (can return a game's HTML) |
missions / mission_events / loyalty_rewards / level_configs | Gamification: missions, their events, rewards, level ladders |
images | Image library, with extracted text, colors and offer details |
campaign_audit_log | The change history of one campaign or draft: who saved it, when, and each setting before and after. Can also show the full setup on one date, or the changes between two dates |
campaign_settings_audit_log | The change history of the campaign execution settings, which apply to all campaigns (conditional execution, heads-up times, data freshness, allowed campaign delay). Same modes as campaign_audit_log |
campaign_history_search | Search the change history across all campaigns: by person, date, type of change, or setting (target group, template, channel, trigger, and more). Can keep only the saves that changed a setting |
Campaign change history
The three change-history focuses are read-only. They never change a campaign or a setting, and they need no AI Permission.
Parameters
| Parameter | Focus | Description |
|---|---|---|
campaign_id | campaign_audit_log | The ID of an active campaign. |
draft_id | campaign_audit_log | The ID of a draft. Use instead of campaign_id. |
is_scheduled | campaign_audit_log | true for a scheduled campaign, false for a triggered one. Scheduled and triggered campaigns use separate IDs, so this is needed only when one ID names both. |
as_of | both audit logs | A date (YYYY-MM-DD). Returns the full setup on that date. Don't use with compare. |
compare | both audit logs | Two dates. Returns every change between the versions on those dates. Don't use with as_of. |
history_query | campaign_history_search | A query in marketer field names, for example {"Changed by": "me", "When": {"$gte": "2026-10-01"}}. The server maps names to IDs. |
changed | campaign_history_search | A list of settings, for example ["Target group"]. Keeps only the saves that changed those settings, with before and after values. |
limit, offset | all three | Paging. Default page size: 20 for the audit logs, 200 for the search (maximum 500). |
Example prompts
- "Who changed the template in campaign 16820, and when?" ā
campaign_audit_log - "What changed in campaign 16820 between 1 October and today?" ā
campaign_audit_log - "When was conditional execution for triggered campaigns switched off?" ā
campaign_settings_audit_log - "Which campaigns were deleted in October?" ā
campaign_history_search - "In which campaigns did someone change the target group since 1 October?" ā
campaign_history_search
Behavior
- Time zone. Dates use the site's time zone, and each row has the save time in local time. A date without a time means the whole day. If the site time zone can't be read, London time is used and the response includes a warning.
- Names, not IDs. Target groups, templates, channels, triggers, tags, KPIs, and promotions come back with their current names. A deleted object has no name.
- Deletes. A deleted campaign shows as deleted. If a campaign was deleted and created again between the two
comparedates, the response lists those events. - Search window. A search without a date covers the last 90 days.
-
Changes made with AI. Saves made through the MCP or OptiGenie are recorded like any other save.
Coverage: The history starts on the date change tracking started on the site, not on the date a campaign was created, and this date is different for each site. A campaign that nobody saved after that date has no history. For the current setup of campaigns, use
analyst(campaigns).
Limits
- Brand changes aren't recorded, so
changedcan't include Brand. changedcompares the full history of at most 20 campaigns per call.- Campaign names aren't stored in the history. To search by name, first find the campaign IDs with
analyst(campaigns). - A
history_querycan nest at most 6 levels and hold at most 50 conditions.
builder
Creates and edits drafts and building blocks. Depending on the user's AI Permissions, it can also edit live campaigns, stop, delete and archive, and activate and publish.
| Action | What it does |
|---|---|
campaign | Create a scheduled or triggered campaign draft (A/B, self-optimizing, multi-channel, promos, tags) |
update_draft / duplicate_campaign | Edit a draft, or copy an existing campaign |
target_group / update_target_group | Create or edit a target group |
trigger / update_trigger | Create or edit a trigger |
action / update_action | Create or edit an action, or an action folder |
sdk_event / update_sdk_event | Create or edit an SDK event (simple, repeated, uncompleted sequence) |
template / update_template | Create or edit templates: email (HTML or visual editor), SMS, push, web push, in-app, embedded, Webpage Pop-up (popup: drag-and-drop blocks, visual editor or HTML), and Overlay Messaging (overlay) |
attribute / update_attribute | Custom attributes: activity history, formula, conditional, purchase history |
realtime_attribute / update_realtime_attribute | Real-time attributes |
create_optipromo / update_optipromo | OptiPromo promotions (tiers, budgets, codes) |
create_reward_type / update_reward_type | OptiPromo reward types |
create_promo | Simple (legacy) promo |
create_mini_game / save_mini_game | Generate a mini-game or save it to the library |
mission / gamify_reward / level_config | Gamification: missions, rewards, level ladders |
upload_image | Upload an image attached to the chat, or copy an image that's already in the library, into a new or existing library folder. Returns the image URL. PNG, JPG, GIF, SVG, and WebP, up to 5 MB, sent unchanged. Also used for every image uploaded through show_image_uploader |
upload_imageneeds no AI Permission; it uses the user's own Optimove permissions, the same as the Asset Library. An upload is not a draft: the image is public on the CDN as soon as it's stored, and the MCP can't delete or replace it.
Stop, delete, archive, activate and publish
These actions follow the same rules as the Optimove UI. Delete covers drafts and unused building blocks, Delete in use covers live campaigns and the building blocks they use, and Activate covers activating, scheduling and publishing.
| Object | Stop, delete or archive | Activate or publish |
|---|---|---|
| Scheduled campaigns | Stop (end date set to today); delete future occurrences from a date (Ending set to By); delete up to 15 minutes before execution | Schedule or activate |
| Triggered campaigns | Stop (trigger set to inactive) | Activate |
| Target groups | Delete or archive. Dependencies are shown first; a target group used in past campaigns is archived | ā |
| Templates | Delete | ā |
| Triggers | Delete | ā |
| Calculated attributes | Delete; blocked while in use | Publish |
| Promotions | Archive (final; can't be reactivated) | Activate |
What the builder can change depends on AI Permissions. Edit in use, Delete, Delete in use and Activate are off by default; an admin turns them on per role. Activated campaigns send messages to customers. Write actions prompt for confirmation in your AI client. See AI Permissions.
expert
Searches documentation (read-only).
-
query: searches Optimove docs (Academy, Developer Hub, Trust Center; over 2,000 articles) or the MCP's own usage docs. -
topics: fetches the MCP's own per-action docs (for examplebuilder.campaign), which the assistant loads before it uses a builder action.
show_image_gallery
Display only. Displays images, such as from the image library, as a gallery. The gallery has an Upload button for adding images to the library; uploads go through builder ā upload_image.
show_image_uploader
Display only. Opens an uploader in the AI client, where the user drags and drops images or picks them from their computer. Each image is uploaded with builder ā upload_image.
| Parameter | Description |
|---|---|
folder | Optional. The library folder to upload into. A folder that doesn't exist is created on upload. |
purpose | Optional. |
Works in clients that support interactive output (for example, Claude Cowork). In other clients, the user attaches the image to the chat and the assistant calls upload_image directly. A file that isn't attached can't be uploaded from those clients.
Updated about 3 hours ago
