Sarbacane MCP by usefulapi is an MCP server published by io.usefulapi, hosted at sarbacane.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 19 tools, including sarbacane_get_credits, sarbacane_list_users, sarbacane_list_lists, sarbacane_list_list_fields, sarbacane_list_contacts.
Read Sarbacane campaigns, stats, lists and blacklists; manage contacts and draft email campaigns.
4,412 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
The account's remaining credits per type (email campaigns, SMS, eye tracking, Sendkit emails) with expiry date and subscription type. GET /v1/credits.
No parameters.
{
"name": "sarbacane_get_credits",
"title": "Get remaining credits",
"description": "The account's remaining credits per type (email campaigns, SMS, eye tracking, Sendkit emails) with expiry date and subscription type. GET /v1/credits.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "Get remaining credits",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
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. |
{
"name": "sarbacane_list_users",
"title": "List account users",
"description": "Users and pending invitations of the Sarbacane account (name, email, role, team). GET /v1/users.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Maximum items returned, 1-1000 (default 50)."
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Starting position, from 0 (default 0). Pass the previous reply's next_offset."
},
"search": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Filter users by name or email."
}
}
},
"annotations": {
"title": "List account users",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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. |
{
"name": "sarbacane_list_lists",
"title": "List contact lists",
"description": "All contact lists of the account, with their ids. Use the ids for contacts, fields and campaigns. GET /v1/lists.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Maximum items returned, 1-1000 (default 50)."
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Starting position, from 0 (default 0). Pass the previous reply's next_offset."
}
}
},
"annotations": {
"title": "List contact lists",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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). |
{
"name": "sarbacane_list_list_fields",
"title": "List a list's custom fields",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_id"
],
"properties": {
"list_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Contact list id (sarbacane_list_lists)."
}
}
},
"annotations": {
"title": "List a list's custom fields",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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 |
|---|---|---|
| string | Only the contact with this email. | |
| limit | integer | Maximum items returned, 1-1000 (default 50). |
| phone | string | Only the contact with this phone number. |
| offset | integer | Starting position, from 0 (default 0). Pass the previous reply's next_offset. |
| search | string | Text to look for in the contact's fields. |
| list_id * | string | Contact list id. |
| modified_after | string | Only contacts modified at or after this time. |
| modified_before | string | Only contacts modified at or before this time. |
{
"name": "sarbacane_list_contacts",
"title": "List contacts in a list",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_id"
],
"properties": {
"email": {
"type": "string",
"pattern": "^[^\\s@<>\",;]+@[^\\s@<>\",;]+\\.[^\\s@<>\",;]+$",
"maxLength": 320,
"minLength": 3,
"description": "Only the contact with this email."
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Maximum items returned, 1-1000 (default 50)."
},
"phone": {
"type": "string",
"pattern": "^\\+?[0-9 ().-]{5,30}$",
"maxLength": 30,
"minLength": 5,
"description": "Only the contact with this phone number."
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Starting position, from 0 (default 0). Pass the previous reply's next_offset."
},
"search": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Text to look for in the contact's fields."
},
"list_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Contact list id."
},
"modified_after": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Only contacts modified at or after this time."
},
"modified_before": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Only contacts modified at or before this time."
}
}
},
"annotations": {
"title": "List contacts in a list",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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 |
|---|---|---|
| string | ||
| phone | string | |
| fields | object | Custom field values as { <custom field id>: value }. Get the ids from sarbacane_list_list_fields. |
| list_id * | string | Contact list id. |
{
"name": "sarbacane_create_contact",
"title": "Add a contact to a list",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_id"
],
"properties": {
"email": {
"type": "string",
"pattern": "^[^\\s@<>\",;]+@[^\\s@<>\",;]+\\.[^\\s@<>\",;]+$",
"maxLength": 320,
"minLength": 3
},
"phone": {
"type": "string",
"pattern": "^\\+?[0-9 ().-]{5,30}$",
"maxLength": 30,
"minLength": 5
},
"fields": {
"type": "object",
"description": "Custom field values as { <custom field id>: value }. Get the ids from sarbacane_list_list_fields.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 64,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
},
"list_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Contact list id."
}
}
},
"annotations": {
"title": "Add a contact to a list",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}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 |
|---|---|---|
| string | ||
| phone | string | |
| fields | object | Custom field values as { <custom field id>: value }. Get the ids from sarbacane_list_list_fields. |
| list_id * | string | Contact list id. |
{
"name": "sarbacane_upsert_contact",
"title": "Add or update a contact",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_id"
],
"properties": {
"email": {
"type": "string",
"pattern": "^[^\\s@<>\",;]+@[^\\s@<>\",;]+\\.[^\\s@<>\",;]+$",
"maxLength": 320,
"minLength": 3
},
"phone": {
"type": "string",
"pattern": "^\\+?[0-9 ().-]{5,30}$",
"maxLength": 30,
"minLength": 5
},
"fields": {
"type": "object",
"description": "Custom field values as { <custom field id>: value }. Get the ids from sarbacane_list_list_fields.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 64,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
},
"list_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Contact list id."
}
}
},
"annotations": {
"title": "Add or update a contact",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}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. |
{
"name": "sarbacane_list_blacklists",
"title": "List blacklists",
"description": "All blacklists (suppression lists) of the account, with their ids. GET /v1/blacklists.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Maximum items returned, 1-1000 (default 50)."
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Starting position, from 0 (default 0). Pass the previous reply's next_offset."
}
}
},
"annotations": {
"title": "List blacklists",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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 |
|---|---|---|
| kind * | string | Which entries: bounces, unsubscribers or complaints. |
| string | Only this email. | |
| limit | integer | Maximum items returned, 1-1000 (default 50). |
| phone | string | Only this phone number. |
| offset | integer | Starting position, from 0 (default 0). Pass the previous reply's next_offset. |
| blacklist_id * | string | Blacklist id (sarbacane_list_blacklists). |
| modified_after | string | Only entries modified at or after this time. |
| modified_before | string | Only entries modified at or before this time. |
{
"name": "sarbacane_list_blacklist_entries",
"title": "List blacklist entries",
"description": "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}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"blacklist_id",
"kind"
],
"properties": {
"kind": {
"enum": [
"bounces",
"unsubscribers",
"complaints"
],
"type": "string",
"description": "Which entries: bounces, unsubscribers or complaints."
},
"email": {
"type": "string",
"pattern": "^[^\\s@<>\",;]+@[^\\s@<>\",;]+\\.[^\\s@<>\",;]+$",
"maxLength": 320,
"minLength": 3,
"description": "Only this email."
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Maximum items returned, 1-1000 (default 50)."
},
"phone": {
"type": "string",
"pattern": "^\\+?[0-9 ().-]{5,30}$",
"maxLength": 30,
"minLength": 5,
"description": "Only this phone number."
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Starting position, from 0 (default 0). Pass the previous reply's next_offset."
},
"blacklist_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Blacklist id (sarbacane_list_blacklists)."
},
"modified_after": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Only entries modified at or after this time."
},
"modified_before": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Only entries modified at or before this time."
}
}
},
"annotations": {
"title": "List blacklist entries",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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 |
|---|---|---|
| string | ||
| phone | string | |
| blacklist_id * | string | Blacklist id. |
{
"name": "sarbacane_add_unsubscriber",
"title": "Add an unsubscribed contact to a blacklist",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"blacklist_id"
],
"properties": {
"email": {
"type": "string",
"pattern": "^[^\\s@<>\",;]+@[^\\s@<>\",;]+\\.[^\\s@<>\",;]+$",
"maxLength": 320,
"minLength": 3
},
"phone": {
"type": "string",
"pattern": "^\\+?[0-9 ().-]{5,30}$",
"maxLength": 30,
"minLength": 5
},
"blacklist_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Blacklist id."
}
}
},
"annotations": {
"title": "Add an unsubscribed contact",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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 items returned, 1-1000 (default 50). |
| state | string | Only campaigns in this state. |
| offset | integer | Starting position, from 0 (default 0). Pass the previous reply's next_offset. |
| search | string | Text in the campaign name or subject. |
{
"name": "sarbacane_list_campaigns",
"title": "List campaigns",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Maximum items returned, 1-1000 (default 50)."
},
"state": {
"enum": [
"DRAFT",
"FINISH",
"ROUTING",
"MODERATION"
],
"type": "string",
"description": "Only campaigns in this state."
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Starting position, from 0 (default 0). Pass the previous reply's next_offset."
},
"search": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Text in the campaign name or subject."
}
}
},
"annotations": {
"title": "List campaigns",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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. |
{
"name": "sarbacane_get_campaign",
"title": "Get campaign details",
"description": "One campaign: state, kind, blacklists, send ids, sent date. The send id is needed to see content. GET /v1/campaigns/{campaignId}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"campaign_id"
],
"properties": {
"campaign_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Campaign id."
}
}
},
"annotations": {
"title": "Get campaign details",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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. |
{
"name": "sarbacane_get_campaign_report",
"title": "Get campaign statistics",
"description": "Statistics of a campaign per send: delivered count, opens, openers, clicks, clickers, unsubscribers, devices and operating systems. GET /v1/reports/{campaignId}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"campaign_id"
],
"properties": {
"campaign_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Campaign id."
}
}
},
"annotations": {
"title": "Get campaign statistics",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Recipients attached to a campaign (personal data: email, phone). GET /v1/campaigns/{campaignId}/recipients.
| 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. |
| campaign_id * | string | Campaign id. |
{
"name": "sarbacane_list_campaign_recipients",
"title": "List a campaign's recipients",
"description": "Recipients attached to a campaign (personal data: email, phone). GET /v1/campaigns/{campaignId}/recipients.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"campaign_id"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Maximum items returned, 1-1000 (default 50)."
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Starting position, from 0 (default 0). Pass the previous reply's next_offset."
},
"campaign_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Campaign id."
}
}
},
"annotations": {
"title": "List a campaign's recipients",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Webhook subscriptions of the account: url, display name and subscribed event kinds. GET /v1/webhooks.
No parameters.
{
"name": "sarbacane_list_webhooks",
"title": "List webhooks",
"description": "Webhook subscriptions of the account: url, display name and subscribed event kinds. GET /v1/webhooks.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List webhooks",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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 |
|---|---|---|
| name * | string | Campaign name (internal). |
| subject * | string | Email subject. |
| preheader | string | Preheader text. |
| alias_from * | string | Sender name. |
| email_from * | string | Sender email address (must be a sender allowed on the account). |
| alias_reply_to * | string | Reply-to name. |
| email_reply_to * | string | Reply-to email address. |
{
"name": "sarbacane_create_email_campaign",
"title": "Create an email campaign (draft)",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"email_from",
"alias_from",
"email_reply_to",
"alias_reply_to",
"subject"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Campaign name (internal)."
},
"subject": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Email subject."
},
"preheader": {
"type": "string",
"maxLength": 500,
"description": "Preheader text."
},
"alias_from": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Sender name."
},
"email_from": {
"type": "string",
"pattern": "^[^\\s@<>\",;]+@[^\\s@<>\",;]+\\.[^\\s@<>\",;]+$",
"maxLength": 320,
"minLength": 3,
"description": "Sender email address (must be a sender allowed on the account)."
},
"alias_reply_to": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Reply-to name."
},
"email_reply_to": {
"type": "string",
"pattern": "^[^\\s@<>\",;]+@[^\\s@<>\",;]+\\.[^\\s@<>\",;]+$",
"maxLength": 320,
"minLength": 3,
"description": "Reply-to email address."
}
}
},
"annotations": {
"title": "Create an email campaign (draft)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}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 |
|---|---|---|
| html * | string | The HTML body of the email. |
| text | string | Plain-text alternative. |
| send_id | string | Send id from sarbacane_get_campaign (campaign.sends). Optional when the campaign has one send. |
| campaign_id * | string | Campaign id. |
{
"name": "sarbacane_set_campaign_content",
"title": "Set a draft campaign's content",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"campaign_id",
"html"
],
"properties": {
"html": {
"type": "string",
"maxLength": 1000000,
"minLength": 1,
"description": "The HTML body of the email."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "Plain-text alternative."
},
"send_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Send id from sarbacane_get_campaign (campaign.sends). Optional when the campaign has one send."
},
"campaign_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Campaign id."
}
}
},
"annotations": {
"title": "Set a draft campaign's content",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}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). |
{
"name": "sarbacane_import_campaign_template",
"title": "Import a template into a draft campaign",
"description": "WRITE: load a saved template's content into an email campaign, replacing its content. POST /v1/campaigns/{campaignId}/content.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"campaign_id",
"template_id"
],
"properties": {
"campaign_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Campaign id."
},
"template_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Template id (from Sarbacane)."
}
}
},
"annotations": {
"title": "Import a template into a campaign",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}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 |
|---|---|---|
| list_id * | string | Contact list id (sarbacane_list_lists). |
| campaign_id * | string | Campaign id. |
{
"name": "sarbacane_set_campaign_list",
"title": "Attach a contact list to a draft campaign",
"description": "WRITE: import a contact list's contacts as the recipients of a campaign. It does not send the campaign. POST /v1/campaigns/{campaignId}/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"campaign_id",
"list_id"
],
"properties": {
"list_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Contact list id (sarbacane_list_lists)."
},
"campaign_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"minLength": 1,
"description": "Campaign id."
}
}
},
"annotations": {
"title": "Attach a contact list to a campaign",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Tools for Sarbacane, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Show the open and click statistics of my latest email campaign."; "How many email and SMS credits do I have left?"; "Add jane@example.com to my newsletter list with her first name.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Sarbacane data. Free plan: 50 tool calls per month. Run sarbacane_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run sarbacane_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run sarbacane_upgrade without a plan: it returns both plans, each with a payment link for the user to open. sarbacane_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.