Emailchef MCP by usefulapi
v1.10.1Read lists, contacts, campaign stats; add contacts; draft, schedule and send campaigns and SMS.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
emailchef_get_account Get account
The Emailchef account this API key belongs to: id, email, language, status, subscriber total, bounces and complaints. GET /accounts/current.
emailchef_get_subscription Get subscription
The account's current Emailchef plan: plan name, plan expiry, contact and send limits, credits left, active/expired flags. Check this before a big send. GET /subscriptions/current.
emailchef_list_senders List senders
List the sender identities (name, email, verification status, postal address). Campaigns and emails need a verified sender id. GET /senders.
emailchef_list_timezones List timezones
List Emailchef's timezones (id, name, fixed UTC offset). The id is required to schedule a campaign. GET /meta/timezones.
emailchef_list_lists List contact lists
List the contact lists with id, name, and counts of active, unsubscribed and bounced contacts and segments. Newest first by default. GET /lists.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
offset | integer | Rows to skip (default 0). Pass the previous reply's next_offset. |
order | string | Sort direction (default desc). |
order_by | string | Sort by creation date (default) or name. |
emailchef_get_list Get list
One contact list: name, description, default sender, creation date. GET /lists/{list_id}.
| Parameter | Type | Description |
|---|---|---|
list_id * | Numeric id (as returned by the list tools). |
emailchef_get_list_stats Get list growth stats
Daily growth of a list over a date range: total contacts per day and the daily delta. Omit the dates for the whole history. GET /lists/{list_id}/stats.
| Parameter | Type | Description |
|---|---|---|
list_id * | Numeric id (as returned by the list tools). | |
end_date | string | Last day, yyyy-mm-dd. |
start_date | string | First day, yyyy-mm-dd. |
emailchef_get_list_contact_counts Get list contact counts
How many contacts a list has by state: active, unsubscribed, bounced, reported. GET /lists/{list_id}/stats/count.
| Parameter | Type | Description |
|---|---|---|
list_id * | Numeric id (as returned by the list tools). |
emailchef_create_list Create list
WRITE: create a new, empty contact list. Returns the new list id. POST /lists.
| Parameter | Type | Description |
|---|---|---|
name * | string | List name. |
description | string | List description. |
emailchef_update_list Update list
WRITE: rename a contact list and/or change its description. Only the fields you pass change. PUT /lists/{list_id}.
| Parameter | Type | Description |
|---|---|---|
list_id * | Numeric id (as returned by the list tools). | |
description | string | New description. |
name | string | New list name. |
emailchef_list_contacts List contacts
List the contacts of one list (id, email, name, added by, subscription date), optionally by state. GET /contacts?list_id=...
| Parameter | Type | Description |
|---|---|---|
list_id * | Numeric id (as returned by the list tools). | |
limit | integer | Results per page, 1-100 (default 25). |
offset | integer | Rows to skip (default 0). Pass the previous reply's next_offset. |
order | string | Sort direction (default desc). |
order_by | string | Sort field (default subscription date). |
status | string | Only contacts in this state (default: all). |
emailchef_get_contact Get contact
One contact in one list: status, email, name, IP, how it was added, when, and its custom field values. GET /contacts/{contact_id}?list_id=...
| Parameter | Type | Description |
|---|---|---|
contact_id * | Numeric id (as returned by the list tools). | |
list_id * | Numeric id (as returned by the list tools). |
emailchef_create_contact Add contact to a list
WRITE: add a contact (email, name, custom fields) to a list. Only add people who agreed to receive email: an ACTIVE contact will receive the account's campaigns and automations. Returns the contact id and status. POST /contacts.
| Parameter | Type | Description |
|---|---|---|
email * | string | |
list_id * | Numeric id (as returned by the list tools). | |
custom_fields | object | Custom field values keyed by the field's place_holder (see emailchef_list_custom_fields): a string, or true/false for boolean fields. |
first_name | string | |
last_name | string | |
status | string | Initial state (default: the account's default, normally ACTIVE). |
emailchef_update_contact Update contact
WRITE: change a contact's name, state or custom fields in one list. Only the fields you pass change. Setting the status to ACTIVE re-subscribes someone: only do so with their consent. PUT /contacts/{contact_id}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | Numeric id (as returned by the list tools). | |
list_id * | Numeric id (as returned by the list tools). | |
custom_fields | object | Custom field values keyed by the field's place_holder (see emailchef_list_custom_fields): a string, or true/false for boolean fields. |
first_name | string | |
last_name | string | |
status | string |
emailchef_unsubscribe_contact Unsubscribe contact
WRITE: unsubscribe one contact from one list (it stops receiving that list's email). POST /lists/{list_id}/unsubscribe?contact_id=...
| Parameter | Type | Description |
|---|---|---|
contact_id * | Numeric id (as returned by the list tools). | |
list_id * | Numeric id (as returned by the list tools). |
emailchef_import_contacts Import contacts
WRITE: bulk-add or update up to 500 contacts in a list in one call (an existing email is updated). Each contact is an object keyed by field placeholder, e.g. {"email":"a@b.com","firstname":"Ada"}: get the placeholders from emailchef_list_predefined_fields and emailchef_list_custom_fields. Import only people who agreed to receive email. Runs in the background: poll emailchef_get_import_task with the returned id. POST /lists/{list_id}/import.
| Parameter | Type | Description |
|---|---|---|
contacts * | array | Contacts to import, each keyed by placeholder. |
list_id * | Numeric id (as returned by the list tools). |
emailchef_list_import_tasks List import tasks
List contact import tasks: list, status (DISPATCHED, COMPLETE, FAILED), progress, imported/updated/failed counts. GET /importtasks.
emailchef_get_import_task Get import task
One import task: status, progress, imported/updated/failed counts and any error message. GET /importtasks/{task_id}.
| Parameter | Type | Description |
|---|---|---|
task_id * | Numeric id (as returned by the list tools). |
emailchef_list_predefined_fields List predefined fields
The built-in contact fields (email, first name, ...) with their placeholders. GET /predefinedfields.
emailchef_list_custom_fields List custom fields
The custom contact fields of a list: name, data type, placeholder (the key used when writing contacts), options. GET /lists/{list_id}/customfields.
| Parameter | Type | Description |
|---|---|---|
list_id * | Numeric id (as returned by the list tools). |
emailchef_list_segments List segments
List the saved segments of a list with how many contacts match each. GET /lists/{list_id}/segments.
| Parameter | Type | Description |
|---|---|---|
list_id * | Numeric id (as returned by the list tools). | |
limit | integer | Results per page, 1-100 (default 25). |
offset | integer | Rows to skip (default 0). Pass the previous reply's next_offset. |
emailchef_get_segment Get segment
One segment with its logic and condition groups. GET /lists/{list_id}/segments/{segment_id}.
| Parameter | Type | Description |
|---|---|---|
list_id * | Numeric id (as returned by the list tools). | |
segment_id * | Numeric id (as returned by the list tools). |
emailchef_list_blocked List blocked emails
List the account's blocklist (emails that never receive email): address and reason (MANUAL, UNSUBSCRIBED, COMPLAINT). GET /blockings.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
offset | integer | Rows to skip (default 0). Pass the previous reply's next_offset. |
search | string | Only addresses containing this text. |
emailchef_block_emails Block emails
WRITE: add up to 100 addresses to the account blocklist so they never receive email from any list. Reversible with emailchef_unblock_email. POST /blockings?type=MANUAL.
| Parameter | Type | Description |
|---|---|---|
emails * | array | Addresses to block. |
emailchef_unblock_email Unblock email
WRITE: remove one address from the account blocklist so it can receive email again. Only do this for an address whose owner asked for it. DELETE /blockings/{email}.
| Parameter | Type | Description |
|---|---|---|
email * | string |
emailchef_get_campaign_counts Get campaign counts
How many campaigns the account has by state: drafts, sent, scheduled, archived, failed. GET /campaigns/count.
emailchef_list_campaigns List campaigns
List email campaigns with state, recipients, delivered, unique opens and unique clicks. Without a status filter Emailchef returns only SENT and ARCHIVED campaigns; pass a status to see DRAFT, SCHEDULED, SENDING or FAILED ones. GET /campaigns.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
offset | integer | Rows to skip (default 0). Pass the previous reply's next_offset. |
order | string | Sort direction (default desc). |
order_by | string | Sort by date (default) or name. |
search | string | Only campaigns whose name contains this text. |
status | string | Only campaigns in this state (default: SENT and ARCHIVED). |
emailchef_get_campaign Get campaign
One campaign: name, subject, HTML and text body, sender, reply-to, state, schedule, recipient lists/segments and cached sent/open/click counts. GET /campaigns/{id}.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | Numeric id (as returned by the list tools). |
emailchef_get_campaign_links Get campaign links
The links contained in a campaign (id, name, URL). GET /newsletters/{id}/links.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | Numeric id (as returned by the list tools). |
emailchef_list_campaign_engagement List campaign engagement
Per-contact engagement for a sent campaign: who opened, clicked, was delivered, did not open, unsubscribed, complained, or was sent to, with counts and first/last event time. Pick exactly one event. GET /newsletters/{id}/contacts.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | Numeric id (as returned by the list tools). | |
event * | string | Which engagement slice to list. |
limit | integer | Results per page, 1-100 (default 25). |
offset | integer | Rows to skip (default 0). Pass the previous reply's next_offset. |
search | string | Only contacts whose email or name contains this text. |
emailchef_create_campaign Create campaign (draft)
WRITE: create a new campaign as a DRAFT (nothing is sent). Needs a verified sender (emailchef_list_senders) and at least one list. To be sendable the HTML body must contain the CAN-SPAM placeholders [[account:business]], [[account:address_1]], [[account:city]], [[account:postal_code]], [[account:country]] and an unsubscribe link <a href="[[unsubscribe_link]]">, otherwise the send ends FAILED. Schedule or send it afterwards. POST /newsletters.
| Parameter | Type | Description |
|---|---|---|
list_ids * | array | Lists to send to. |
name * | string | Campaign name (must be unique in the account). |
sender_id * | A verified sender id from emailchef_list_senders. | |
subject * | string | Email subject. |
html_body | string | HTML body (include the CAN-SPAM placeholders and unsubscribe link). |
reply_to_id | Sender id used for replies. | |
segment_id | Optional segment of the FIRST list to narrow the audience. | |
text_body | string | Plain-text body. |
emailchef_clone_campaign Clone campaign
WRITE: copy an existing campaign into a new DRAFT (nothing is sent). A SENT campaign cannot be cloned (Emailchef answers HTTP 500). Returns the new campaign id. POST /newsletters?clone=1.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | The campaign to copy. |
emailchef_update_campaign Update draft campaign
WRITE: change a DRAFT campaign's name, subject, body, sender, reply-to or recipient lists. Only the fields you pass change: the tool reads the campaign first and sends the complete record back, because Emailchef blanks any omitted field. Refuses a campaign that is not a DRAFT. PUT /newsletters/{id}.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | Numeric id (as returned by the list tools). | |
html_body | string | |
list_ids | array | Replace the recipient lists (any segment is dropped unless segment_id is also passed). |
name | string | |
reply_to_id | Numeric id (as returned by the list tools). | |
segment_id | Segment of the first list (only with list_ids). | |
sender_id | Numeric id (as returned by the list tools). | |
subject | string | |
text_body | string |
emailchef_send_test_campaign Send campaign test email
WRITE: email ONE test copy of a campaign to a single address. The campaign state does not change. The sender must be verified. PUT /campaigns/{id}/sendtest.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | Numeric id (as returned by the list tools). | |
email * | string | Where to send the test copy. |
emailchef_schedule_campaign Schedule campaign
WRITE, SENDS EMAIL TO CUSTOMERS LATER: schedule a DRAFT campaign to go out to all its recipients at a date and time. Emailchef timezones are fixed offsets without daylight saving: pick the id (emailchef_list_timezones) whose offset matches the send date. Undo before it starts with emailchef_unschedule_campaign. PUT /campaigns/{id}/schedule.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | Numeric id (as returned by the list tools). | |
scheduled_time * | string | Local send time in the chosen timezone, YYYY-MM-DD HH:MM:SS (no UTC offset or Z). |
timezone_id * | Timezone id from emailchef_list_timezones. |
emailchef_unschedule_campaign Unschedule campaign
WRITE: cancel the schedule of a SCHEDULED campaign and bring it back to DRAFT. PUT /campaigns/{id}/unschedule.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | Numeric id (as returned by the list tools). |
emailchef_send_campaign Send campaign now
WRITE, SENDS EMAIL TO CUSTOMERS NOW AND CANNOT BE UNDONE: start sending a DRAFT (or FAILED) campaign immediately to ALL its recipients and use up plan sends. Check the recipients (emailchef_get_campaign), the sender and the subscription first, ideally after emailchef_send_test_campaign, and send only with the user's explicit go-ahead (confirm must be true). Queued asynchronously: poll emailchef_get_campaign for the final state. PUT /campaigns/{id}/send.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | Numeric id (as returned by the list tools). | |
confirm * | boolean | Must be true: the user explicitly approved sending this campaign now. |
emailchef_archive_campaign Archive campaign
WRITE: archive a campaign (hidden from the default list; statistics are kept). Reversible with emailchef_unarchive_campaign. PUT /campaigns/{id}/archivecampaign.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | Numeric id (as returned by the list tools). |
emailchef_unarchive_campaign Restore archived campaign
WRITE: restore an archived campaign. PUT /campaigns/{id}/unarchivecampaign.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | Numeric id (as returned by the list tools). |
emailchef_send_email Send one email
WRITE, SENDS AN EMAIL NOW AND CANNOT BE UNDONE: send a single email to one recipient from a verified sender and use up plan sends. Pass text_body and/or html_body. The recipient does not need to be a contact. Send only with the user's explicit go-ahead (confirm must be true). POST /sendmail.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true: the user explicitly approved sending this email now. |
sender_id * | A verified sender id from emailchef_list_senders. | |
subject * | string | |
to_email * | string | |
html_body | string | |
reply_to | string | |
text_body | string | |
to_name | string |
emailchef_get_sms_balance Get SMS balance
The account's SMS credit balance and currency. GET /sms/balance.
emailchef_get_sms_status Get SMS status
Delivery status of one sent SMS by message id: recipient, text, sent/done time, parts, price, state and error. GET /sms/status/{messageId}.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | Message id returned by emailchef_send_sms. |
emailchef_send_sms Send SMS
WRITE, SENDS TEXT MESSAGES NOW, COSTS SMS CREDIT AND CANNOT BE UNDONE: send an SMS to 1-50 phone numbers in international format (e.g. +393331234567). Check emailchef_get_sms_balance first and send only with the user's explicit go-ahead (confirm must be true). Returns a message id per recipient and the remaining balance. POST /sms/send.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true: the user explicitly approved sending these SMS now. |
text * | string | The message text. |
to * | array | Recipient phone numbers. |
from | string | Sender name or number (default: the account's). |