Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ npm install -g @textbee/mcp

### send_sms

Send an SMS to one or more phone numbers or short codes. International format with the country code (for example `+15550100123`) works everywhere. Local numbers and short codes only reach recipients in the sending phone's country. The sending phone is chosen automatically: your default device, otherwise the enabled device with the most recent heartbeat. Optional `device_id`, `sim_number`, `sim_subscription_id`, and `scheduled_at`. `sim_number` picks the SIM: `1` for SIM 1, `2` for SIM 2. Omit it and the phone uses its default SIM. If the SIM slot is empty, the message fails and is never sent from another SIM. `sim_subscription_id` is an older option. Android can change it after a SIM swap, so prefer `sim_number`. If both are given, only `sim_number` is used. Returns an `sms_batch_id` for delivery checks when the account uses the SMS queue.
Send an SMS to one or more phone numbers or short codes. Recipients are sent as given. A local number or short code reaches recipients in the sending phone's country. For a number in another country, use international format with the country code (for example `+15550100123`). The sending phone is chosen automatically: your default device, otherwise the enabled device with the most recent heartbeat. Optional `device_id`, `sim_number`, `sim_subscription_id`, and `scheduled_at`. `sim_number` picks the SIM: `1` for SIM 1, `2` for SIM 2. Omit it and the phone uses its default SIM. If the SIM slot is empty, the message fails and is never sent from another SIM. `sim_subscription_id` is an older option. Android can change it after a SIM swap, so prefer `sim_number`. If both are given, only `sim_number` is used. Returns an `sms_batch_id` for delivery checks when the account uses the SMS queue.

### get_messages

Expand Down
13 changes: 7 additions & 6 deletions src/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ const INSTRUCTIONS =

const SEND_SMS_DESCRIPTION =
'Send an SMS through the user\'s own textbee account and Android phone. Recipients are ' +
'phone numbers or short codes. Prefer international format with the country code, such ' +
'as +15550100123. Local numbers and short codes are sent as given and only reach ' +
'recipients in the sending phone\'s country. Sender names such as MYBANK cannot ' +
'phone numbers or short codes, sent as the user gives them. A local number or short ' +
'code reaches recipients in the sending phone\'s country. For a number in another ' +
'country, use international format with the country code, such as +15550100123. ' +
'Sender names such as MYBANK cannot ' +
'receive SMS. The sending phone is chosen ' +
'automatically: the account default device, otherwise the enabled device with the most ' +
'recent heartbeat. Only pass device_id when the user explicitly names a phone; ids come ' +
Expand Down Expand Up @@ -81,9 +82,9 @@ const sendSmsShape = {
.min(1)
.max(1000)
.describe(
'Phone numbers or short codes. Prefer international format with the country code, ' +
'for example ["+15550100123"]. Use a local number or short code only when the user ' +
'gives one. Each recipient counts as one message. The plan caps ' +
'Phone numbers or short codes, as the user gives them, for example ["5550100123"] ' +
'or ["+15550100123"]. Do not add a country code or ask for one when the user gives ' +
'a local number. Each recipient counts as one message. The plan caps ' +
'how many recipients one send may have; the server rejects the send beyond it.',
),
device_id: z
Expand Down
Loading