AGENT SKILL
send-otp
Send a single transactional SMS in Turkey (OTP, order update) and confirm delivery
- License 许可
- MIT
- 所属仓库
- theYahia/WWmcp
- 最近更新
- 2026-09-26
- Stars
- ★ 38
- Forks
- 5
01 前言 Front Matter
- name
- send-otp
- description
- Send a single transactional SMS in Turkey (OTP, order update) and confirm delivery
- argument-hint
- <phone 5XXXXXXXXX> "<message>" [sender]
03 SKILL.md 正文
/send-otp — Single SMS with delivery check
Algorithm
- Call
get_senderto get the sender headers (başlık) approved on this account. An unapproved header is the most common cause of a silently undelivered SMS in Turkey.APITESTis the provider sandbox header. - Call
get_balanceif the account is near empty or the user asks — one credit per segment. - Call
send_smswithto(a Turkish mobile, e.g.5551234567),message, andsenderfrom step 1. Leavemessage_typeat its defaulttransactional: OTP and order updates are exempt from İYS consent. Never passschedule_atfor a verification code. - Take the order id from the response and call
get_reportwithorder_idto read the per-recipient delivery state. A report right after sending usually reads110 WAITING— wait and re-check once before declaring failure. - If the number never receives it, call
get_blacklistto check whether it opted out.
Response format
## SMS sent
**To**: 5551234567
**Sender**: SIRKETADI
**Message**: Dogrulama kodunuz: 481902
**Segments**: 1
**order_id**: 4471029
**Delivery**: DELIVERED (111)
**Balance left**: 4,812 credits
Notes
- Turkish characters (ç ğ ı ö ş ü) push a message into Unicode encoding: 70 chars per segment instead of 160. Warn the user when the text will cost extra segments.
- A number on the blacklist will never receive anything —
send_smsmay still return OK. - Message status codes:
110 WAITING,111 DELIVERED,112 UNDELIVERED.
Examples
/send-otp 5551234567 "Dogrulama kodunuz: 481902"
/send-otp 5339876543 "Siparisiniz kargoya verildi" SIRKETADI
04 同仓库更多 Skills
refund-payment
Возврат по платежу — полный или частичный. Проверяет статус перед возвратом
★ 38
daily-report
Отчёт по платежам за сегодня — суммы, статусы, итого. Использует list_payments
★ 38
create-and-track
Создать платёж в ЮKassa и показать ссылку для оплаты. Использует create_payment и get_payment
★ 38
check-account
Проверка статуса магазина ЮKassa — тестовый/боевой, фискализация, ID
★ 38
semantic-core
Сбор семантического ядра под русский рынок — частотность, расширение, сезонность
★ 38
geo-priority
Где спрос по фразе выше среднего — регионы РФ по объёму и affinity для геотаргетинга
★ 38