SmartrMail MCP by usefulapi

v1.2.1
io.usefulapi/smartrmail Checked 3 days ago Published 1 day ago

Read subscriber lists and one subscriber; create lists and update subscribers in SmartrMail.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

smartrmail_list_lists List subscriber lists

List all subscriber lists in the account, with each list's id, name and subscriber count. Good first call to find a list_id. SmartrMail API: GET /lists.

smartrmail_get_list Get a subscriber list

Get one subscriber list by id: its name and subscriber count. SmartrMail API: GET /lists/{list_id}.

ParameterTypeDescription
list_id *stringThe list id (from smartrmail_list_lists).

smartrmail_get_subscriber Get a subscriber

Get one subscriber by email address, phone number or UID: contact fields, subscribed state, unsubscribed_at, delivery, open and click counts, and custom fields. SmartrMail API: GET /subscribers/{id}.

ParameterTypeDescription
subscriber_id *stringThe subscriber's email address, phone number, or UID (for example a phone number in E.164 form).

smartrmail_create_list Create a subscriber list

Create a new subscriber list with a name. Each call creates a new list. SmartrMail API: POST /lists.

ParameterTypeDescription
name *stringName of the new list.

smartrmail_rename_list Rename a subscriber list

Change the name of one subscriber list. Repeating the same call leaves the list unchanged. SmartrMail API: PUT /lists/{list_id}.

ParameterTypeDescription
list_id *stringThe list id (from smartrmail_list_lists).
name *stringThe new name for the list.

smartrmail_update_subscriber Update a subscriber

Update a subscriber's name, phone, subscribed flag or custom fields. Only the fields you pass change. Custom fields are matched by field_name. Repeating the same call leaves the subscriber unchanged. SmartrMail API: PUT /subscribers/{id}.

ParameterTypeDescription
subscriber_id *stringThe subscriber's email address, phone number, or UID (for example a phone number in E.164 form).
custom_fieldsarrayCustom fields to set or update.
first_namestringNew first name.
last_namestringNew last name.
phonestringNew phone number.
subscribedbooleanSet false to mark as unsubscribed, true to mark as subscribed.

smartrmail_unsubscribe_subscriber Unsubscribe a subscriber

Unsubscribe a subscriber so they receive no more campaigns. Changes only the subscription status; custom field data stays. SmartrMail API: POST /subscribers/{id}/unsubscribe.

ParameterTypeDescription
subscriber_id *stringThe subscriber's email address, phone number, or UID (for example a phone number in E.164 form).

smartrmail_resubscribe_subscriber Resubscribe a subscriber

Mark a subscriber as subscribed again. Does not trigger list welcome automations. Custom field data stays. SmartrMail API: POST /subscribers/{id}/resubscribe.

ParameterTypeDescription
subscriber_id *stringThe subscriber's email address, phone number, or UID (for example a phone number in E.164 form).