kirimi-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| KIRIMI_API_KEY | Yes | API key from Kirimi dashboard | |
| KIRIMI_DEVICE_ID | Yes | Default device ID for sending messages | |
| KIRIMI_API_BASE_URL | No | Override API base URL | https://api.kirimi.id |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Kirimi is a WhatsApp gateway. Two sending paths exist and they are not interchangeable:
QR-scan device (send_message, send_message_fast, broadcast_message). Free-form messages any time, and the only path that can reach WhatsApp groups.
Official WhatsApp Business API, called WABA (send_waba_template, waba_reply). Business-initiated messages must use a Meta-approved template. Free text is only allowed inside the 24 hour window after the customer's last message — check waba_list_conversations first.
Rules that prevent failed sends:
Phone numbers use the country code with no plus sign and no leading zero, e.g. 6281234567890.
WABA is addressed by waba_id, never by device_id. WABA cannot send to groups.
Before a broadcast, call device_status and confirm the device is connected. Leave at least 30 seconds between messages.
A successful WABA response only means Meta accepted the message, not that it was delivered.
never send an OTP through send_message. Use send_otp instead.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| send_messageB | Send a WhatsApp text or media message to one recipient through a QR-scan device. This is the normal way to reply to a customer. |
| send_message_fastA | Same as send_message but skips the typing indicator. Use for time-sensitive messages such as OTP. |
| broadcast_messageA | Send the same message to many recipients. Max 1000 numbers per call. The server enforces a minimum 30 second delay between sends, so this returns immediately while delivery continues in the background. |
| send_otpA | Send a one-time password. Pick the method deliberately: "whatsapp" uses the official Kirimi provider and costs Rp 595 per delivered OTP with no setup; "device" sends through your own connected device and is free; "waba_user" sends through your own WhatsApp Business API template and is free. |
| verify_otpB | Check an OTP code the customer received. Returns whether the code is valid. |
| list_devicesA | List every WhatsApp device on this account with its connection status. |
| device_statusA | Get the live connection status of a device. Check this before a broadcast so you do not send to a disconnected device. |
| device_status_enhancedA | Get detailed device status, including today and total message statistics. |
| create_deviceA | Create a new WhatsApp device. Costs the package price from your balance. Get package_id from list_packages. |
| connect_deviceB | Start connecting a device. Returns the QR/session state used to pair WhatsApp. |
| renew_deviceB | Renew a device subscription by buying a package for it. |
| save_contactA | Save one contact. Numbers that already exist are skipped, not overwritten. |
| get_contactsA | List the contacts saved on the phone of a QR device (names from the phone address book, plus WhatsApp profile names). Paginated. Not available for WABA numbers. |
| save_contacts_bulkA | Import up to 1000 contacts in one call. Existing numbers are skipped. |
| get_user_infoA | Get account details: name, balance (saldo), AI quota, device count and message statistics. |
| list_packagesA | List the packages you can buy for a device, with prices. |
| send_waba_templateA | Send an approved WhatsApp template through the official WhatsApp Business API. Business-initiated conversations MUST use a template. Templates cannot be replaced with free text. WABA cannot send to groups and is addressed by waba_id, not device_id. |
| waba_list_conversationsA | List the customers still inside the 24 hour customer service window. These are the numbers you may reply to with free text instead of a template. |
| waba_replyA | Reply with free-form text or media through the official API. Only allowed within 24 hours of the customer's last message — use waba_list_conversations to check first. Outside that window the API rejects it and you must send a template instead. |
| waba_sync_templatesA | Refresh template approval status from Meta for one WABA. Run this before sending a newly created template. Rate limited to 10 syncs per hour. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 20 tools
Most tools target distinct operations, but there are real overlap pairs: device_status vs device_status_enhanced (the latter is a superset with statistics), and send_message vs send_message_fast (identical except the typing indicator). The QR-device send path vs WABA path vs OTP path is also split across several tools whose boundaries an agent could get wrong, though the descriptions do help.
Names are all snake_case and readable, but the verb position and prefixing are mixed: create_device/list_devices are verb-first while device_status and waba_list_conversations are noun-prefixed, and only the WABA group uses a namespace prefix. The waba_* family itself is internally consistent.
Twenty tools is slightly heavy but justified by the breadth of the domain — device lifecycle, QR messaging, WABA messaging, contacts, OTP and packages are genuinely separate capabilities. The only clearly redundant tool is device_status_enhanced, which could fold into device_status.
Core flows (create/connect/renew/list devices, send, broadcast, contacts, OTP, WABA replies) are covered, but the device lifecycle has no disconnect/delete/logout operation and there is no get-message or delivery-status tool, so an agent cannot fully clean up or verify sends. Contact handling also lacks delete/update.