JustCall MCP by usefulapi

v1.2.0
io.usefulapi/justcall Checked 1 day ago Published 12 hours ago

Read calls, texts and contacts; create contacts, send SMS, update DND lists in JustCall.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

justcall_list_calls List calls

List calls on the account, optionally filtered by agent, direction, contact number, JustCall number and date range. Returns call ids, direction, status, duration and timestamps. GET /v2.1/calls.

ParameterTypeDescription
agent_idstringOnly calls handled by this agent id.
call_directionstringOnly incoming or only outgoing calls.
contact_numberstringOnly calls with this contact phone number.
from_datetimestringStart or end, as yyyy-mm-dd or yyyy-mm-dd hh:mm:ss.
justcall_numberstringOnly calls on this JustCall number.
pageintegerPage number for pagination (default 1).
per_pageintegerResults per page.
to_datetimestringStart or end, as yyyy-mm-dd or yyyy-mm-dd hh:mm:ss.

justcall_get_call Get a call

Get one call by id: duration, direction, status, timestamps, notes and disposition. GET /v2.1/calls/{id}.

ParameterTypeDescription
call_id *stringThe call id.

justcall_get_call_journey Get a call journey

Get the journey of a completed call: the ring and routing steps it went through. Not available while a call is in progress. GET /v2.1/calls/{id}/journey.

ParameterTypeDescription
call_id *stringThe call id.

justcall_get_call_voice_agent Get voice agent data for a call

Get the AI voice agent insights and metadata for a completed call. Not available while a call is in progress. GET /v2.1/calls/{id}/voice-agent.

ParameterTypeDescription
call_id *stringThe call id.

justcall_get_account_call_analytics Get account call analytics

Get account-level call analytics for a date range: call volume, average ring time, total duration, SLA performance, connect and answer rates. GET /v2.1/calls/analytics/account.

ParameterTypeDescription
from_date *stringStart date, yyyy-mm-dd.
to_date *stringEnd date, yyyy-mm-dd.

justcall_list_contacts List contacts

List contacts, optionally filtered by name, phone number or status. By default only the owner's contacts; set across_team to include every agent's contacts. GET /v2.1/contacts.

ParameterTypeDescription
across_teambooleanInclude contacts of all agents on the account.
contact_numberstringFilter by phone number.
first_namestringFilter by first name.
last_namestringFilter by last name.
pageintegerPage number for pagination (default 1).
per_pageintegerResults per page.
statusstringFilter by contact status.

justcall_get_contact Get a contact

Get one contact by id, including its notes and other phone numbers. GET /v2.1/contacts/{id}.

ParameterTypeDescription
contact_id *stringThe contact id.

justcall_create_contact Create a contact

Create a contact in JustCall with a first name and phone number, and optional last name, company, email, address and notes. Creates a new record each time. POST /v2.1/contacts.

ParameterTypeDescription
contact_number *stringPhone number of the contact.
first_name *stringFirst name of the contact.
addressstringPostal address of the contact.
companystringCompany of the contact.
emailstringEmail address of the contact.
last_namestringLast name of the contact.
notesstringNotes about the contact.

justcall_update_contact_status Update contact status

Add or remove one existing contact (by id or phone number) from the DND, DNM or blacklist lists. Adding a list twice gives the same result. PUT /v2.1/contacts/status.

ParameterTypeDescription
across_teambooleanUpdate the contact for all agents, not only the owner.
add_toarrayLists to add the contact to.
contact_numberstringContact phone number (or give id).
idintegerContact id (or give contact_number).
remove_fromarrayLists to remove the contact from.

justcall_list_texts List texts

List SMS messages, optionally filtered by phone numbers, direction, content or date range. GET /v2.1/texts.

ParameterTypeDescription
contact_numberstringOnly texts with this contact phone number.
from_datetimestringStart or end, as yyyy-mm-dd or yyyy-mm-dd hh:mm:ss.
justcall_numberstringOnly texts on this JustCall number.
pageintegerPage number for pagination (default 1).
per_pageintegerResults per page.
sms_contentstringOnly texts that contain this text.
sms_directionstringOnly incoming or only outgoing texts.
to_datetimestringStart or end, as yyyy-mm-dd or yyyy-mm-dd hh:mm:ss.

justcall_get_text Get a text

Get one SMS by id: direction, agent number, contact number and delivery status. GET /v2.1/texts/{id}.

ParameterTypeDescription
text_id *stringThe text id.

justcall_list_text_threads List text threads

List SMS threads for one SMS-enabled JustCall phone number. Use justcall_list_phone_numbers to find its phone_id. GET /v2.1/texts/threads.

ParameterTypeDescription
phone_id *stringId of the SMS-enabled JustCall phone number.

justcall_send_sms Send an SMS

Send one SMS from a JustCall number to one contact number. It is sent at once unless schedule_at is set. A sent SMS cannot be recalled. POST /v2.1/texts/new.

ParameterTypeDescription
body *stringThe message text.
contact_number *stringThe recipient phone number.
justcall_number *stringThe JustCall number to send from.
schedule_atstringSend time, as the API accepts it. Omit to send now.

justcall_list_phone_numbers List phone numbers

List the JustCall phone numbers on the account with their ids, capabilities and assigned agents. Use these ids and numbers in the other tools. GET /v2.1/phone-numbers.