Attentive MCP by usefulapi
v1.2.1Check 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.
| Parameter | Type | Description |
|---|---|---|
email | string | Subscriber email. Give phone or email, not both. |
phone | string | Subscriber 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.
| Parameter | Type | Description |
|---|---|---|
email | string | Subscriber email. Give phone or email, not both. |
phone | string | Subscriber 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.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Cursor from the previous page. |
externalId | string | Exact external id of the segment. |
limit | integer | Results per page (default 20, max 1000). |
name | string | Partial match on the segment name. |
updatedSince | string | Only 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}.
| Parameter | Type | Description |
|---|---|---|
external_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
external_id * | string | The 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}.
| Parameter | Type | Description |
|---|---|---|
bulk_job_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
disable_confirmation_message | boolean | True to skip the confirmation message. |
email | string | Subscriber email. Give phone or email, not both. |
language | string | Language of the confirmation text. |
phone | string | Subscriber phone in E.164 format, for example +13115552368. Give phone or email, not both. |
subscriptions | array | Type 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Segment name (up to 240 characters). |
description | string | Optional description (2 to 500 characters). |
external_id | string | Optional 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}.
| Parameter | Type | Description |
|---|---|---|
external_id * | string | The segment external id. |
description | string | New description (2 to 500 characters). |
name | string | New 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}.
| Parameter | Type | Description |
|---|---|---|
external_id * | string | The segment external id to archive. |