Sarbacane MCP by usefulapi
v1.20.1Read Sarbacane campaigns, stats, lists and blacklists; manage contacts and draft email campaigns.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sarbacane_get_credits Get remaining credits
The account's remaining credits per type (email campaigns, SMS, eye tracking, Sendkit emails) with expiry date and subscription type. GET /v1/credits.
sarbacane_list_users List account users
Users and pending invitations of the Sarbacane account (name, email, role, team). GET /v1/users.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum items returned, 1-1000 (default 50). |
offset | integer | Starting position, from 0 (default 0). Pass the previous reply's next_offset. |
search | string | Filter users by name or email. |
sarbacane_list_lists List contact lists
All contact lists of the account, with their ids. Use the ids for contacts, fields and campaigns. GET /v1/lists.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum items returned, 1-1000 (default 50). |
offset | integer | Starting position, from 0 (default 0). Pass the previous reply's next_offset. |
sarbacane_create_list Create a contact list
WRITE: create a new contact list with a name, optionally linked to team (group) ids. Each call creates a new list, even with the same name. Add contacts with sarbacane_create_contact. POST /v1/lists.
| Parameter | Type | Description |
|---|---|---|
name * | string | List name. |
team_ids | array | Team (group) ids to link. Optional. |
sarbacane_list_list_fields List a list's custom fields
The custom fields (columns) of a contact list: id, caption and type (STRING, BOOL, INT, DATE). Field ids are the keys used when writing contacts. GET /v1/lists/{listId}/fields.
| Parameter | Type | Description |
|---|---|---|
list_id * | string | Contact list id (sarbacane_list_lists). |
sarbacane_list_contacts List contacts in a list
Contacts of one list (personal data: email, phone, custom fields). Filter by email, phone, a text search across fields, or the modification date. GET /v1/lists/{listId}/contacts.
| Parameter | Type | Description |
|---|---|---|
list_id * | string | Contact list id. |
email | string | Only the contact with this email. |
limit | integer | Maximum items returned, 1-1000 (default 50). |
modified_after | string | Only contacts modified at or after this time. |
modified_before | string | Only contacts modified at or before this time. |
offset | integer | Starting position, from 0 (default 0). Pass the previous reply's next_offset. |
phone | string | Only the contact with this phone number. |
search | string | Text to look for in the contact's fields. |
sarbacane_create_contact Add a contact to a list
WRITE: add a contact to a contact list. Give an email, a phone number or both, and optional custom field values. Adds a new record; use sarbacane_upsert_contact to update an existing contact. POST /v1/lists/{listId}/contacts.
| Parameter | Type | Description |
|---|---|---|
list_id * | string | Contact list id. |
email | string | |
fields | object | Custom field values as { <custom field id>: value }. Get the ids from sarbacane_list_list_fields. |
phone | string |
sarbacane_upsert_contact Add or update a contact
WRITE: add a contact to a list, or update it when the same email/phone pair already exists (custom field values are overwritten). POST /v1/lists/{listId}/contacts/upsert.
| Parameter | Type | Description |
|---|---|---|
list_id * | string | Contact list id. |
email | string | |
fields | object | Custom field values as { <custom field id>: value }. Get the ids from sarbacane_list_list_fields. |
phone | string |
sarbacane_list_blacklists List blacklists
All blacklists (suppression lists) of the account, with their ids. GET /v1/blacklists.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum items returned, 1-1000 (default 50). |
offset | integer | Starting position, from 0 (default 0). Pass the previous reply's next_offset. |
sarbacane_list_blacklist_entries List blacklist entries
Entries of a blacklist by kind: bounces (invalid addresses), unsubscribers or complaints (personal data: email, phone). Filter by email, phone or modification date. GET /v1/blacklists/{blacklistId}/{bounces|unsubscribers|complaints}.
| Parameter | Type | Description |
|---|---|---|
blacklist_id * | string | Blacklist id (sarbacane_list_blacklists). |
kind * | string | Which entries: bounces, unsubscribers or complaints. |
email | string | Only this email. |
limit | integer | Maximum items returned, 1-1000 (default 50). |
modified_after | string | Only entries modified at or after this time. |
modified_before | string | Only entries modified at or before this time. |
offset | integer | Starting position, from 0 (default 0). Pass the previous reply's next_offset. |
phone | string | Only this phone number. |
sarbacane_add_unsubscriber Add an unsubscribed contact to a blacklist
WRITE: record an email and/or phone as unsubscribed in a blacklist, so campaigns using that blacklist skip it. Cannot be undone with these tools. POST /v1/blacklists/{blacklistId}/unsubscribers.
| Parameter | Type | Description |
|---|---|---|
blacklist_id * | string | Blacklist id. |
email | string | |
phone | string |
sarbacane_list_campaigns List campaigns
Campaigns of the account (id, name, kind, created/edited, recipient count). Filter by state or a text in the name or subject. GET /v1/campaigns.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum campaigns returned, 1-1000 (default 25). Page with offset. |
offset | integer | Starting position, from 0 (default 0). Pass the previous reply's next_offset. |
search | string | Text in the campaign name or subject. |
state | string | Only campaigns in this state. |
sarbacane_get_campaign Get campaign details
One campaign: state, kind, blacklists, send ids, sent date. The send id is needed to see content. GET /v1/campaigns/{campaignId}.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign id. |
sarbacane_get_campaign_report Get campaign statistics
Statistics of a campaign per send: delivered count, opens, openers, clicks, clickers, unsubscribers, devices and operating systems. GET /v1/reports/{campaignId}.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign id. |
sarbacane_list_campaign_recipients List a campaign's recipients
Recipients attached to a campaign (personal data: email, phone). GET /v1/campaigns/{campaignId}/recipients.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign id. |
limit | integer | Maximum items returned, 1-1000 (default 50). |
offset | integer | Starting position, from 0 (default 0). Pass the previous reply's next_offset. |
sarbacane_list_webhooks List webhooks
Webhook subscriptions of the account: url, display name and subscribed event kinds. GET /v1/webhooks.
sarbacane_create_email_campaign Create an email campaign (draft)
WRITE: create a new email campaign as a DRAFT. It is never sent by these tools: add content (sarbacane_set_campaign_content or sarbacane_import_campaign_template) and a contact list (sarbacane_set_campaign_list), then send it from Sarbacane. POST /v1/campaigns/email.
| Parameter | Type | Description |
|---|---|---|
alias_from * | string | Sender name. |
alias_reply_to * | string | Reply-to name. |
email_from * | string | Sender email address (must be a sender allowed on the account). |
email_reply_to * | string | Reply-to email address. |
name * | string | Campaign name (internal). |
subject * | string | Email subject. |
preheader | string | Preheader text. |
sarbacane_create_sms_campaign Create an SMS campaign
WRITE: create a new SMS campaign. This tool never sends it: a person sends it from Sarbacane. POST /v1/campaigns/sms.
| Parameter | Type | Description |
|---|---|---|
content * | string | SMS text, up to 450 characters from the GSM table. |
kind * | string | SMS_MARKETING (promotions) or SMS_NOTIFICATION (transactional notices). |
name * | string | Campaign name (internal). |
sms_from | string | Sender name, 3 to 11 letters or digits. |
team_ids | array | Team (group) ids to link. Optional. |
sarbacane_set_campaign_content Set a draft campaign's content
WRITE: set the HTML (and optional plain-text) content of an email campaign's send, replacing what was there. Without send_id the campaign's only send is used (an A/B test campaign has several: pass one). POST /v1/campaigns/{campaignId}/send/{sendId}/content.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign id. |
html * | string | The HTML body of the email. |
send_id | string | Send id from sarbacane_get_campaign (campaign.sends). Optional when the campaign has one send. |
text | string | Plain-text alternative. |
sarbacane_import_campaign_template Import a template into a draft campaign
WRITE: load a saved template's content into an email campaign, replacing its content. POST /v1/campaigns/{campaignId}/content.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign id. |
template_id * | string | Template id (from Sarbacane). |
sarbacane_set_campaign_list Attach a contact list to a draft campaign
WRITE: import a contact list's contacts as the recipients of a campaign. It does not send the campaign. POST /v1/campaigns/{campaignId}/list.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign id. |
list_id * | string | Contact list id (sarbacane_list_lists). |