diff --git a/README.md b/README.md index 4dc4d9c..11880c7 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/tools.ts b/src/tools.ts index cb51234..a998fc8 100644 --- a/src/tools.ts +++ b/src/tools.ts @@ -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 ' + @@ -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