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"
}커뮤니티
증거