Text-Em-All MCP by usefulapi

v1.42.1
io.usefulapi/text-em-all Checked 3 days ago Published 2 days ago

Send and track Text-Em-All broadcasts, texts and contact lists.

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

text_em_all_get_account Get account settings

Fetch your Text-Em-All account settings — company/billing info plus credit balances (AvailableCallUnits, CallBalance) used for sending. Text-Em-All API: GET /v1/account. Use this first to confirm your credentials work.

text_em_all_list_broadcasts List broadcasts

List broadcasts (text + voice campaigns) as a paged Feed { Size, Items:[...], Previous, Next }. Text-Em-All API: GET /v1/broadcasts. Filter with equals-style `params` (e.g. BroadcastStatus=Complete) and order with `sortby`. For date-range operators (StartDate~gte~2024-01-01) use the text_em_all_request escape hatch.

ParameterTypeDescription
pageinteger1-based page number (Feed `page`).
pagesizeintegerNumber of items per page (Feed `pagesize`, default 10).
paramsobjectAdditional documented equals-style query filters to send verbatim (e.g. BroadcastStatus=Completed). For range operators (Field~gte~value etc.) use the text_em_all_request escape hatch. Merged with pag…
sortbystringComma-separated fields to sort by; prefix a field with '-' for descending (e.g. '-StartDate,CreatedDate').
takesizeintegerHow many items to return (Feed `takesize`; defaults to pagesize).

text_em_all_get_broadcast Get a broadcast

Fetch a single broadcast by id, including its status and summary. Text-Em-All API: GET /v1/broadcasts/{id}.

ParameterTypeDescription
id *string | numberThe BroadcastID.

text_em_all_get_broadcast_details Get broadcast delivery details

Fetch per-contact delivery details/results for a broadcast (who was reached, delivery status). Text-Em-All API: GET /v1/broadcasts/{id}/details.

ParameterTypeDescription
id *string | numberThe BroadcastID.

text_em_all_list_text_numbers List text numbers

List the toll-free text (SMS) numbers on your account as a Feed. Each TextNumber has a TextNumberID you need to send a 1:1 conversation text (see text_em_all_send_text_message). Text-Em-All API: GET /v1/textnumbers.

ParameterTypeDescription
pageinteger1-based page number (Feed `page`).
pagesizeintegerNumber of items per page (Feed `pagesize`, default 10).
paramsobjectAdditional documented equals-style query filters to send verbatim (e.g. BroadcastStatus=Completed). For range operators (Field~gte~value etc.) use the text_em_all_request escape hatch. Merged with pag…
takesizeintegerHow many items to return (Feed `takesize`; defaults to pagesize).

text_em_all_list_lists List contact lists

List saved contact lists (groups you can broadcast to) as a Feed; each List has a ListID/ListName. Text-Em-All API: GET /v1/lists. NOTE: inferred from the API's List model — if your account/endpoint differs, use the text_em_all_request escape hatch.

ParameterTypeDescription
pageinteger1-based page number (Feed `page`).
pagesizeintegerNumber of items per page (Feed `pagesize`, default 10).
paramsobjectAdditional documented equals-style query filters to send verbatim (e.g. BroadcastStatus=Completed). For range operators (Field~gte~value etc.) use the text_em_all_request escape hatch. Merged with pag…
takesizeintegerHow many items to return (Feed `takesize`; defaults to pagesize).

text_em_all_get_authorization_token Get a user authorization token

Exchange a Text-Em-All account username + PIN/password for that user's authorization token (the value you set as TEXTEMALL_AUTH_TOKEN). Text-Em-All API: POST /v1/user/login. Signed with your App/Secret key only (no user token yet). Returns { AuthToken }. Use this once to bootstrap; store the token in config thereafter.

ParameterTypeDescription
password *stringThe Text-Em-All website login PIN/password. Required.
username *stringThe Text-Em-All website login username. Required.

text_em_all_get_conversations_sso_url Get a single-sign-on conversations URL

Generate a single-sign-on URL to the Text-Em-All conversations UI (open in a browser/iframe). Optionally scope it to one conversation thread by passing a toll-free textNumber + the other phoneNumber. Text-Em-All API: POST /v1/singlesignon/conversations. Returns { Url }. No account data is changed.

ParameterTypeDescription
phoneNumberstringA phone number that has a conversation with the text number, e.g. 9725551212.
textNumberstringA toll-free text number on the account, e.g. 18885551234.

text_em_all_request Raw read request

Power-user escape hatch: GET any Text-Em-All API path not wrapped by a dedicated tool. READ-ONLY — only GET is allowed. Pass the FULL API path after the origin, starting with a slash, INCLUDING any query string, e.g. "/v1/broadcasts?StartDate~gte~2024-01-01&sortby=-StartDate" or "/v1/textnumbers". Returns the parsed JSON.

