Twilio MCP by usefulapi

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

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
83%
Naming quality
78%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (1)

  • LOWTool 'twilio_list_incoming_phone_numbers' name length outside 3-30 rangein twilio_list_incoming_phone_numbers

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~2,423Tokens (tool definitions)
~1.3 KBTypical response size
Moderate attention impact (1.89% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "twilio": {
      "url": "https://twilio.usefulapi.io/mcp"
    }
  }
}

Remote endpoints

https://twilio.usefulapi.io/mcpstreamable-http

What it can do

Tool inventory

Tools (12)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢twilio_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.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢twilio_get_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.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢twilio_list_messages(to, from, sent_on, sent_after, sent_before, ...)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "to": {
      "description": "Only messages to this number (E.164).",
      "type": "string"
    },
    "from": {
      "description": "Only messages from this number or sender ID (E.164).",
      "type": "string"
    },
    "sent_on": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Date, yyyy-mm-dd."
    },
    "sent_after": {
      "description": "Only messages sent on or after this date.",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "sent_before": {
      "description": "Only messages sent before this date.",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "page_size": {
      "description": "Results per page (max 1000).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    },
    "page": {
      "description": "Page number, starting at 0.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢twilio_get_message(message_sid)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "message_sid": {
      "type": "string",
      "pattern": "^(SM|MM)[0-9a-fA-F]{32}$",
      "description": "Message SID (SM… or MM…), from twilio_list_messages."
    }
  },
  "required": [
    "message_sid"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴twilio_send_sms(to, from, messaging_service_sid, body, media_url)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "to": {
      "type": "string",
      "pattern": "^\\+[1-9]\\d{6,14}$",
      "description": "Phone number in E.164 form."
    },
    "from": {
      "description": "A Twilio number you own (E.164). Set this or messaging_service_sid.",
      "type": "string"
    },
    "messaging_service_sid": {
      "description": "Messaging Service SID (MG…). Set this or from.",
      "type": "string",
      "pattern": "^MG[0-9a-fA-F]{32}$"
    },
    "body": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1600,
      "description": "Message text."
    },
    "media_url": {
      "description": "Public URL of an image or file to send as MMS.",
      "type": "string",
      "format": "uri"
    }
  },
  "required": [
    "to",
    "body"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢twilio_list_calls(to, from, status, start_on, page_size, ...)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "to": {
      "description": "Only calls to this number (E.164).",
      "type": "string"
    },
    "from": {
      "description": "Only calls from this number (E.164).",
      "type": "string"
    },
    "status": {
      "description": "Only calls in this status.",
      "type": "string",
      "enum": [
        "queued",
        "ringing",
        "in-progress",
        "completed",
        "busy",
        "failed",
        "no-answer",
        "canceled"
      ]
    },
    "start_on": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Date, yyyy-mm-dd."
    },
    "page_size": {
      "description": "Results per page (max 1000).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    },
    "page": {
      "description": "Page number, starting at 0.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢twilio_get_call(call_sid)

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

Input Schema

{
  "type": "object",
  "properties": {
    "call_sid": {
      "type": "string",
      "pattern": "^CA[0-9a-fA-F]{32}$",
      "description": "Call SID (CA…), from twilio_list_calls."
    }
  },
  "required": [
    "call_sid"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴twilio_end_call(call_sid)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "call_sid": {
      "type": "string",
      "pattern": "^CA[0-9a-fA-F]{32}$",
      "description": "Call SID (CA…), from twilio_list_calls."
    }
  },
  "required": [
    "call_sid"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢twilio_list_incoming_phone_numbers(phone_number, friendly_name, page_size, page)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "phone_number": {
      "description": "Only this number (E.164).",
      "type": "string"
    },
    "friendly_name": {
      "description": "Only numbers with this friendly name.",
      "type": "string"
    },
    "page_size": {
      "description": "Results per page (max 1000).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    },
    "page": {
      "description": "Page number, starting at 0.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢twilio_list_conferences(friendly_name, status, page_size, page)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "friendly_name": {
      "description": "Only conferences with this friendly name.",
      "type": "string"
    },
    "status": {
      "description": "Only conferences in this status.",
      "type": "string",
      "enum": [
        "init",
        "in-progress",
        "completed"
      ]
    },
    "page_size": {
      "description": "Results per page (max 1000).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    },
    "page": {
      "description": "Page number, starting at 0.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢twilio_list_recordings(call_sid, conference_sid, page_size, page)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "call_sid": {
      "type": "string",
      "pattern": "^CA[0-9a-fA-F]{32}$",
      "description": "Call SID (CA…), from twilio_list_calls."
    },
    "conference_sid": {
      "description": "Only recordings of this conference (CF…).",
      "type": "string",
      "pattern": "^CF[0-9a-fA-F]{32}$"
    },
    "page_size": {
      "description": "Results per page (max 1000).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    },
    "page": {
      "description": "Page number, starting at 0.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢twilio_get_usage_records(category, start_date, end_date, page_size, page)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "category": {
      "description": "Usage category, e.g. sms, calls, phonenumbers, sms-outbound. Omit for all.",
      "type": "string"
    },
    "start_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Date, yyyy-mm-dd."
    },
    "end_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Date, yyyy-mm-dd."
    },
    "page_size": {
      "description": "Results per page (max 1000).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    },
    "page": {
      "description": "Page number, starting at 0.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded12 tools