DoubleTick MCP by usefulapi
Read chats, messages and templates; send WhatsApp messages and tag customers in DoubleTick.
使うべきか
品質と安全性
検出事項(2)
- LOWdoubletick_get_chat_window_status 内
- LOWdoubletick_assign_customer_tags 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"doubletick": {
"url": "https://doubletick.usefulapi.io/mcp"
}
}
}リモートエンドポイント
https://doubletick.usefulapi.io/mcpstreamable-httpできること
ツール一覧
ツール(12)
🟢doubletick_list_channels(wabaNumber)
List the WhatsApp numbers (channels) connected to the account, with each business profile. Optionally filter by one WhatsApp number. Read-only. Calls GET /organization/channel/profile.
入力スキーマ
{
"type": "object",
"properties": {
"wabaNumber": {
"description": "Only this connected WhatsApp number, with country code.",
"type": "string",
"pattern": "^\\+?[1-9][0-9]{6,14}$"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢doubletick_list_chats(limit, status, wabaNumbers, tags, assignedUserPhone, ...)
List the chats in the team inbox, with optional filters and cursor paging (send nextChatId and nextChatTimestamp from the previous page). Read-only. Calls GET /chats.
入力スキーマ
{
"type": "object",
"properties": {
"limit": {
"description": "Chats per page, 1 to 100 (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"status": {
"description": "Chat status filter, as the DoubleTick inbox uses it.",
"type": "string",
"maxLength": 50
},
"wabaNumbers": {
"description": "Comma-separated connected WhatsApp numbers.",
"type": "string",
"maxLength": 500
},
"tags": {
"description": "Comma-separated chat tags.",
"type": "string",
"maxLength": 500
},
"assignedUserPhone": {
"description": "Phone of the assigned team member. Send the text \"null\" for unassigned chats.",
"type": "string",
"maxLength": 50
},
"nextChatId": {
"description": "Paging: nextChatId from the previous response.",
"type": "string",
"maxLength": 100
},
"nextChatTimestamp": {
"description": "Paging: nextChatTimestamp from the previous response.",
"type": "string",
"maxLength": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢doubletick_get_chat_messages(wabaNumber, customerNumber, startDate, endDate)
Return the messages between one connected WhatsApp number and one customer, optionally for a date range. Read-only. Calls GET /chat-messages.
入力スキーマ
{
"type": "object",
"properties": {
"wabaNumber": {
"type": "string",
"pattern": "^\\+?[1-9][0-9]{6,14}$",
"description": "Connected WhatsApp number, with country code."
},
"customerNumber": {
"type": "string",
"pattern": "^\\+?[1-9][0-9]{6,14}$",
"description": "Customer phone number, with country code."
},
"startDate": {
"description": "Start of the range, date as DD-MM-YYYY, e.g. 17-11-2026.",
"type": "string",
"pattern": "^\\d{2}-\\d{2}-\\d{4}$"
},
"endDate": {
"description": "End of the range, date as DD-MM-YYYY, e.g. 17-11-2026.",
"type": "string",
"pattern": "^\\d{2}-\\d{2}-\\d{4}$"
}
},
"required": [
"wabaNumber",
"customerNumber"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢doubletick_get_message_status(messageId)
Return the delivery timeline (sent, delivered, read, replied, failed) of a message sent through DoubleTick. Read-only. Calls GET /whatsapp/message/status.
入力スキーマ
{
"type": "object",
"properties": {
"messageId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Message ID (UUID) returned by a send tool."
}
},
"required": [
"messageId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢doubletick_get_customer(phoneNumber, customerId, wabaNumber)
Return one customer's name, phone number, assigned team member, tags and custom fields. Give a phone number or a customer ID. Read-only. Calls GET /customer/details.
入力スキーマ
{
"type": "object",
"properties": {
"phoneNumber": {
"description": "Customer phone number with country code, e.g. +919999999999.",
"type": "string",
"pattern": "^\\+?[1-9][0-9]{6,14}$"
},
"customerId": {
"description": "Customer ID, for a customer without a phone number.",
"type": "string",
"maxLength": 100
},
"wabaNumber": {
"description": "Connected WhatsApp number that holds the chat.",
"type": "string",
"pattern": "^\\+?[1-9][0-9]{6,14}$"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢doubletick_get_chat_window_status(customerPhoneNumber, wabaNumber)
Check whether the 24-hour customer service window is open for a customer on a WhatsApp number. Open means free-form text is allowed. Read-only. Calls GET /chat/status.
入力スキーマ
{
"type": "object",
"properties": {
"customerPhoneNumber": {
"type": "string",
"pattern": "^\\+?[1-9][0-9]{6,14}$",
"description": "Customer phone number with country code, e.g. +919999999999."
},
"wabaNumber": {
"description": "Connected WhatsApp number. Left out, DoubleTick uses one of the account's numbers.",
"type": "string",
"pattern": "^\\+?[1-9][0-9]{6,14}$"
}
},
"required": [
"customerPhoneNumber"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢doubletick_list_templates(status, name, language, category, wabaPhoneNumbers)
List the WhatsApp message templates with their components, approval status and WhatsApp number. Read-only. Calls GET /v2/templates.
入力スキーマ
{
"type": "object",
"properties": {
"status": {
"description": "Template status filter, e.g. APPROVED.",
"type": "string",
"maxLength": 50
},
"name": {
"description": "Template name filter.",
"type": "string",
"maxLength": 512
},
"language": {
"description": "Language code filter, e.g. en.",
"type": "string",
"maxLength": 10
},
"category": {
"description": "Category filter, e.g. MARKETING or UTILITY.",
"type": "string",
"maxLength": 50
},
"wabaPhoneNumbers": {
"description": "Comma-separated connected WhatsApp numbers.",
"type": "string",
"maxLength": 500
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢doubletick_get_wallet_balance
Return the DoubleTick wallet balance and currency of the organization. Read-only. Calls GET /wallet/balance.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢doubletick_list_team
List every team member of the organization with their reporting manager. Read-only. Calls GET /team.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴doubletick_send_text(to, groupId, from, text)
Send one plain text WhatsApp message to a customer or a WhatsApp group. It reaches a real person and cannot be recalled. Works only inside the customer's 24-hour window (see doubletick_get_chat_window_status). Confirm the recipient and the text with the user before calling. Calls POST /whatsapp/message/text.
入力スキーマ
{
"type": "object",
"properties": {
"to": {
"description": "Recipient phone number with country code, e.g. +919999999999. Give this or groupId.",
"type": "string",
"pattern": "^\\+?[1-9][0-9]{6,14}$"
},
"groupId": {
"description": "WhatsApp group ID. Give this or to.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"from": {
"description": "Connected WhatsApp number to send from. Left out, DoubleTick uses one of the account's numbers.",
"type": "string",
"pattern": "^\\+?[1-9][0-9]{6,14}$"
},
"text": {
"type": "string",
"maxLength": 4096,
"description": "Message text, up to 4096 characters. Blank text is refused."
}
},
"required": [
"text"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴doubletick_send_template(to, groupId, from, templateName, language, ...)
Send one approved WhatsApp template message to a customer or a WhatsApp group. Works outside the 24-hour window. It reaches a real person and cannot be recalled. Confirm the recipient and the content with the user before calling. Calls POST /v2/whatsapp/message/template.
入力スキーマ
{
"type": "object",
"properties": {
"to": {
"description": "Recipient phone number with country code, e.g. +919999999999. Give this or groupId.",
"type": "string",
"pattern": "^\\+?[1-9][0-9]{6,14}$"
},
"groupId": {
"description": "WhatsApp group ID. Give this or to.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"from": {
"description": "Connected WhatsApp number to send from.",
"type": "string",
"pattern": "^\\+?[1-9][0-9]{6,14}$"
},
"templateName": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"description": "Approved template name, as listed by doubletick_list_templates."
},
"language": {
"type": "string",
"minLength": 2,
"maxLength": 10,
"description": "Template language code, e.g. en."
},
"bodyPlaceholders": {
"description": "Body variables as key-value objects in order, e.g. [{\"name\":\"John\"},{\"url\":\"https://example.com\"}].",
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
}
}
},
"required": [
"templateName",
"language"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡doubletick_assign_customer_tags(phone, wabaNumber, tags, customFields, name)
Add tags, set custom field values and set the name of one customer. Existing tags and fields not listed stay as they are. Calling it again with the same values changes nothing. Calls POST /customer/assign-tags-custom-fields.
入力スキーマ
{
"type": "object",
"properties": {
"phone": {
"type": "string",
"pattern": "^\\+?[1-9][0-9]{6,14}$",
"description": "Customer phone number with country code, e.g. +919999999999."
},
"wabaNumber": {
"description": "Connected WhatsApp number that holds the chat. Needed for chat-level tags.",
"type": "string",
"pattern": "^\\+?[1-9][0-9]{6,14}$"
},
"tags": {
"description": "Tags to add, each up to 50 characters.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 50
}
},
"customFields": {
"description": "Custom fields to set, as name and value pairs.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"value": {
"type": "string",
"maxLength": 3000
}
},
"required": [
"name",
"value"
]
}
},
"name": {
"description": "New customer name.",
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"phone"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス