Twilio MCP by usefulapi

v1.2.1
io.usefulapi/twilio Checked 4 days ago Published 1 day ago

Read messages, calls, numbers and usage; send SMS and end calls in Twilio.

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

twilio_get_account Get account

Get the Twilio account for the connected credentials: friendly name, status (active/suspended/closed), type, and created date. Good first call to confirm which account is connected. Twilio API: GET /2010-04-01/Accounts/{AccountSid}.json.

twilio_get_balance Get account balance

Get the prepaid account balance and currency. Trial and postpaid accounts may return a zero or not-applicable balance. Twilio API: GET /2010-04-01/Accounts/{AccountSid}/Balance.json.

twilio_list_messages List messages

List SMS, MMS and WhatsApp messages on the account, newest first. Filter by recipient, sender and sent date. Twilio API: GET /2010-04-01/Accounts/{AccountSid}/Messages.json.

ParameterTypeDescription
fromstringOnly messages from this number or sender ID (E.164).
pageintegerPage number, starting at 0.
page_sizeintegerResults per page (max 1000).
sent_afterstringOnly messages sent on or after this date.
sent_beforestringOnly messages sent before this date.
sent_onstringDate, yyyy-mm-dd.
tostringOnly messages to this number (E.164).

twilio_get_message Get a message

Get one message by SID: status (queued, sent, delivered, undelivered, failed), error code, price and segment count. Twilio API: GET /2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json.

ParameterTypeDescription
message_sid *stringMessage SID (SM… or MM…), from twilio_list_messages.

twilio_send_sms Send an SMS or MMS

SEND a real SMS (or MMS when media_url is set) from the account to a phone number. This costs money and reaches a real person; it cannot be undone. Use a From number you own, or a messaging_service_sid. Twilio API: POST /2010-04-01/Accounts/{AccountSid}/Messages.json.

ParameterTypeDescription
body *stringMessage text.
to *stringPhone number in E.164 form.
fromstringA Twilio number you own (E.164). Set this or messaging_service_sid.
media_urlstringPublic URL of an image or file to send as MMS.
messaging_service_sidstringMessaging Service SID (MG…). Set this or from.

twilio_list_calls List calls

List voice calls on the account, newest first. Filter by number, status and start date. Twilio API: GET /2010-04-01/Accounts/{AccountSid}/Calls.json.

ParameterTypeDescription
fromstringOnly calls from this number (E.164).
pageintegerPage number, starting at 0.
page_sizeintegerResults per page (max 1000).
start_onstringDate, yyyy-mm-dd.
statusstringOnly calls in this status.
tostringOnly calls to this number (E.164).

twilio_get_call Get a call

Get one call by SID: status, direction, duration, price, start and end times. Twilio API: GET /2010-04-01/Accounts/{AccountSid}/Calls/{Sid}.json.

ParameterTypeDescription
call_sid *stringCall SID (CA…), from twilio_list_calls.

twilio_end_call End a live call

END a call that is in progress or ringing by setting its status to completed. The caller and callee are disconnected. Repeating it on an ended call is harmless. Twilio API: POST /2010-04-01/Accounts/{AccountSid}/Calls/{Sid}.json with Status=completed.

ParameterTypeDescription
call_sid *stringCall SID (CA…), from twilio_list_calls.

twilio_list_incoming_phone_numbers List phone numbers

List the Twilio phone numbers the account owns: number, friendly name, capabilities (voice, SMS, MMS) and configured webhook URLs. Twilio API: GET /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers.json.

ParameterTypeDescription
friendly_namestringOnly numbers with this friendly name.
pageintegerPage number, starting at 0.
page_sizeintegerResults per page (max 1000).
phone_numberstringOnly this number (E.164).

twilio_list_conferences List conferences

List voice conferences on the account, with friendly name and status (init, in-progress, completed). Twilio API: GET /2010-04-01/Accounts/{AccountSid}/Conferences.json.

ParameterTypeDescription
friendly_namestringOnly conferences with this friendly name.
pageintegerPage number, starting at 0.
page_sizeintegerResults per page (max 1000).
statusstringOnly conferences in this status.

twilio_list_recordings List recordings

List call and conference recordings on the account: SID, duration, status and the parent call or conference. Twilio API: GET /2010-04-01/Accounts/{AccountSid}/Recordings.json.

ParameterTypeDescription
call_sidstringCall SID (CA…), from twilio_list_calls.
conference_sidstringOnly recordings of this conference (CF…).
pageintegerPage number, starting at 0.
page_sizeintegerResults per page (max 1000).

twilio_get_usage_records Get usage records

Get billed usage and cost for a period by category (for example sms-outbound, calls, phonenumbers). Use start_date and end_date to choose the period. Twilio API: GET /2010-04-01/Accounts/{AccountSid}/Usage/Records.json.

ParameterTypeDescription
categorystringUsage category, e.g. sms, calls, phonenumbers, sms-outbound. Omit for all.
end_datestringDate, yyyy-mm-dd.
pageintegerPage number, starting at 0.
page_sizeintegerResults per page (max 1000).
start_datestringDate, yyyy-mm-dd.