get_email_campaign
Get Email Campaign
Retrieve full details of an email campaign including design, scheduling, and segment settings.
Ask your agent in plain language. Each of these maps to a real tool on the server.
get_email_campaign
Retrieve full details of an email campaign including design, scheduling, and segment settings.
add_contact_to_mailing_list
Add a contact to a mailing list. The contact will be created if they don't already exist. At least **email** or **sms** is required.
get_sms_campaign
Retrieve details of an SMS campaign by ID, including content, targeting, and scheduling information.
get_email_campaign_report
Retrieve a detailed report for an email campaign including summary statistics, opens, clicks, bounces, unsubscribes, complaints, and per-domain breakdown.
toggle_automation
Activate or deactivate an automation workflow.
list_webhooks
List all webhooks configured in your account.
create_contact
Create a new contact in ActiveTrail. At least one of **email** or **sms** is required. The contact is created globally and is not linked to any group by default.
create_mailing_list
Create a new mailing list.
send_whatsapp_campaign
Send a WhatsApp campaign to groups or contacts. First-time messages to a contact require an approved template. Free-form content is only allowed if the contact replied within the last 24 hours.
get_contact
Retrieve a single contact by ID, including their profile fields, subscription status, group memberships, mailing list memberships, and activity history.
list_email_campaigns
List email campaigns with optional filtering by mailing list, category, search term, send type, and date range.
delete_automation
Delete one or more automation workflows by ID.
create_email_campaign
Create a new email campaign. Configure the campaign name, subject, HTML content, target groups, and scheduling. Set **isSent** to true and **scheduledDateUtc** to schedule sending.
list_groups
List all contact groups in your account with pagination support.
get_automation_report
Retrieve a comprehensive report for an automation workflow including overview statistics, email/SMS performance, and contacts who started or completed the automation.
create_group
Create a new contact group.
import_contacts
Bulk import up to 1,000 contacts into a specified group. Each contact requires at least an **email** or **sms** field.
update_group
Update an existing group's name.
delete_group
Delete a contact group by ID. Contacts in the group are not deleted.
get_mailing_list_members
Retrieve members of a mailing list with filtering by status and date range.
get_automation
Retrieve detailed information about an automation workflow including its design, trigger info, and activation status.
list_campaign_reports
List summary reports for all email campaigns with optional date filtering. Returns high-level statistics for each campaign.
list_contacts
Search and list contacts with optional filtering by status, search term, and date range. Returns paginated results (default 20, max 100 per page).
delete_email_campaign
Delete an email campaign by ID.
create_template
Create a new reusable email template in "My Templates".
create_sms_campaign
Create a new SMS campaign. Configure the message content, target groups, sender name, and scheduling. Supports link tracking and unsubscribe functionality.
update_webhook
Update an existing webhook's name, URL, event type, or active status.
get_account_info
Retrieve account information including credit balance, sending profiles (email & SMS), contact field definitions, and content categories. Useful for getting profile IDs needed when creating campaigns.
list_sms_campaigns
List SMS campaigns in your account with pagination. Set includeNotSent to true to discover draft campaigns for estimates or updates.
list_templates
List all reusable email templates from "My Templates". ActiveTrail returns the full list.
list_automations
List all marketing automation workflows in your account.
create_campaign_from_template
Create a new email campaign directly from an existing template. Configures the campaign with the template's design and the provided sending settings.
delete_webhook
Delete a webhook by ID.
send_whatsapp_operational_message
Send an individual WhatsApp operational/transactional message to a single contact. Requires an approved template for first-time messages.
get_group
Retrieve group details by ID, optionally including members and an event count. Set eventType when includeEvents is true.
delete_template
Delete an email template by ID.
send_email_operational_message
Send a transactional/operational email message to individual recipients. Supports up to 500 recipients per call. Recipients are automatically created as contacts in your account. Use for order confirmations, password resets, and other one-to-one transactional emails.
update_contact
Update an existing contact in ActiveTrail by contact ID. Only the provided fields will be updated.
delete_mailing_list
Delete a mailing list by ID.
remove_contact_from_group
Remove a contact from a group. The contact is not deleted, only unlinked from the group.
update_email_campaign
Update a draft email campaign's details, design, sending settings, or schedule. Only campaigns in **draft** status can be updated.
create_webhook
Create a new webhook to receive callbacks when contact changes occur. Supports both programmatic and manual contact change events.
get_template
Retrieve a template by ID, optionally including the full HTML content.
get_executive_report
Retrieve executive-level reports including overall account statistics and contact growth over time.
list_whatsapp_templates
Retrieve all approved WhatsApp message templates available in your account. Templates are required for first-time messages to contacts.
get_sms_campaign_report
Retrieve a detailed report for an SMS campaign including delivery, click, and failure statistics.
send_sms_operational_message
Send a transactional/operational SMS message to individual phone numbers. Use for OTP codes, appointment reminders, and other one-to-one SMS messages.
add_contact_to_group
Add a contact to a group by providing contact details. The contact will be created if they don't already exist. At least **email** or **sms** is required.
list_mailing_lists
List all mailing lists in your account. ActiveTrail returns the full list.
delete_contact
Permanently delete a contact from ActiveTrail by contact ID.
estimate_sms_campaign
Estimate message usage for an SMS campaign that has not been sent.
list_template_categories
Discover reusable email template categories and their IDs.
get_webhook
Retrieve a configured webhook and its parameters by ID. Call list_webhooks to discover IDs.
list_contact_subscriptions
Retrieve subscribers or unsubscribers with the source of their status and date filtering.
get_mailing_list
Retrieve a mailing list by ID. Call list_mailing_lists to discover IDs.
update_template
Update an email template name, subject, content, or category. Call list_templates to discover IDs.
list_whatsapp_profiles
Retrieve the account WhatsApp sending profiles for campaign and operational message setup.
update_sms_campaign
Update an SMS campaign, including content, recipients, or scheduling. Call list_sms_campaigns to discover IDs.
remove_contact_from_mailing_list
Remove a contact from a mailing list. The contact remains in the account.
Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.
{"mcpServers": {"metorial": {"url": "<your-magic-mcp-url>"}}}
claude mcp add --transport http metorial <your-magic-mcp-url>
codex mcp add metorial --url <your-magic-mcp-url>codex mcp login metorial
One governed layer for every app your agents reach, not a separate connector per tool.
Create and manage email and SMS campaigns, send WhatsApp and transactional messages, organize contacts in groups and mailing lists, inspect campaign reports, activate existing automations, maintain reusable email templates, configure webhooks, and discover sending profiles and account balances.
Common questions about connecting Activetrail to AI agents with Metorial.