ParameterTypeDescription
path *stringFull API path after the origin, starting with "/", e.g. "/v1/broadcasts?pagesize=50".

text_em_all_create_broadcast Send a broadcast

MUTATES Text-Em-All data AND SENDS MESSAGES (spends account credits): creates + sends a broadcast to the given contacts. Text-Em-All API: POST /v1/broadcasts. Set broadcastType to 'SMS' (a text broadcast — provide textMessage) or 'Announcement' (a voice broadcast — provide voiceText for text-to-speech, or a pre-recorded AudioID via `fields.Audio`). Contacts is a list of { primaryPhone, firstName?, lastName?, notes? }. Extra documented fields (CallerID, TextNumberID, Lists, RetryTimes, CallThrottle, MaxMessageLength, StartDate, CheckCallingWindow) go through `fields` (PascalCase). Returns t…

ParameterTypeDescription
broadcastName *stringA name/label for this broadcast (BroadcastName). Required.
broadcastType *string'SMS' for a text broadcast, 'Announcement' for a voice broadcast. Required.
contacts *arrayRecipients (each needs primaryPhone). Required.
fieldsobjectAdditional documented Text-Em-All fields to send verbatim in the JSON write body, using the API's PascalCase names (e.g. CallerID, TextNumberID, Lists, RetryTimes). Merged OVER the typed fields above.
primaryPhoneNumbersOnlybooleanOnly send to each contact's primary phone number (PrimaryPhoneNumbersOnly, default true).
textMessagestringThe text body for an SMS broadcast (TextMessage). Required when broadcastType='SMS'.
voiceTextstringText-to-speech message for an Announcement broadcast (mapped to Audio.TextToSpeech=true + Audio.Text).

text_em_all_send_text_message Send a conversation text

MUTATES Text-Em-All data AND SENDS A TEXT (spends credits): sends a 1:1 conversation text message immediately from one of your toll-free text numbers to a single contact. Text-Em-All API: POST /v1/conversations. You need a textNumberId (from text_em_all_list_text_numbers). Returns the conversation.

ParameterTypeDescription
message *stringThe text message body. Required.
phoneNumber *stringThe recipient's phone number (e.g. 9725551212). Required.
textNumberId *string | numberThe TextNumberID of the toll-free number to send from (see text_em_all_list_text_numbers). Required.
fieldsobjectAdditional documented Text-Em-All fields to send verbatim in the JSON write body, using the API's PascalCase names (e.g. CallerID, TextNumberID, Lists, RetryTimes). Merged OVER the typed fields above.
firstNamestringRecipient first name (Contact.FirstName).
lastNamestringRecipient last name (Contact.LastName).
truncateIfExceedsLimitbooleanTruncate the message if it exceeds the length limit (TruncateIfExceedsLimit).

text_em_all_create_draft_broadcast Create a draft broadcast

MUTATES Text-Em-All data (creates a DRAFT — does NOT send anything): stages a broadcast with the given contacts and returns a single-sign-on URL to finish + send it in the Text-Em-All UI. Safer than text_em_all_create_broadcast when a human should review before sending. Text-Em-All API: POST /v1/draftbroadcasts. Returns { SingleSignOnUrl, ... }.

ParameterTypeDescription
contacts *arrayContacts to pre-populate on the draft broadcast (each needs primaryPhone). Required.
fieldsobjectAdditional documented Text-Em-All fields to send verbatim in the JSON write body, using the API's PascalCase names (e.g. CallerID, TextNumberID, Lists, RetryTimes). Merged OVER the typed fields above.

text_em_all_add_account_user Add an account user

MUTATES Text-Em-All data: adds a new user to your account (a master user can do this). Text-Em-All API: POST /v1/account/users. Provide the user's fields via `fields` using the API's PascalCase names (e.g. UserName, FirstName, LastName, EmailAddress, Permissions). Returns the created user.

ParameterTypeDescription
fieldsobjectAdditional documented Text-Em-All fields to send verbatim in the JSON write body, using the API's PascalCase names (e.g. CallerID, TextNumberID, Lists, RetryTimes). Merged OVER the typed fields above.
firstNamestringFirst name (FirstName).
lastNamestringLast name (LastName).
userNamestringThe new user's login username (UserName).

text_em_all_update_account_user Update an account user

MUTATES Text-Em-All data: updates an existing account user. Text-Em-All API: PUT /v1/account/users/{user_id}. Provide the fields to change via `fields` (PascalCase, e.g. FirstName, LastName, EmailAddress, Permissions). The user_id is never sent in the body. Returns the updated user.

ParameterTypeDescription
user_id *string | numberThe id of the user to update (path only). Required.
fieldsobjectAdditional documented Text-Em-All fields to send verbatim in the JSON write body, using the API's PascalCase names (e.g. CallerID, TextNumberID, Lists, RetryTimes). Merged OVER the typed fields above.
firstNamestringNew first name (FirstName).
lastNamestringNew last name (LastName).