Read smsmode balance, messages, replies, campaigns and usage; send SMS to up to 10 numbers.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
WRITE: cancels ONE message that is still scheduled (status SCHEDULED, sent with send_at) so it is not sent; smsmode refuses messages already sent. Cannot be undone. DELETE /sms/v1/messages/{id}.
Id of the scheduled message (from smsmode_send_sms or smsmode_list_messages).
The server marks this tool as destructive. Running it may delete or overwrite data on the server or in any account you connected with your headers.
WRITE: cancels ONE message that is still scheduled (status SCHEDULED, sent with send_at) so it is not sent; smsmode refuses messages already sent. Cannot be undone. DELETE /sms/v1/messages/{id}.
| Argument | Type | Description |
|---|---|---|
| message_id* | string | Id of the scheduled message (from smsmode_send_sms or smsmode_list_messages). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"message_id"
],
"properties": {
"message_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Id of the scheduled message (from smsmode_send_sms or smsmode_list_messages)."
}
}
}The credit balance of the connected smsmode account (and sub-organisations an administrator key can see): amount and currency (negative = owed on a POST_PAY account), payment type (PRE_PAY / POST_PAY), state, monthly consumption and its limit. Good first call; check it before sending SMS. GET /commons/v1/organisations.
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}One campaign: state, period, recipients count, text, price and delivery counts per status. Use smsmode_list_messages with campaign_id for its individual messages. GET /sms/v1/campaigns/{id}.
| Argument | Type | Description |
|---|---|---|
| campaign_id* | string | Campaign id (from smsmode_list_campaigns). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"campaign_id"
],
"properties": {
"campaign_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Campaign id (from smsmode_list_campaigns)."
}
}
}Details of one channel: type, flow, default sender ID and authorized sender IDs, limits and consumption. GET /commons/v1/channels/{id}.
| Argument | Type | Description |
|---|---|---|
| channel_id* | string | Channel id (from smsmode_list_channels). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"channel_id"
],
"properties": {
"channel_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Channel id (from smsmode_list_channels)."
}
}
}One consumption record broken down by country (mcc) or network (mccMnc) with quantity and price per sub-item, optionally with delivery statuses. GET /commons/v1/consumptions/{id}.
| Argument | Type | Description |
|---|---|---|
| group_by | string | mccMnc = per network (default), mcc = per country. |
| consumption_id* | string | Consumption id (from smsmode_list_consumptions). |
| detail_statuses | boolean | Include delivery statuses per sub-item. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"consumption_id"
],
"properties": {
"group_by": {
"enum": [
"mccMnc",
"mcc"
],
"type": "string",
"description": "mccMnc = per network (default), mcc = per country."
},
"consumption_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Consumption id (from smsmode_list_consumptions)."
},
"detail_statuses": {
"type": "boolean",
"description": "Include delivery statuses per sub-item."
}
}
}One message: delivery status and detail, delivery date, recipient network, text, parts and price. GET /sms/v1/messages/{id}.
| Argument | Type | Description |
|---|---|---|
| channel_id | string | The channel the message was sent through (optional). |
| message_id* | string | Message id (from smsmode_send_sms or smsmode_list_messages). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"message_id"
],
"properties": {
"channel_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The channel the message was sent through (optional)."
},
"message_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Message id (from smsmode_send_sms or smsmode_list_messages)."
}
}
}Full details of one organisation: contacts, addresses, company information, balance, monthly limit and consumption. GET /commons/v1/organisations/{id}.
| Argument | Type | Description |
|---|---|---|
| organisation_id* | string | Organisation id (from smsmode_get_balance). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organisation_id"
],
"properties": {
"organisation_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Organisation id (from smsmode_get_balance)."
}
}
}Existing SMS campaigns (grouped sends) with status SCHEDULED / ONGOING / ENDED, quantity, price and per-status delivery counts. Read only: this server does not send campaigns. GET /sms/v1/campaigns.
| Argument | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| status | string | Only campaigns in this state. |
| end_date | string | Window end (default now) |
| page_size | integer | Results per page, 1-100 (default 10). |
| channel_id | string | Only this channel. |
| ref_client | string | Only campaigns tagged with this reference. |
| start_date | string | Window start (default 10 days ago) |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"status": {
"enum": [
"SCHEDULED",
"ONGOING",
"ENDED"
],
"type": "string",
"description": "Only campaigns in this state."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2})?)?$",
"description": "Window end (default now)"
},
"page_size": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 10)."
},
"channel_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Only this channel."
},
"ref_client": {
"type": "string",
"maxLength": 140,
"minLength": 3,
"description": "Only campaigns tagged with this reference."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2})?)?$",
"description": "Window start (default 10 days ago)"
}
}
}List messaging channels (SMS or RCS; flow TRANSACTIONAL / MARKETING / OTP) with default sender, daily and monthly limits and consumption. A channel id is needed to scope messages or consumption to one channel. GET /commons/v1/channels.
| Argument | Type | Description |
|---|---|---|
| flow | string | Channel flow. |
| name | string | Channel name filter. |
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| type | string | Channel type. |
| page_size | integer | Results per page, 1-100 (default 10). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"flow": {
"enum": [
"MARKETING",
"TRANSACTIONAL",
"OTP"
],
"type": "string",
"description": "Channel flow."
},
"name": {
"type": "string",
"maxLength": 15,
"minLength": 1,
"description": "Channel name filter."
},
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"type": {
"enum": [
"SMS",
"RCS"
],
"type": "string",
"description": "Channel type."
},
"page_size": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 10)."
}
}
}Sent-message counts and money spent per month or per day (price amount and currency), optionally for one channel. Default: monthly, the last 3 months. GET /commons/v1/consumptions.
| Argument | Type | Description |
|---|---|---|
| flow | string | Only this channel flow. |
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| end_date | string | Last day, yyyy-mm-dd (default today). |
| page_size | integer | Results per page, 1-100 (default 10). |
| channel_id | string | Only this channel (from smsmode_list_channels). |
| start_date | string | First day, yyyy-mm-dd (default 3 months ago). |
| period_type | string | MONTH (default) or DAY. |
| channel_type | string | SMS (default) or RCS. |
| sort_by_start_date | string | Order by start date. |
Messages with delivery status (SCHEDULED, ENROUTE, DELIVERED, UNDELIVERABLE, UNDELIVERED; status.detail names the cause), recipient, sender, text, parts and price. Default window: the last 10 days. Filter by direction (MT = sent, MO = replies received), recipient, your reference, channel or campaign. Paged: pass next_page as page. GET /sms/v1/messages.
| Argument | Type | Description |
|---|---|---|
| to | string | Only messages to/from this number (international digits, e.g. 33610203040). |
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| end_date | string | Window end (default now) |
| direction | string | MT = sent messages (default), MO = incoming replies. |
| page_size | integer | Results per page, 1-100 (default 10). |
| channel_id | string | Only this channel. |
| ref_client | string | Only messages tagged with this reference. |
| start_date | string | Window start (yyyy-mm-dd or yyyy-mm-ddThh:mm:ss; default 10 days ago) |
Country and mobile network (mcc/mnc, operator) of a phone number. Only for customers with a premium smsmode subscription and, for now, only French numbers (403 otherwise). GET /commons/v1/lookup/{msisdn}.
| Argument | Type | Description |
|---|---|---|
| phone_number* | string | Phone number in international format, e.g. 33600000000 or +33600000000. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"phone_number"
],
"properties": {
"phone_number": {
"type": "string",
"maxLength": 20,
"minLength": 7,
"description": "Phone number in international format, e.g. 33600000000 or +33600000000."
}
}
}WRITE, SPENDS CREDIT: sends one SMS text to 1 to 10 recipients (one message each, a batch of unit messages) and texts REAL people immediately, or at send_at. Cost: every message is charged to the account at its destination's price per SMS part (GSM7: 160 characters for 1 part, 306 for 2, 459 for 3...; UNICODE: 70, 134, 201...); the accept reply returns each message's id and status (the price may only appear later on smsmode_get_message / smsmode_list_messages; total_price is given when present). A batch can partly fail: failures lists the refused numbers, which are not charged. A message is never retried: after a timeout or error, check smsmode_list_messages (ref_client) before sending again. Max 10 recipients, no campaigns or lists. Check smsmode_get_balance first. POST /sms/v1/messages.
| Argument | Type | Description |
|---|---|---|
| to* | array | 1-10 recipient phone numbers in international format with country code, e.g. 33610203040 or +33610203040. |
| from | string | Sender ID (max 11 characters; must be authorized for the account, else smsmode refuses). Default: the channel's sender. |
| stop | boolean | Append the legal 'STOP' unsubscribe mention (required for marketing messages with a custom sender in France). |
| text* | string | The SMS text (max 1530 characters GSM7 / 670 UNICODE; longer texts are split in parts and each part is charged). |
| send_at | string | Schedule: a future date and time yyyy-mm-ddThh:mm:ss (a time is required; at least a few minutes ahead; smsmode's local time). Omit to send now. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"flow": {
"enum": [
"MARKETING",
"TRANSACTIONAL",
"OTP"
],
"type": "string",
"description": "Only this channel flow."
},
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last day, yyyy-mm-dd (default today)."
},
"page_size": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 10)."
},
"channel_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Only this channel (from smsmode_list_channels)."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First day, yyyy-mm-dd (default 3 months ago)."
},
"period_type": {
"enum": [
"MONTH",
"DAY"
],
"type": "string",
"description": "MONTH (default) or DAY."
},
"channel_type": {
"enum": [
"SMS",
"RCS"
],
"type": "string",
"description": "SMS (default) or RCS."
},
"sort_by_start_date": {
"enum": [
"ASC",
"DESC"
],
"type": "string",
"description": "Order by start date."
}
}
}| campaign_id | string | Only this campaign (from smsmode_list_campaigns). |
| origin_message_id | string | Only replies to this message (direction MO is set automatically). |
| sort_by_sent_date | string | Order by sent date. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"to": {
"type": "string",
"maxLength": 20,
"description": "Only messages to/from this number (international digits, e.g. 33610203040)."
},
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2})?)?$",
"description": "Window end (default now)"
},
"direction": {
"enum": [
"MT",
"MO"
],
"type": "string",
"description": "MT = sent messages (default), MO = incoming replies."
},
"page_size": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 10)."
},
"channel_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Only this channel."
},
"ref_client": {
"type": "string",
"maxLength": 140,
"minLength": 3,
"description": "Only messages tagged with this reference."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2})?)?$",
"description": "Window start (yyyy-mm-dd or yyyy-mm-ddThh:mm:ss; default 10 days ago)"
},
"campaign_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Only this campaign (from smsmode_list_campaigns)."
},
"origin_message_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Only replies to this message (direction MO is set automatically)."
},
"sort_by_sent_date": {
"enum": [
"ASC",
"DESC"
],
"type": "string",
"description": "Order by sent date."
}
}
}| encoding | string | GSM7 (default) or UNICODE (needed for emoji and non-Latin scripts; max 670 characters). |
| ref_client | string | Your reference tag (3-140 characters) to find these messages later. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"to",
"text"
],
"properties": {
"to": {
"type": "array",
"items": {
"type": "string",
"maxLength": 20,
"minLength": 7
},
"maxItems": 10,
"minItems": 1,
"description": "1-10 recipient phone numbers in international format with country code, e.g. 33610203040 or +33610203040."
},
"from": {
"type": "string",
"maxLength": 11,
"minLength": 1,
"description": "Sender ID (max 11 characters; must be authorized for the account, else smsmode refuses). Default: the channel's sender."
},
"stop": {
"type": "boolean",
"description": "Append the legal 'STOP' unsubscribe mention (required for marketing messages with a custom sender in France)."
},
"text": {
"type": "string",
"maxLength": 1530,
"minLength": 1,
"description": "The SMS text (max 1530 characters GSM7 / 670 UNICODE; longer texts are split in parts and each part is charged)."
},
"send_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2})?$",
"description": "Schedule: a future date and time yyyy-mm-ddThh:mm:ss (a time is required; at least a few minutes ahead; smsmode's local time). Omit to send now."
},
"encoding": {
"enum": [
"GSM7",
"UNICODE"
],
"type": "string",
"description": "GSM7 (default) or UNICODE (needed for emoji and non-Latin scripts; max 670 characters)."
},
"ref_client": {
"type": "string",
"maxLength": 140,
"minLength": 3,
"description": "Your reference tag (3-140 characters) to find these messages later."
}
}
}