Zadarma MCP by usefulapi
v1.10.1Read balance, tariffs, SIP and PBX status and call logs; send SMS in Zadarma.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
zadarma_get_balance Get account balance
Get the current account balance and its currency. Good first call to check the account works. Zadarma API: GET /v1/info/balance/.
zadarma_get_tariff Get price plan
Get the account's current price plan (tariff). Zadarma API: GET /v1/tariff/.
zadarma_get_call_price Get call rate for a number
Get the per-minute call rate in the account's price plan for one phone number (destination, prefix and currency). Zadarma API: GET /v1/info/price/.
| Parameter | Type | Description |
|---|---|---|
number * | string | Destination phone number, digits with country code, e.g. 442037691880. |
zadarma_list_sip_numbers List SIP numbers
List the SIP numbers (IDs, names and status) on the account. Zadarma API: GET /v1/sip/.
zadarma_get_sip_status Get SIP number status
Check whether one SIP number is online. Zadarma API: GET /v1/sip/{sip}/status/.
| Parameter | Type | Description |
|---|---|---|
sip * | string | SIP number ID, e.g. 00001 (padded to 5 digits). |
zadarma_list_pbx_extensions List PBX extensions
List the extensions of the cloud PBX (number, name and settings). Zadarma API: GET /v1/pbx/internal/.
zadarma_get_pbx_extension_status Get PBX extension status
Check whether one PBX extension is online. Zadarma API: GET /v1/pbx/internal/{pbxsip}/status/.
| Parameter | Type | Description |
|---|---|---|
pbxsip * | string | PBX extension number, e.g. 100. |
zadarma_list_virtual_numbers List virtual numbers
List the virtual (direct) phone numbers rented on the account. Zadarma API: GET /v1/direct_numbers/.
zadarma_get_call_statistics Get call statistics
Get the call log for a period, optionally for one SIP number. Limited to 3 calls per minute per user: do not poll it. For live PBX data, use webhooks instead. Zadarma API: GET /v1/statistics/.
| Parameter | Type | Description |
|---|---|---|
end | string | End, yyyy-mm-dd (to 23:59:59) or yyyy-mm-dd hh:mm:ss. |
sip | string | Only calls on this SIP number ID. |
start | string | Start, yyyy-mm-dd (from 00:00:00) or yyyy-mm-dd hh:mm:ss. |
zadarma_get_call_recording_link Get call recording link
Get a temporary download link for a call recording. Give the call_id or the pbx_call_id from zadarma_get_pbx_call_statistics (rows with is_recorded true); the id field of zadarma_get_call_statistics is not a call_id. A pbx_call_id can return several links. Zadarma API: GET /v1/pbx/record/request/.
| Parameter | Type | Description |
|---|---|---|
call_id | string | call_id from zadarma_get_pbx_call_statistics or the recording file name. |
lifetime | integer | Link lifetime in seconds (180 to 5184000, default 1800). |
pbx_call_id | string | pbx_call_id from zadarma_get_pbx_call_statistics (for example in_ae6b03b3…). |
zadarma_get_pbx_call_statistics Get PBX call statistics
Get the cloud PBX call log for a period: per call the call_id, pbx_call_id, extension (sip), start time, caller id, destination, disposition (answered, busy, no answer …), seconds and is_recorded. Use call_id or pbx_call_id with zadarma_get_call_recording_link and call_id with zadarma_get_call_transcript. Up to 1000 rows per page (skip/limit). Limited to 3 statistics calls per minute per user: do not poll it; use one wide period and page. Zadarma API: GET /v1/statistics/pbx/ (version 2).
| Parameter | Type | Description |
|---|---|---|
end * | string | End, yyyy-mm-dd (to 23:59:59) or yyyy-mm-dd hh:mm:ss. |
start * | string | Start, yyyy-mm-dd (from 00:00:00) or yyyy-mm-dd hh:mm:ss. |
call_type | string | in = incoming calls only, out = outgoing calls only. Leave out for both. |
limit | integer | Rows per page, 1 to 1000 (default 1000). |
skip | integer | Rows to skip (paging, default 0). |
zadarma_get_call_transcript Get call transcript
Get the speech recognition (transcript) of one recorded PBX call: recognitionStatus, language, and the text as phrases (default) or words with start/end times, per channel. recognitionStatus 'ready for recognize' means no transcript exists yet: start one with zadarma_start_call_transcription (or turn on automatic recognition for the extension in Zadarma). 'in progress' means try again later. Zadarma API: GET /v1/speech_recognition/.
| Parameter | Type | Description |
|---|---|---|
call_id * | string | call_id from zadarma_get_pbx_call_statistics (a recorded call). |
alternatives | boolean | Also return alternative results (default false). |
lang | string | Recognition language, for example en-EN or es-ES. Leave out for the call's language. |
return | string | phrases (default) or words with timings. |
zadarma_start_call_transcription Start call transcription
WRITE: ask Zadarma to start speech recognition of one recorded PBX call. Zadarma requires manual recognition to be enabled in the extension's settings first. Recognition is a Zadarma service that may be charged under the account's price plan; ask the user before starting many. Read the result later with zadarma_get_call_transcript. Zadarma API: PUT /v1/speech_recognition/.
| Parameter | Type | Description |
|---|---|---|
call_id * | string | call_id from zadarma_get_pbx_call_statistics (a recorded call). |
lang | string | Recognition language, for example en-EN or es-ES. |
zadarma_list_sms_templates List SMS templates
List the SMS templates on the account, by category. Zadarma API: GET /v1/sms/templates/.
| Parameter | Type | Description |
|---|---|---|
language | string | Template language, e.g. en. Default: the account language. |
limit | integer | Templates to return (default 25, maximum 1000). |
skip | integer | Templates to skip (default 0). |
zadarma_send_sms Send SMS
Send an SMS to up to 10 phone numbers. This sends real messages and uses account balance; each send is billed. It is not retried, so check the result before sending again. Zadarma API: POST /v1/sms/send/.
| Parameter | Type | Description |
|---|---|---|
message * | string | Message text. Long text is split into several SMS and billed per part. |
numbers * | array | Recipient phone numbers, digits with country code. |
language | string | Template language, if the message uses a template. |
sender | string | Sender: a virtual number or a text name (see the account's sender list). |
zadarma_request_callback Start callback call
WRITE: ask the user before starting a callback. By default Zadarma calls `from` first, then connects it to `to`. With `predicted` true, Zadarma calls `to` first and connects `from` only if `to` answers. The call uses account balance. It is not retried, so check the reply before starting another. Zadarma API: GET /v1/request/callback/.
| Parameter | Type | Description |
|---|---|---|
from * | string | Your phone number or SIP/PBX extension: the number Zadarma calls for the callback. |
to * | string | The phone number or SIP number to connect. |
predicted | boolean | Predicted call: Zadarma calls `to` first and connects `from` only if `to` answers. Default false. |
sip | string | SIP login or PBX extension to place the call from (its caller ID and recording settings apply). |