Attentive MCP by usefulapi

v1.2.1
io.usefulapi/attentive Checked 4 days ago Published 1 day ago

Check subscriber opt-ins, read and change segments, and unsubscribe contacts in Attentive.

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

attentive_me Check API key

Return the company and app behind the current API key. Use it first to confirm the connection works. Attentive API: GET /v1/me.

attentive_get_subscriptions Get subscription eligibility

List the subscription types and channels (TEXT or EMAIL) a subscriber is opted in to, so you can check if they can receive a campaign. Look up by phone or email. Attentive API: GET /v1/subscriptions.

ParameterTypeDescription
emailstringSubscriber email. Give phone or email, not both.
phonestringSubscriber phone in E.164 format, for example +13115552368. Give phone or email, not both.

attentive_get_custom_attributes Get custom attributes

Return all custom attribute values stored for one subscriber. Look up by phone or email, not both. Attentive API: GET /v1/attributes/custom.

ParameterTypeDescription
emailstringSubscriber email. Give phone or email, not both.
phonestringSubscriber phone in E.164 format, for example +13115552368. Give phone or email, not both.

attentive_list_segments List segments

List segments with optional filters: name (partial match), externalId, updatedSince (ISO 8601). Use cursor from the previous response for the next page. Attentive API: GET /v2/segments.

ParameterTypeDescription
cursorstringCursor from the previous page.
externalIdstringExact external id of the segment.
limitintegerResults per page (default 20, max 1000).
namestringPartial match on the segment name.
updatedSincestringOnly segments updated at or after this ISO 8601 timestamp.

attentive_get_segment Get a segment

Get one segment by its external id, including its name, description and status. Attentive API: GET /v2/segments/external/{externalId}.

ParameterTypeDescription
external_id *stringThe segment external id (from attentive_list_segments).

attentive_get_clear_segment_status Get clear-segment status

Return the status of the latest clear-segment request for a segment (processing state, timestamps, failure reason). Attentive API: GET /v2/segments/external/{externalId}/clear-segment/status.

ParameterTypeDescription
external_id *stringThe segment external id.

attentive_get_bulk_job_status Get bulk job status

Check a bulk ingestion job by its id. The state is IN_PROGRESS, NEEDS_REVIEW, COMPLETED or CANCELLED, with totals. Attentive API: GET /v2/bulk/job/{bulkJobId}.

ParameterTypeDescription
bulk_job_id *stringThe bulkJobId returned by the bulk upload.

attentive_list_webhooks List webhooks

List the webhooks configured for this app: their target URLs and the event types they receive (for example sms.subscribed, sms.sent). Attentive API: GET /v1/webhooks.

attentive_unsubscribe Unsubscribe a subscriber

Unsubscribe one subscriber from the given subscription types and channels. If subscriptions is empty, the subscriber is unsubscribed from all. This changes consent: the subscriber stops receiving those messages. Attentive API: POST /v1/subscriptions/unsubscribe.

ParameterTypeDescription
disable_confirmation_messagebooleanTrue to skip the confirmation message.
emailstringSubscriber email. Give phone or email, not both.
languagestringLanguage of the confirmation text.
phonestringSubscriber phone in E.164 format, for example +13115552368. Give phone or email, not both.
subscriptionsarrayType and channel pairs to unsubscribe. Leave empty to unsubscribe from all.

attentive_create_segment Create a segment

Create a new, empty segment. Members are added later. A segment can drive campaigns and journeys, so check the name first. Attentive API: POST /v2/segments.

ParameterTypeDescription
name *stringSegment name (up to 240 characters).
descriptionstringOptional description (2 to 500 characters).
external_idstringOptional external id. Attentive generates one when omitted.

attentive_update_segment Update a segment

Change the name or description of a segment, found by external id. Give at least one of name or description. Attentive API: PATCH /v2/segments/external/{externalId}.

ParameterTypeDescription
external_id *stringThe segment external id.
descriptionstringNew description (2 to 500 characters).
namestringNew name (up to 240 characters).

attentive_archive_segment Archive a segment

Archive (soft delete) a segment by external id. It leaves list results and can be restored in the Attentive platform. Campaigns or journeys that use it may change. Attentive API: DELETE /v2/segments/external/{externalId}.

ParameterTypeDescription
external_id *stringThe segment external id to archive.