Attentive MCP by usefulapi
Check subscriber opt-ins, read and change segments, and unsubscribe contacts in Attentive.
使うべきか
品質と安全性
検出事項(3)
- LOWattentive_update_segment 内
- LOWattentive_get_custom_attributes 内
- LOWattentive_get_clear_segment_status 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"attentive": {
"url": "https://attentive.usefulapi.io/mcp"
}
}
}リモートエンドポイント
https://attentive.usefulapi.io/mcpstreamable-httpできること
ツール一覧
ツール(12)
🟢attentive_me
Return the company and app behind the current API key. Use it first to confirm the connection works. Attentive API: GET /v1/me.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢attentive_get_subscriptions(phone, email)
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.
入力スキーマ
{
"type": "object",
"properties": {
"phone": {
"description": "Subscriber phone in E.164 format, for example +13115552368. Give phone or email, not both.",
"type": "string",
"pattern": "^\\+[1-9]\\d{6,14}$"
},
"email": {
"description": "Subscriber email. Give phone or email, not both.",
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢attentive_get_custom_attributes(phone, email)
Return all custom attribute values stored for one subscriber. Look up by phone or email, not both. Attentive API: GET /v1/attributes/custom.
入力スキーマ
{
"type": "object",
"properties": {
"phone": {
"description": "Subscriber phone in E.164 format, for example +13115552368. Give phone or email, not both.",
"type": "string",
"pattern": "^\\+[1-9]\\d{6,14}$"
},
"email": {
"description": "Subscriber email. Give phone or email, not both.",
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢attentive_list_segments(name, externalId, updatedSince, cursor, limit)
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.
入力スキーマ
{
"type": "object",
"properties": {
"name": {
"description": "Partial match on the segment name.",
"type": "string",
"minLength": 1,
"maxLength": 240
},
"externalId": {
"description": "Exact external id of the segment.",
"type": "string",
"minLength": 1,
"maxLength": 255
},
"updatedSince": {
"description": "Only segments updated at or after this ISO 8601 timestamp.",
"type": "string"
},
"cursor": {
"description": "Cursor from the previous page.",
"type": "string",
"minLength": 1
},
"limit": {
"description": "Results per page (default 20, max 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢attentive_get_segment(external_id)
Get one segment by its external id, including its name, description and status. Attentive API: GET /v2/segments/external/{externalId}.
入力スキーマ
{
"type": "object",
"properties": {
"external_id": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "The segment external id (from attentive_list_segments)."
}
},
"required": [
"external_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢attentive_get_clear_segment_status(external_id)
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.
入力スキーマ
{
"type": "object",
"properties": {
"external_id": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "The segment external id."
}
},
"required": [
"external_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢attentive_get_bulk_job_status(bulk_job_id)
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}.
入力スキーマ
{
"type": "object",
"properties": {
"bulk_job_id": {
"type": "string",
"minLength": 1,
"description": "The bulkJobId returned by the bulk upload."
}
},
"required": [
"bulk_job_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢attentive_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.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴attentive_unsubscribe(phone, email, subscriptions, language, disable_confirmation_message)
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.
入力スキーマ
{
"type": "object",
"properties": {
"phone": {
"description": "Subscriber phone in E.164 format, for example +13115552368. Give phone or email, not both.",
"type": "string",
"pattern": "^\\+[1-9]\\d{6,14}$"
},
"email": {
"description": "Subscriber email. Give phone or email, not both.",
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"subscriptions": {
"description": "Type and channel pairs to unsubscribe. Leave empty to unsubscribe from all.",
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"MARKETING",
"TRANSACTIONAL",
"CHECKOUT_ABANDONED",
"CONTACT"
]
},
"channel": {
"type": "string",
"enum": [
"TEXT",
"EMAIL"
]
}
},
"required": [
"type",
"channel"
]
}
},
"language": {
"description": "Language of the confirmation text.",
"type": "string",
"enum": [
"en-US",
"fr-CA"
]
},
"disable_confirmation_message": {
"description": "True to skip the confirmation message.",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴attentive_create_segment(name, description, external_id)
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.
入力スキーマ
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 240,
"description": "Segment name (up to 240 characters)."
},
"description": {
"description": "Optional description (2 to 500 characters).",
"type": "string",
"minLength": 2,
"maxLength": 500
},
"external_id": {
"description": "Optional external id. Attentive generates one when omitted.",
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"required": [
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡attentive_update_segment(external_id, name, description)
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}.
入力スキーマ
{
"type": "object",
"properties": {
"external_id": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "The segment external id."
},
"name": {
"description": "New name (up to 240 characters).",
"type": "string",
"minLength": 1,
"maxLength": 240
},
"description": {
"description": "New description (2 to 500 characters).",
"type": "string",
"minLength": 2,
"maxLength": 500
}
},
"required": [
"external_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴attentive_archive_segment(external_id)
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}.
入力スキーマ
{
"type": "object",
"properties": {
"external_id": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "The segment external id to archive."
}
},
"required": [
"external_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス