Trumpia MCP by usefulapi is an MCP server published by io.usefulapi, hosted at trumpia.usefulapi.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 22 tools, including trumpia_get_credit_balance, trumpia_get_request_report, trumpia_list_lists, trumpia_get_list, trumpia_create_list.
Read Trumpia lists, subscribers, keywords and reports; add contacts and send SMS or email campaigns.
4,433 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
The account's remaining domestic and international text credits. GET /balance/credit.
No parameters.
{
"name": "trumpia_get_credit_balance",
"title": "Get credit balance",
"description": "The account's remaining domestic and international text credits. GET /balance/credit.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "Get credit balance",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The outcome of an earlier write request (list/contact/message changes are processed asynchronously). Pass the request_id that the write tool returned; the reply holds the result (for example the new list_id) or says it is still processing or failed. GET /report/{request_id}.
| Parameter | Type | Description |
|---|---|---|
| request_id * | string | The request_id from a write reply. |
{
"name": "trumpia_get_request_report",
"title": "Get request status report",
"description": "The outcome of an earlier write request (list/contact/message changes are processed asynchronously). Pass the request_id that the write tool returned; the reply holds the result (for example the new list_id) or says it is still processing or failed. GET /report/{request_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"request_id"
],
"properties": {
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The request_id from a write reply."
}
}
},
"annotations": {
"title": "Get request status report",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}All distribution lists (id and name). Lists group subscriptions for targeted messages. GET /list.
No parameters.
{
"name": "trumpia_list_lists",
"title": "List distribution lists",
"description": "All distribution lists (id and name). Lists group subscriptions for targeted messages. GET /list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List distribution lists",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One distribution list: display name, description, message frequency and subscription / mobile / email counts. GET /list/{list_id}.
| Parameter | Type | Description |
|---|---|---|
| list_id * | string | Distribution list id (from trumpia_list_lists). |
{
"name": "trumpia_get_list",
"title": "Get distribution list",
"description": "One distribution list: display name, description, message frequency and subscription / mobile / email counts. GET /list/{list_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_id"
],
"properties": {
"list_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Distribution list id (from trumpia_list_lists)."
}
}
},
"annotations": {
"title": "Get distribution list",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: create a distribution list. Trumpia requires disclosing how often subscribers get messages and what for. Returns request_id and list_id. The list name must not contain spaces or special characters. PUT /list.
| Parameter | Type | Description |
|---|---|---|
| frequency * | integer | Messages per month subscribers will receive (disclosure required by mobile regulations). |
| list_name * | string | List name (no spaces or special characters), e.g. GeneralList. |
| description * | string | What the list sends, e.g. 'promo alerts' (max 20 characters). |
| display_name * | string | Name subscribers see when they sign up (max 50 characters). |
{
"name": "trumpia_create_list",
"title": "Create distribution list",
"description": "WRITE: create a distribution list. Trumpia requires disclosing how often subscribers get messages and what for. Returns request_id and list_id. The list name must not contain spaces or special characters. PUT /list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_name",
"display_name",
"frequency",
"description"
],
"properties": {
"frequency": {
"type": "integer",
"maximum": 999,
"minimum": 1,
"description": "Messages per month subscribers will receive (disclosure required by mobile regulations)."
},
"list_name": {
"type": "string",
"maxLength": 30,
"minLength": 1,
"description": "List name (no spaces or special characters), e.g. GeneralList."
},
"description": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "What the list sends, e.g. 'promo alerts' (max 20 characters)."
},
"display_name": {
"type": "string",
"maxLength": 50,
"minLength": 1,
"description": "Name subscribers see when they sign up (max 50 characters)."
}
}
},
"annotations": {
"title": "Create distribution list",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: change a distribution list's name, display name, frequency or description. Only the fields you pass change. POST /list/{list_id}.
| Parameter | Type | Description |
|---|---|---|
| list_id * | string | Distribution list id. |
| frequency | integer | |
| list_name | string | |
| description | string | |
| display_name | string |
{
"name": "trumpia_update_list",
"title": "Update distribution list",
"description": "WRITE: change a distribution list's name, display name, frequency or description. Only the fields you pass change. POST /list/{list_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_id"
],
"properties": {
"list_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Distribution list id."
},
"frequency": {
"type": "integer",
"maximum": 999,
"minimum": 1
},
"list_name": {
"type": "string",
"maxLength": 30,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 20,
"minLength": 1
},
"display_name": {
"type": "string",
"maxLength": 50,
"minLength": 1
}
}
},
"annotations": {
"title": "Update distribution list",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Subscription (contact) ids, newest first. Returns ids only; use trumpia_get_subscription for the details. Pages of 100-10000 ids; next_page is set when a full page came back. GET /subscription.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number from 1 (default 1). |
| row_size | integer | Ids per page, 100-10000 (default 100). |
{
"name": "trumpia_list_subscriptions",
"title": "List subscription ids",
"description": "Subscription (contact) ids, newest first. Returns ids only; use trumpia_get_subscription for the details. Pages of 100-10000 ids; next_page is set when a full page came back. GET /subscription.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number from 1 (default 1)."
},
"row_size": {
"type": "integer",
"maximum": 10000,
"minimum": 100,
"description": "Ids per page, 100-10000 (default 100)."
}
}
},
"annotations": {
"title": "List subscription ids",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One subscription (contact): name, email, mobile and landline (with verified flags), list ids, created date and custom data. Contains personal data. GET /subscription/{subscription_id}.
| Parameter | Type | Description |
|---|---|---|
| subscription_id * | string | Subscription id (from a list or search). |
{
"name": "trumpia_get_subscription",
"title": "Get subscription",
"description": "One subscription (contact): name, email, mobile and landline (with verified flags), list ids, created date and custom data. Contains personal data. GET /subscription/{subscription_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"subscription_id"
],
"properties": {
"subscription_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Subscription id (from a list or search)."
}
}
},
"annotations": {
"title": "Get subscription",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Find subscription ids by email, mobile number, landline, country code, created date, first name or last name; optionally within one list. search_data 'all' returns every subscription that has data of that type. Returns ids; use trumpia_get_subscription for details. GET /subscription/search.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number from 1 (default 1). |
| list_id | string | Limit the search to this distribution list. |
| row_size | integer | Ids per page, 100-10000 (default 100). |
| search_data * | string | The value to find, or 'all' (every subscription that has data of that type; email, mobile and landline only). For search_type created_date a range is required: 'YYYY-MM-DD hh:mm:ss~YYYY-MM-DD hh:mm:ss', e.g. '2026-03-01 00:00:00~2026-04-01 00:00:00'. |
| search_type * | string | Which field to search. |
{
"name": "trumpia_search_subscriptions",
"title": "Search subscriptions",
"description": "Find subscription ids by email, mobile number, landline, country code, created date, first name or last name; optionally within one list. search_data 'all' returns every subscription that has data of that type. Returns ids; use trumpia_get_subscription for details. GET /subscription/search.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"search_type",
"search_data"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number from 1 (default 1)."
},
"list_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Limit the search to this distribution list."
},
"row_size": {
"type": "integer",
"maximum": 10000,
"minimum": 100,
"description": "Ids per page, 100-10000 (default 100)."
},
"search_data": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The value to find, or 'all' (every subscription that has data of that type; email, mobile and landline only). For search_type created_date a range is required: 'YYYY-MM-DD hh:mm:ss~YYYY-MM-DD hh:mm:ss', e.g. '2026-03-01 00:00:00~2026-04-01 00:00:00'."
},
"search_type": {
"enum": [
"email",
"mobile",
"landline",
"country_code",
"created_date",
"first_name",
"last_name"
],
"type": "string",
"description": "Which field to search."
}
}
},
"annotations": {
"title": "Search subscriptions",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: add contacts to one or more distribution lists (comma-separated list names that already exist). Each contact needs a mobile number, an email or a landline. Only add people who gave express consent to receive messages (TCPA, CAN-SPAM, CTIA rules apply); Trumpia may require a submitted API contract. Returns a request_id; check trumpia_get_request_report. PUT /subscription.
| Parameter | Type | Description |
|---|---|---|
| list_names * | array | Names of existing distribution lists to add the contacts to. |
| subscriptions * | array | 1-100 contacts. |
{
"name": "trumpia_add_subscriptions",
"title": "Add subscriptions",
"description": "WRITE: add contacts to one or more distribution lists (comma-separated list names that already exist). Each contact needs a mobile number, an email or a landline. Only add people who gave express consent to receive messages (TCPA, CAN-SPAM, CTIA rules apply); Trumpia may require a submitted API contract. Returns a request_id; check trumpia_get_request_report. PUT /subscription.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_names",
"subscriptions"
],
"properties": {
"list_names": {
"type": "array",
"items": {
"type": "string",
"maxLength": 30,
"minLength": 1
},
"maxItems": 20,
"minItems": 1,
"description": "Names of existing distribution lists to add the contacts to."
},
"subscriptions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 200
},
"mobile": {
"type": "object",
"required": [
"number"
],
"properties": {
"number": {
"type": "string",
"pattern": "^\\d{4,20}$",
"description": "Mobile number, digits only (US: 10 digits)."
},
"country_code": {
"type": "string",
"pattern": "^\\d{1,4}$",
"description": "Country code (default 1)."
}
}
},
"landline": {
"type": "object",
"required": [
"number"
],
"properties": {
"number": {
"type": "string",
"pattern": "^\\d{4,20}$",
"description": "Landline number, digits only (10 digits)."
},
"country_code": {
"type": "string",
"pattern": "^\\d{1,4}$"
}
}
},
"last_name": {
"type": "string",
"maxLength": 100
},
"customdata": {
"type": "array",
"items": {
"type": "object",
"required": [
"customdata_id",
"value"
],
"properties": {
"value": {
"type": "string",
"maxLength": 4000,
"minLength": 1,
"description": "The value; its format depends on the field type."
},
"customdata_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Custom data field id (from trumpia_list_custom_fields)."
}
}
},
"maxItems": 50
},
"first_name": {
"type": "string",
"maxLength": 100
},
"voice_device": {
"enum": [
"mobile",
"landline"
],
"type": "string",
"description": "Number to reach by voice (US, Canada, Guam, Puerto Rico)."
}
}
},
"maxItems": 100,
"minItems": 1,
"description": "1-100 contacts."
}
}
},
"annotations": {
"title": "Add subscriptions",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: change a contact's name, email, mobile, landline, custom data or list membership. Only the fields you pass change. Returns a request_id. POST /subscription/{subscription_id}.
| Parameter | Type | Description |
|---|---|---|
| string | ||
| mobile | object | |
| landline | object | |
| last_name | string | |
| customdata | array | |
| first_name | string | |
| list_names | array | Existing distribution list names the contact should be added to. |
| subscription_id * | string | Subscription id. |
{
"name": "trumpia_update_subscription",
"title": "Update subscription",
"description": "WRITE: change a contact's name, email, mobile, landline, custom data or list membership. Only the fields you pass change. Returns a request_id. POST /subscription/{subscription_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"subscription_id"
],
"properties": {
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 200
},
"mobile": {
"type": "object",
"required": [
"number"
],
"properties": {
"number": {
"type": "string",
"pattern": "^\\d{4,20}$",
"description": "Mobile number, digits only (US: 10 digits)."
},
"country_code": {
"type": "string",
"pattern": "^\\d{1,4}$",
"description": "Country code (default 1)."
}
}
},
"landline": {
"type": "object",
"required": [
"number"
],
"properties": {
"number": {
"type": "string",
"pattern": "^\\d{4,20}$",
"description": "Landline number, digits only (10 digits)."
},
"country_code": {
"type": "string",
"pattern": "^\\d{1,4}$"
}
}
},
"last_name": {
"type": "string",
"maxLength": 100
},
"customdata": {
"type": "array",
"items": {
"type": "object",
"required": [
"customdata_id",
"value"
],
"properties": {
"value": {
"type": "string",
"maxLength": 4000,
"minLength": 1,
"description": "The value; its format depends on the field type."
},
"customdata_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Custom data field id (from trumpia_list_custom_fields)."
}
}
},
"maxItems": 50
},
"first_name": {
"type": "string",
"maxLength": 100
},
"list_names": {
"type": "array",
"items": {
"type": "string",
"maxLength": 30,
"minLength": 1
},
"maxItems": 20,
"description": "Existing distribution list names the contact should be added to."
},
"subscription_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Subscription id."
}
}
},
"annotations": {
"title": "Update subscription",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}All custom data fields (id and name) that can be stored on subscriptions and used as mail-merge values. GET /customdata.
No parameters.
{
"name": "trumpia_list_custom_fields",
"title": "List custom data fields",
"description": "All custom data fields (id and name) that can be stored on subscriptions and used as mail-merge values. GET /customdata.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List custom data fields",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One custom data field: type, options (allowed values, max length), whether required, and its mail-merge text. GET /customdata/{customdata_id}.
| Parameter | Type | Description |
|---|---|---|
| customdata_id * | string | Custom data field id. |
{
"name": "trumpia_get_custom_field",
"title": "Get custom data field",
"description": "One custom data field: type, options (allowed values, max length), whether required, and its mail-merge text. GET /customdata/{customdata_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customdata_id"
],
"properties": {
"customdata_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Custom data field id."
}
}
},
"annotations": {
"title": "Get custom data field",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}All mobile keywords with id, keyword and the short or long code. GET /keyword.
No parameters.
{
"name": "trumpia_list_keywords",
"title": "List keywords",
"description": "All mobile keywords with id, keyword and the short or long code. GET /keyword.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List keywords",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One mobile keyword in detail: auto-response message, code, alternative messages. GET /keyword/{keyword_id}.
| Parameter | Type | Description |
|---|---|---|
| keyword_id * | string | Keyword id (from trumpia_list_keywords). |
{
"name": "trumpia_get_keyword",
"title": "Get keyword",
"description": "One mobile keyword in detail: auto-response message, code, alternative messages. GET /keyword/{keyword_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"keyword_id"
],
"properties": {
"keyword_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Keyword id (from trumpia_list_keywords)."
}
}
},
"annotations": {
"title": "Get keyword",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Registered organization names as { org_names: [ { org_name_id, name, default } ] } (Trumpia returns a bare array; it is wrapped). The id can be set as org_name_id on messages. GET /orgname.
No parameters.
{
"name": "trumpia_list_org_names",
"title": "List organization names",
"description": "Registered organization names as { org_names: [ { org_name_id, name, default } ] } (Trumpia returns a bare array; it is wrapped). The id can be set as org_name_id on messages. GET /orgname.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List organization names",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Registered email sender addresses (the From / Reply-To addresses allowed for email messages) as { senders: [ { sender_id, address, default } ] } (Trumpia returns a bare array; it is wrapped). GET /email/sender.
No parameters.
{
"name": "trumpia_list_email_senders",
"title": "List email sender addresses",
"description": "Registered email sender addresses (the From / Reply-To addresses allowed for email messages) as { senders: [ { sender_id, address, default } ] } (Trumpia returns a bare array; it is wrapped). GET /email/sender.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List email sender addresses",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Delivery statistics of a message sent with trumpia_send_message: status (sent / scheduled / canceled), totals, sent and failed counts per channel and credits used. GET /message/{message_id}.
| Parameter | Type | Description |
|---|---|---|
| message_id * | string | Message id returned by trumpia_send_message. |
{
"name": "trumpia_get_message",
"title": "Get message statistics",
"description": "Delivery statistics of a message sent with trumpia_send_message: status (sent / scheduled / canceled), totals, sent and failed counts per channel and credits used. GET /message/{message_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"message_id"
],
"properties": {
"message_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Message id returned by trumpia_send_message."
}
}
},
"annotations": {
"title": "Get message statistics",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Messages that are scheduled and not yet sent (id, description, scheduled time, recipient counts). Use offset and limit to page; total_count says how many exist. GET /message/scheduled.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Messages to return, 1-1000 (default 50). |
| order | string | scheduled_at = oldest first (default), -scheduled_at = newest first. |
| offset | integer | Messages to skip (default 0). |
{
"name": "trumpia_list_scheduled_messages",
"title": "List scheduled messages",
"description": "Messages that are scheduled and not yet sent (id, description, scheduled time, recipient counts). Use offset and limit to page; total_count says how many exist. GET /message/scheduled.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Messages to return, 1-1000 (default 50)."
},
"order": {
"enum": [
"scheduled_at",
"-scheduled_at"
],
"type": "string",
"description": "scheduled_at = oldest first (default), -scheduled_at = newest first."
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Messages to skip (default 0)."
}
}
},
"annotations": {
"title": "List scheduled messages",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE, SENDS REAL MESSAGES that spend credits and cannot be recalled once sent: send an SMS and/or an email to distribution lists or specific subscriptions, now or scheduled (a scheduled one can be cancelled with trumpia_cancel_scheduled_message). Subscribers must have opted in (TCPA, CAN-SPAM, CTIA). Confirm the recipients and text with the user first. Mail merge tokens: [$FirstName], [$LastName], [$FullName], [$CustomData-NAME]. Returns request_id and message_id. PUT /message.
| Parameter | Type | Description |
|---|---|---|
| sms | string | SMS text (140 bytes per segment in US/Canada, up to 980 bytes concatenated). |
| send_date | string | Schedule time as YYYY-MM-DD hh:mm:ss (24-hour clock; the account's time zone). Omit to send immediately. |
| email_body | string | Email body (needs email_subject). |
| description * | string | Internal description of the message. |
| org_name_id | string | Organization name id to include in the mobile message (default organization name if omitted). |
| email_subject | string | Email subject (needs email_body). |
| recipient_ids * | array | 1-300 ids (at most 100 lists or 300 subscriptions). |
| email_reply_to | string |
WRITE, SENDS A REAL TEXT that spends a credit and cannot be recalled: one SMS to one mobile number without adding the contact first. The recipient must have consented; Trumpia may require API Certification for contacts that have not opted in. Confirm number and text with the user first. Returns request_id and sms_id. PUT /sms.
| Parameter | Type | Description |
|---|---|---|
| sender | string | Short/long code or registered landline to send from (default: the account's code). |
| message * | string | The text (the SMS header and footer count toward the length). |
| org_name_id | string | Organization name id (default organization name if omitted). |
| country_code | string | Country code (default 1). 0 = infer it from the number, which then must start with +. |
| mobile_number * | string | US: the 10-digit number without leading 0 or 1. With country_code 0 the number must be E.164 with a leading +, e.g. +17774443210. |
{
"name": "trumpia_send_sms",
"title": "Send direct SMS",
"description": "WRITE, SENDS A REAL TEXT that spends a credit and cannot be recalled: one SMS to one mobile number without adding the contact first. The recipient must have consented; Trumpia may require API Certification for contacts that have not opted in. Confirm number and text with the user first. Returns request_id and sms_id. PUT /sms.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"mobile_number",
"message"
],
"properties": {
"sender": {
"type": "string",
"pattern": "^\\d{4,20}$",
"description": "Short/long code or registered landline to send from (default: the account's code)."
},
"message": {
"type": "string",
"maxLength": 980,
"minLength": 1,
"description": "The text (the SMS header and footer count toward the length)."
},
"org_name_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Organization name id (default organization name if omitted)."
},
"country_code": {
"type": "string",
"pattern": "^\\d{1,4}$",
"description": "Country code (default 1). 0 = infer it from the number, which then must start with +."
},
"mobile_number": {
"type": "string",
"pattern": "^\\+?\\d{4,20}$",
"description": "US: the 10-digit number without leading 0 or 1. With country_code 0 the number must be E.164 with a leading +, e.g. +17774443210."
}
}
},
"annotations": {
"title": "Send direct SMS",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: cancel a message that is scheduled and has not been sent yet (see trumpia_list_scheduled_messages). Does nothing for a message already sent. DELETE /message/scheduled/{message_id}.
| Parameter | Type | Description |
|---|---|---|
| message_id * | string | Scheduled message id. |
{
"name": "trumpia_cancel_scheduled_message",
"title": "Cancel scheduled message",
"description": "WRITE: cancel a message that is scheduled and has not been sent yet (see trumpia_list_scheduled_messages). Does nothing for a message already sent. DELETE /message/scheduled/{message_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"message_id"
],
"properties": {
"message_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Scheduled message id."
}
}
},
"annotations": {
"title": "Cancel scheduled message",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Tools for Trumpia, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "How many text credits do I have left?"; "Show my distribution lists and how many subscribers each has."; "Find the contact with the email jane@example.com and show which lists they are on.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Trumpia data. Free plan: 50 tool calls per month. Run trumpia_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run trumpia_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run trumpia_upgrade without a plan: it returns both plans, each with a payment link for the user to open. trumpia_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| Reply-to address (a registered sender). |
| recipient_type * | string | Whether recipient_ids are distribution list ids or subscription ids. |
| mail_merge_full_name | string | Replacement when a contact has no full name. |
| mail_merge_last_name | string | Replacement when a contact has no last name. |
| mail_merge_first_name | string | Replacement when a contact has no first name. |
{
"name": "trumpia_send_message",
"title": "Send message",
"description": "WRITE, SENDS REAL MESSAGES that spend credits and cannot be recalled once sent: send an SMS and/or an email to distribution lists or specific subscriptions, now or scheduled (a scheduled one can be cancelled with trumpia_cancel_scheduled_message). Subscribers must have opted in (TCPA, CAN-SPAM, CTIA). Confirm the recipients and text with the user first. Mail merge tokens: [$FirstName], [$LastName], [$FullName], [$CustomData-NAME]. Returns request_id and message_id. PUT /message.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"description",
"recipient_type",
"recipient_ids"
],
"properties": {
"sms": {
"type": "string",
"maxLength": 980,
"minLength": 1,
"description": "SMS text (140 bytes per segment in US/Canada, up to 980 bytes concatenated)."
},
"send_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
"description": "Schedule time as YYYY-MM-DD hh:mm:ss (24-hour clock; the account's time zone). Omit to send immediately."
},
"email_body": {
"type": "string",
"maxLength": 100000,
"minLength": 1,
"description": "Email body (needs email_subject)."
},
"description": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Internal description of the message."
},
"org_name_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Organization name id to include in the mobile message (default organization name if omitted)."
},
"email_subject": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Email subject (needs email_body)."
},
"recipient_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Numeric id, as returned by Trumpia."
},
"maxItems": 300,
"minItems": 1,
"description": "1-300 ids (at most 100 lists or 300 subscriptions)."
},
"email_reply_to": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 100,
"description": "Reply-to address (a registered sender)."
},
"recipient_type": {
"enum": [
"list",
"subscription"
],
"type": "string",
"description": "Whether recipient_ids are distribution list ids or subscription ids."
},
"mail_merge_full_name": {
"type": "string",
"maxLength": 61,
"description": "Replacement when a contact has no full name."
},
"mail_merge_last_name": {
"type": "string",
"maxLength": 30,
"description": "Replacement when a contact has no last name."
},
"mail_merge_first_name": {
"type": "string",
"maxLength": 30,
"description": "Replacement when a contact has no first name."
}
}
},
"annotations": {
"title": "Send message",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}