Tools backed by the email module
Email marketing
Email marketing analytics from the email_campaigns mart. Pick the mode: summary (sends, delivered, opens, clicks, unsubscribes, bounces with prior-period deltas), daily (per-day series), campaigns (the per-campaign table — sortable with sort_by/sort_dir, searchable with search over subject and campaign name, paged with limit/offset), subject_lines (subject leaderboard plus open/click rates broken out by subject feature, length bucket, weekday, hour and split test; min_sends gates who reaches the leaderboard), or filter_options (all-time campaign types, lists, sources and the available date range — call this first when you need a valid filter value). Filters: campaign_type (exact), list_name (substring), source (exact). Open rates are inflated by privacy proxies on some clients — treat click-through and CTOR as the reliable engagement signals, and never present open rate as a deliverability measure. Omit both dates for the default window: the last 30 complete days ending yesterday.
Email marketing › Request Body
modeWhich email cut to return — see the tool description for each.
start_date^\d{4}-\d{2}-\d{2}$Window start, YYYY-MM-DD (inclusive). Omit both dates for the default window: the last 30 complete days ending yesterday.
end_date^\d{4}-\d{2}-\d{2}$Window end, YYYY-MM-DD (inclusive).
campaign_type^[^'\\]+$Filter to one campaign type (exact match; get the available values from mode=filter_options).
list_name^[^'\\]+$Filter to campaigns sent to a list whose name CONTAINS this text (substring match).
source^[^'\\]+$Filter to one email source/connector (exact match).
sort_bycampaigns mode: sort column — sent_at | sends | delivered | unique_opens | unique_clicks | open_rate | click_rate | ctor | unsub_rate | bounce_rate | campaign_name | subject (default sent_at). An invalid value returns the allowed list.
sort_dirSort direction for the table mode (default desc).
limitTable mode: rows to return, 1-500 (default 25).
offsetTable mode: rows to skip, for paging (default 0).
searchcampaigns mode: case-insensitive match on the subject or campaign name.
min_sendssubject_lines mode: minimum total sends before a subject enters the leaderboard (default 100; 0 removes the gate). Lower it for a low-volume sender.
Email marketing › Responses
The tool ran
oktooldataThe tool's payload — byte-identical to what the same tool returns over MCP.