Telmian SMS
v1.0.3SMS for apps built with AI: OTP codes, reminders, two-way texts to 44 European countries.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
whoami
Start here. Shows who is connected, the organization, your role, the permissions (scopes) granted to this connection, the selected project and all projects. If a tool you need is missing, the human must reconnect granting that permission.
projects
List your projects and environments. Production projects may send real SMS.
create_project
Create a sandbox project: deliveries are simulated, no real SMS and no credit used. Production (real SMS) projects are created by a person in the Telmian panel after going live. Reuse the same idempotency key on retries.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | |
name * | string | |
environment | string |
select_project
Select one of your projects for subsequent MCP tools.
| Parameter | Type | Description |
|---|---|---|
project_id * | string |
account_balance
Read prepaid balance and reserved credit in integer EUR micro-units.
topup_link
Link for the human to add credit by card (Stripe) or set up automatic top-up. Real SMS start after the first paid top-up. Never ask for card details in chat.
sender_profile
The business name shown inside your SMS text (the sender is a phone number) and the site links may point to, with its review status (none, pending, approved, rejected; reason when rejected). site.code is the proof of ownership: publish it as the whole content of site.file_url (or as a DNS TXT record on the domain), deploy, then call verify_site.
set_sender_profile
Choose the business name shown inside your SMS text, e.g. "Il tuo codice <name> è…" (letters, digits and spaces, max 20; the sender stays a phone number) and optionally your site domain (e.g. example.com) for links. Ask the human first. It goes to review: usually decided in seconds, brand-like names wait for a Telmian reviewer. Real verification codes need it approved.
| Parameter | Type | Description |
|---|---|---|
app_name * | string | |
domain |
verify_site
After publishing site.code from sender_profile at site.file_url (or as a DNS TXT record), check it: the site is then verified and templates may link to it. Error site_not_verified: the code is not reachable yet.
project_policy
Read OTP and routing policy for the selected project.
update_project_policy
Change the cooldown between verification codes, the blocked regions or the maximum cost of the selected project; other limits are fixed by Telmian. Send only the fields to change; the others (including sandbox test numbers) are kept. Requires an organization admin.
| Parameter | Type | Description |
|---|---|---|
policy * | object |
api_key_creation_link
Link for the human to create an API key in the panel. Use it for live (sk_live_) keys, which never pass through this chat; for the sandbox use create_sandbox_key.
webhook_creation_link
Link for the human to create a webhook in the panel and copy its signing secret.
create_sandbox_key
Create an API key for the selected SANDBOX project (simulated SMS, no cost) and return it once. Write it to the app .env as TELMIAN_API_KEY and do not repeat it. Each call creates a new key. Live keys: api_key_creation_link.
| Parameter | Type | Description |
|---|---|---|
name | string |
create_sandbox_webhook
Create a webhook for the selected SANDBOX project: Telmian POSTs signed events (delivery, replies, verifications) to this public HTTPS address. Returns the signing secret once: write it to the app .env as TELMIAN_WEBHOOK_SECRET and verify each request with verifyWebhook from the telmian SDK. Live projects: webhook_creation_link.
| Parameter | Type | Description |
|---|---|---|
url * | string |
setup_supabase_sms
Supabase phone sign-in without Twilio: connect the Supabase Send SMS hook to the selected SANDBOX project, so Supabase sends its login codes through Telmian. Returns the hook URL and signing secret once: set them in Supabase (Authentication > Hooks > Send SMS hook, type HTTPS) or, for local Supabase, in supabase/config.toml under [auth.hook.send_sms] (enabled = true, uri, secrets); never in client code. If the human already generated a secret in Supabase, pass it as secret. Live projects are connected by the human in the panel (Connections > Integrations). If the project is already connected,…
| Parameter | Type | Description |
|---|---|---|
rotate | boolean | |
secret | string |
revoke_api_key
Revoke an API key in the selected project. Applications using it stop working.
| Parameter | Type | Description |
|---|---|---|
key_id * | string |
set_webhook_events
Change subscribed event types for a webhook in this project.
| Parameter | Type | Description |
|---|---|---|
events * | array | |
webhook_id * | string |
set_webhook_enabled
Enable or disable a webhook in this project.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | |
webhook_id * | string |
project_status
Read this project, environment, account credit and price per SMS segment (live projects; sandbox is free), all in EUR micro-units.
api_keys
List this project API keys with their visible prefix (to match the key in .env); secret values are never returned.
webhooks
List this project webhook status and event subscriptions without URLs or signing secrets.
webhook_attempts
List recent delivery attempts for this project webhooks.
messages
List recent messages with masked destination and delivery state.
message_status
Read one message state without resending it: status and error_code. Final states: delivered; failed or expired (not charged, tell the user); sent with error_code delivery_unconfirmed (may have arrived, never resend automatically); unknown (never resend). Full table: /developer/quickstart.md, section 6.
| Parameter | Type | Description |
|---|---|---|
message_id * | string |
message_replies
Read replies to a message. Personal numbers remain masked.
| Parameter | Type | Description |
|---|---|---|
message_id * | string |
message_templates
List templates and variables available for SMS. Ready ones come in Italian, English, German, French and Spanish (locale): use the language of the people who receive them; your own templates have no locale. Field formats: data DD/MM/YYYY (21/11/2026), ora HH:MM 24-hour (15:30), importo 12,50 € or €12.50, nome letters only, ordine/codice letters, digits and dashes, attivita your business name, link/url only on the verified site.
template_requests
Your templates and their review: approved (usable), pending (being reviewed, usually seconds, sometimes by a person), rejected (review_reason says what to change: tell the human and submit a new version).
verified_numbers
List verified owner numbers in masked form.
usage
Usage of this project: verification codes and, for this month, messages by type and state, with the account balance and budgets (EUR micro-units).
owner_hooks
List owner notification hooks without secret URLs.
revoke_owner_hook
Disable one owner notification hook.
| Parameter | Type | Description |
|---|---|---|
hook_id * | string |
verification_status
Read an OTP challenge status without revealing its code.
| Parameter | Type | Description |
|---|---|---|
challenge_id * | string |
remove_verified_number
Remove a verified owner number.
| Parameter | Type | Description |
|---|---|---|
number_id * | string |
scheduled_messages
List scheduled message plans and their status.
submit_template
Create or update an SMS template. Every new version is reviewed before use, usually by AI in seconds. Prefer typed fields, checked at every send: {nome}/{name}, {attivita}/{business}, {indirizzo}/{address}, {ordine}/{order}, {codice}/{code}, {data}/{date} DD/MM/YYYY, {ora}/{time} HH:MM, {importo}/{amount}, {link}/{url} (only URLs on the verified site, see verify_site). Any other field name is free text and is reviewed (usually in seconds, sometimes by a person). No phone numbers: write "reply to this SMS" (in the message language), replies come back to you. status pending: being reviewed, chec…
| Parameter | Type | Description |
|---|---|---|
body * | string | |
name * | string | |
variables * | object | |
expected_version | integer |
send_verification
Send a 6-digit OTP by SMS to a European mobile number (same as POST /v1/verify), after human approval. The code is never returned. Calling it again for the same number sends a new code and invalidates the previous one. In sandbox only the project test numbers receive it; +393000000001 always works with code 000000.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | |
phone * | string |
check_verification
Check the code the end user typed for that number (same as POST /v1/verify/check). Returns {valid:true|false}; a wrong, expired or used code is valid:false. Never repeat the code in later messages.
| Parameter | Type | Description |
|---|---|---|
code * | string | |
phone * | string |
create_inverse_verification
Create a verification where the user sends an SMS. Show the generated code and service destination only to that user. phone (the number being verified) is required in production projects.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | |
phone | string |
inverse_verification_status
Read status of an inverse SMS verification.
| Parameter | Type | Description |
|---|---|---|
verification_id * | string |
send_template_message
Queue an approved template SMS after human approval. Real projects charge credit. Use a stable idempotency key.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | |
template * | string | |
to * | string | |
variables * | object | |
appointment_at | string | |
send_at | string |
reply_to_conversation
Reply with an approved transactional template within the 24 hour conversation window.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | |
idempotency_key * | string | |
template * | string | |
variables * | object |
send_owner_alert
Send an alert SMS to the project owner verified numbers after human approval.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | |
text * | string |
cancel_message
Cancel a queued message if it has not been accepted by a gateway.
| Parameter | Type | Description |
|---|---|---|
message_id * | string |
preview_reminders
Check a batch of reminders without sending anything. Each row: to, template (a reminder template from message_templates), variables, and appointment_at (required for reminder templates: reminder 24h before the appointment, at that exact time); send_at optional to choose another time. Optional recurrence repeats every row. Returns the computed send times and a preview_token; then call schedule_reminders with the same plan and that preview_token.
| Parameter | Type | Description |
|---|---|---|
plan * | object |
schedule_reminders
Schedule a batch of reminders checked with preview_reminders, after human approval. In production projects they are real SMS at the computed times.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | |
plan * | object | |
preview_token * | string |
change_reminder
Cancel, edit (new send_at, appointment_at or variables) or duplicate scheduled reminders by message id (from scheduled_messages). future:true also changes the later occurrences of a recurrence.
| Parameter | Type | Description |
|---|---|---|
change * | object | |
idempotency_key * | string |
simulate_reply
SANDBOX ONLY: make the recipient of a sent message answer, as a real person would by SMS: response yes or no, or text for any other answer (classified yes, no or other). Webhooks and replies behave as in production.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
response | string | |
text | string |
simulate_inverse_verification
SANDBOX ONLY: simulate the user sending the SMS of an inverse verification, which completes it.
| Parameter | Type | Description |
|---|---|---|
verification_id * | string | |
phone | string |