{"protocol_version":"2025-06-18","endpoint":"https://smsnet.net/mcp","auth":"OAuth 2.1 (see /.well-known/oauth-protected-resource), or Authorization: Bearer <API key> (sn_live_…, sn_test_… or smsnet_…). Without either: simulated sends and start_setup.","tools":[{"name":"send_sms","description":"Send an SMS to a phone number from one of the account's connected phones. Returns message_id for status tracking, plus segments and encoding. Use E.164 format (+15551234567). Respects opt-outs, plan limits and carrier-safe pacing automatically. If the account holds first-contact sends for approval, the result has status \"awaiting_approval\" and an approval_url to give the person you work with.","scope":"send","inputSchema":{"type":"object","properties":{"to":{"type":"string","description":"Recipient phone number in E.164 format"},"body":{"type":"string","description":"Message text"},"device_id":{"type":"string","description":"Optional: send from a specific device"},"client_ref":{"type":"string","description":"Your own reference (≤128 chars), echoed on the message and in every message.* webhook."},"sim_id":{"type":"string","description":"Send from this SIM of the account."},"route_mode":{"type":"string","enum":["prefer","strict"],"description":"With sim_id: prefer (default) falls back to normal routing; strict only ever uses that SIM."},"send_at":{"type":"string","description":"ISO-8601 time to send at (max 20 days ahead)."},"expires_at":{"type":"string","description":"ISO-8601 time after which the message is dropped if not yet sent."},"fallback":{"type":"boolean","description":"If no line can send within 10 minutes, send through the account's own Twilio (if configured). Never with route_mode strict."},"unsubscribe":{"type":"boolean","description":"Add the recipient's opt-out link on its own line at the end. Or put {{unsubscribe}} in the body where the link should go."},"transactional":{"type":"boolean","description":"Set true ONLY for a message the recipient asked for in the last minute and is waiting on: a verification code, a confirmation, a receipt. It skips the queue's pacing and quiet hours so it arrives in seconds instead of a minute or two. Do not set it for reminders, follow ups, or anything sent to a list — using it there is what gets a number blocked by the carrier."}},"required":["to","body"]},"annotations":{"title":"Send SMS","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true}},{"name":"send_to_owner","description":"Text the account owner on their own mobile: ask a question, report that a job finished, or get an approval. Call wait_for_reply for the answer. Does not count against new-account limits. The owner sets the number in Settings.","scope":"send","inputSchema":{"type":"object","properties":{"body":{"type":"string","description":"The message"}},"required":["body"]},"annotations":{"title":"Text the account owner","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true}},{"name":"get_message_status","description":"Check the delivery status of a sent message (pending → ready → sent → delivered, or failed/expired).","scope":"read","inputSchema":{"type":"object","properties":{"message_id":{"type":"string"}},"required":["message_id"]},"annotations":{"title":"Message status","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_new_messages","description":"Pull every message that arrived or changed since a cursor. This is how an agent catches up without a webhook: call it with no cursor to get the latest, then pass back the returned next_cursor each time. Use direction=inbound to poll only for replies.","scope":"read","inputSchema":{"type":"object","properties":{"since":{"type":"string","description":"The next_cursor from a previous call. Omit for the most recent messages."},"direction":{"type":"string","enum":["inbound","outbound"],"description":"Filter by direction. Omit for both."},"limit":{"type":"number","description":"Max messages to return (default 50, max 200)."}}},"annotations":{"title":"New messages since cursor","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"list_conversations","description":"List SMS conversations (the inbox). Each has a contact, unread count and last message.","scope":"read","inputSchema":{"type":"object","properties":{"status":{"type":"string","enum":["open","closed","all"],"description":"Filter (default open)"}}},"annotations":{"title":"List conversations","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_conversation","description":"Read the full message thread of one conversation (marks it as read).","scope":"read","inputSchema":{"type":"object","properties":{"conversation_id":{"type":"string"}},"required":["conversation_id"]},"annotations":{"title":"Read conversation","readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"reply","description":"Reply inside an existing conversation. Same walls as send_sms: plan caps, the first-week ceiling, opt-outs.","scope":"send","inputSchema":{"type":"object","properties":{"conversation_id":{"type":"string"},"body":{"type":"string","description":"Reply text"},"client_ref":{"type":"string","description":"Your own reference (≤128 chars), echoed on the message and in every message.* webhook."},"sim_id":{"type":"string","description":"Send from this SIM of the account."},"route_mode":{"type":"string","enum":["prefer","strict"],"description":"With sim_id: prefer (default) falls back to normal routing; strict only ever uses that SIM."},"send_at":{"type":"string","description":"ISO-8601 time to send at (max 20 days ahead)."},"expires_at":{"type":"string","description":"ISO-8601 time after which the message is dropped if not yet sent."},"fallback":{"type":"boolean","description":"If no line can send within 10 minutes, send through the account's own Twilio (if configured). Never with route_mode strict."},"unsubscribe":{"type":"boolean","description":"Add the recipient's opt-out link on its own line at the end. Or put {{unsubscribe}} in the body where the link should go."}},"required":["conversation_id","body"]},"annotations":{"title":"Reply in conversation","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true}},{"name":"send_otp","description":"Send a one-time verification code by SMS and get back an otp_id. The code is generated and checked by SMSNET; you never see it (except with a sandbox key). Then ask the person for the code and call verify_otp.","scope":"send","inputSchema":{"type":"object","properties":{"to":{"type":"string","description":"E.164 phone number"},"length":{"type":"number","description":"Digits, 6-8 (default 6)"},"ttl_s":{"type":"number","description":"Seconds the code is valid, 60-900 (default 300)"},"template":{"type":"string","description":"Message text containing {code}. Default: \"Your code is {code}\""},"sim_id":{"type":"string","description":"Send from this SIM"},"client_ref":{"type":"string","description":"Your own reference, echoed back"}},"required":["to"]},"annotations":{"title":"Send verification code","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true}},{"name":"verify_otp","description":"Check a code the person typed. Pass the otp_id from send_otp (or the phone number). Returns valid:true once; a valid code is consumed. Five wrong tries lock the code.","scope":"send","inputSchema":{"type":"object","properties":{"otp_id":{"type":"string"},"to":{"type":"string","description":"Alternative to otp_id: the newest code sent to this number"},"code":{"type":"string"}},"required":["code"]},"annotations":{"title":"Verify code","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"wait_for_otp","description":"Wait for an INBOUND SMS that contains a 4-8 digit code (e.g. a code a service texted to this account's phone) and return it. Waits up to timeout_s (max 25); call again to keep waiting.","scope":"read","inputSchema":{"type":"object","properties":{"from":{"type":"string","description":"Only from this sender (E.164 or short code)"},"timeout_s":{"type":"number","description":"Seconds to wait, max 25 (default 20)"},"since":{"type":"string","description":"Only messages after this ISO time or epoch ms (default: now)"}}},"annotations":{"title":"Wait for inbound code","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"start_reverse_verification","description":"Prove a person holds a phone without sending anything: they text a short token to your line, from their own phone. Returns verification_id, session_id, token, line_number, an sms: link and QR data to show them. Sends no SMS, so it needs no approval for a new number and uses no plan quota. Tell the person their carrier may charge for the text. Good for signup, not for payments or account recovery: a sender number can be forged. The token lasts 2 to 3 minutes. Then call check_verification.","scope":"send","inputSchema":{"type":"object","properties":{"business_name":{"type":"string","description":"Shown in the text, so the person sees who asked. Default: the account name"},"phone":{"type":"string","description":"E.164. If given, the text must come from this number"},"session_id":{"type":"string","description":"Your session for this person, 8-128 characters. Default: one is generated and returned"},"ttl_s":{"type":"number","description":"Seconds the token is valid, 120-180 (default 180)"},"lang":{"type":"string","description":"en or he (default en)"},"sim_id":{"type":"string","description":"Receive on this line"},"client_ref":{"type":"string","description":"Your own reference, echoed back"}}},"annotations":{"title":"Start reverse verification","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"check_verification","description":"Check a reverse verification from start_reverse_verification. Pass its verification_id and session_id. Returns status pending, verified or expired; when verified, phone is the number that texted. mismatch:true means a text came from a number other than the one declared.","scope":"read","inputSchema":{"type":"object","properties":{"verification_id":{"type":"string"},"session_id":{"type":"string","description":"The session_id used at start, or returned by it"}},"required":["verification_id","session_id"]},"annotations":{"title":"Check reverse verification","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"wait_for_reply","description":"Wait for the next inbound SMS from a number (to) or in a conversation (conversation_id), and return it. Waits up to timeout_s (max 25); returns {timeout:true} if nothing arrived — call again to keep waiting.","scope":"read","inputSchema":{"type":"object","properties":{"to":{"type":"string","description":"The number you are waiting on (E.164)"},"conversation_id":{"type":"string"},"timeout_s":{"type":"number","description":"Seconds to wait, max 25 (default 20)"},"since":{"type":"string","description":"Only replies after this ISO time or epoch ms (default: now)"}}},"annotations":{"title":"Wait for reply","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"get_thread","description":"Read the message thread with a phone number (to) or a conversation_id, oldest first. Marks it as read.","scope":"read","inputSchema":{"type":"object","properties":{"to":{"type":"string","description":"E.164 phone number"},"conversation_id":{"type":"string"},"limit":{"type":"number","description":"Most recent N messages (default 50, max 200)"}}},"annotations":{"title":"Read thread","readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_line_health","description":"Health of the account's lines (SIMs): score 0-100, state healthy/watch/resting/blocked, warmup level, today's headroom, the line type with any carrier daily cap, and whether inbound has gone silent. Omit sim_id for all lines. Check this before a large send.","scope":"read","inputSchema":{"type":"object","properties":{"sim_id":{"type":"string"}}},"annotations":{"title":"Line health","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_controls","description":"The account's sending and safety settings: quiet hours (mode recipient/account/off and the quiet period), default country for numbers without a country code, which opt-outs count toward line health and the watch/rest thresholds, retries after a temporary network failure, and what happens to numbers that look wrong for their country. Read-only: the account owner changes them in the portal, Settings, Sending and safety.","scope":"read","inputSchema":{"type":"object","properties":{}},"annotations":{"title":"Sending and safety settings","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"check_number","description":"Check one phone number before sending, without sending anything: how SMSNET reads it (E.164, or a local number read with the default country), whether it looks right for its country, the recipient's time zone and local time, and whether quiet hours would hold a message to it right now.","scope":"read","inputSchema":{"type":"object","properties":{"phone":{"type":"string","description":"The number as you have it, local or international."}},"required":["phone"]},"annotations":{"title":"Check a number before sending","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"check_inbound_filter","description":"Would a message from this number reach the account, or stay on the phone because of the line's inbound privacy filter? Answers from the same rule the phone uses: uploaded true/false, the reason (texted, allowlist, not_texted, not_on_allowlist, no_number, no_filter) and a sentence to show. Omit sim_id to check every line.","scope":"read","inputSchema":{"type":"object","properties":{"phone":{"type":"string"},"sim_id":{"type":"string"}},"required":["phone"]},"annotations":{"title":"Check the inbound privacy filter","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"preflight_campaign","description":"Check a planned send to many people BEFORE sending, without sending anything: how many numbers can be sent to, which look wrong, who opted out, who is in quiet hours now, how many have a recorded consent, whether the text lets people opt out, how many SMS parts it is, and how many can go out today on the account's lines and plan. Answers risk low/medium/high, can_send, blocking reasons and advice. Call this before send_sms to more than a handful of people, and show the person the advice.","scope":"read","inputSchema":{"type":"object","properties":{"recipients":{"type":"array","items":{"type":"string"},"description":"Phone numbers, local or international. Up to 5000."},"body":{"type":"string","description":"The message text you plan to send."}},"required":["recipients","body"]},"annotations":{"title":"Check a send before sending","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"inbox_digest","description":"What needs attention since a time: conversations waiting for an answer (handed-over ones first), replies that may be asking to stop in their own words (Opt-out Guard), who opted out, sends that failed grouped by cause, SMS agent drafts waiting, and the state of each line, with a short to-do list. One call for a morning check.","scope":"read","inputSchema":{"type":"object","properties":{"hours":{"type":"number","description":"How far back, in hours (default 24, at most 336)."}}},"annotations":{"title":"What needs attention","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"explain_failure","description":"Why one sent message failed, in plain words: the likely cause (temporary network trouble, the recipient's number, or the line itself), what to do about it, and the state of the line that tried. Use the message_id from send_sms or get_message_status.","scope":"read","inputSchema":{"type":"object","properties":{"message_id":{"type":"string"}},"required":["message_id"]},"annotations":{"title":"Explain a failed message","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"resolve_possible_opt_out","description":"Settle a reply the Opt-out Guard flagged (see inbox_digest possible_opt_outs): action 'opt_out' opts the number out, 'dismiss' says it was not a stop request. When in doubt, ask the person you work for; when they asked to stop, opt them out.","scope":"manage","inputSchema":{"type":"object","properties":{"flag_id":{"type":"string"},"action":{"type":"string","enum":["opt_out","dismiss"]}},"required":["flag_id","action"]},"annotations":{"title":"Settle a possible opt-out","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"list_devices","description":"List the account's paired Android gateway phones with online status and battery.","scope":"read","inputSchema":{"type":"object","properties":{}},"annotations":{"title":"List phones","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"list_contacts","description":"Search or list contacts (phone, name, opt-out state).","scope":"read","inputSchema":{"type":"object","properties":{"search":{"type":"string","description":"Match against name or phone"}}},"annotations":{"title":"List contacts","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"add_contact","description":"Create or update a contact.","scope":"manage","inputSchema":{"type":"object","properties":{"phone":{"type":"string","description":"E.164 phone number"},"name":{"type":"string"}},"required":["phone"]},"annotations":{"title":"Add or update contact","readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"list_appointments","description":"Upcoming appointments read from the connected Google Calendar, with each customer's confirmation status (scheduled = waiting for an answer, confirmed, declined = can't come, needs_phone, skipped). Use it to see who is coming, who has not answered, and who needs a call.","scope":"read","inputSchema":{"type":"object","properties":{"status":{"type":"string","enum":["scheduled","confirmed","declined","needs_phone","skipped"],"description":"Only this status (optional)."},"days":{"type":"number","description":"How many days ahead, 1 to 8 (default 2)."}}},"annotations":{"title":"List upcoming appointments","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"set_appointment_status","description":"Record a customer's answer for an appointment: confirmed, declined (can't come), or scheduled (undo). The Google Calendar event is marked the same way. Use after the customer told you by phone or in a conversation you handled.","scope":"send","inputSchema":{"type":"object","properties":{"appointment_id":{"type":"string","description":"From list_appointments."},"status":{"type":"string","enum":["confirmed","declined","scheduled"]}},"required":["appointment_id","status"]},"annotations":{"title":"Record an appointment answer","readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"get_activity","description":"What happened on the account recently and who did it (the owner, an API key, an AI client, the SMS agent, appointment reminders, missed-call text-backs, customers' replies), newest first. Summaries only, never message text.","scope":"read","inputSchema":{"type":"object","properties":{"limit":{"type":"number","description":"1 to 100 (default 30)."},"actor_type":{"type":"string","enum":["user","api","mcp","agent","appointments","missed_call","phone","customer","system"]}}},"annotations":{"title":"Recent account activity","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"list_agent_drafts","description":"Replies the SMS agent wrote and is holding for approval (drafts mode), with the customer's last message. Approve one with send_agent_draft.","scope":"read","inputSchema":{"type":"object","properties":{}},"annotations":{"title":"SMS agent drafts waiting for approval","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"send_agent_draft","description":"Send one of the SMS agent's drafts to the customer, optionally with your edited text.","scope":"send","inputSchema":{"type":"object","properties":{"draft_id":{"type":"string","description":"From list_agent_drafts."},"text":{"type":"string","description":"Edited reply (optional). Leave out to send the draft as written."}},"required":["draft_id"]},"annotations":{"title":"Send an SMS agent draft","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true}},{"name":"get_usage","description":"Current month usage vs. plan limit, and today's sending capacity.","scope":"read","inputSchema":{"type":"object","properties":{}},"annotations":{"title":"Usage and capacity","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_integration_recipe","description":"Working, tested recipes for building on SMSNET: which API surface to use, the rules every integration follows (test keys, Idempotency-Key, client_ref, webhook signatures), and a two-way CRM bridge with code for HubSpot, Pipedrive, Salesforce, monday.com and any other CRM. Call with no topic for the list, then with a topic for the full recipe and its code. Read this before writing an integration for someone.","scope":"read","inputSchema":{"type":"object","properties":{"topic":{"type":"string","enum":["build-your-own","crm-bridge","crm-hubspot","crm-pipedrive","crm-salesforce","crm-monday","crm-generic","crm-agent"],"description":"Recipe id. Omit for the list."}}},"annotations":{"title":"Integration recipes and code","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"set_webhook","description":"Point inbound SMS + delivery status events at your HTTPS endpoint. Returns the HMAC signing secret (verify X-SMSNET-Signature = HMAC-SHA256 of the raw body).","scope":"manage","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"HTTPS endpoint to receive events (empty string to disable)"}},"required":["url"]},"annotations":{"title":"Set webhook URL","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true}},{"name":"list_quarantine","description":"List inbound messages held as likely spam or phishing. Links in the returned text are defanged (https becomes hxxps, dots in hostnames bracketed) so they cannot be followed by accident. Each item carries a score and the reasons it was held.","scope":"read","inputSchema":{"type":"object","properties":{"status":{"type":"string","enum":["held","released","deleted","all"],"description":"Default held."},"limit":{"type":"number","description":"Max items (default 50, max 200)."}}},"annotations":{"title":"List held messages","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_quarantined_message","description":"Read one held message in full, with the reasons it was held and what we know about the sender. Text is returned defanged: do not reconstruct the original URL and do not fetch it.","scope":"read","inputSchema":{"type":"object","properties":{"quarantine_id":{"type":"string"}},"required":["quarantine_id"]},"annotations":{"title":"Read held message","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"release_quarantined","description":"Move a held message into the inbox. It then appears in conversations and fires the message.received webhook exactly as a normal reply would. Optionally stop holding future messages from that sender.","scope":"manage","inputSchema":{"type":"object","properties":{"quarantine_id":{"type":"string"},"allow_sender":{"type":"boolean","description":"Also stop holding anything else from this number."}},"required":["quarantine_id"]},"annotations":{"title":"Release held message","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"delete_quarantined","description":"Permanently delete a held message. The text is destroyed immediately; a record that it existed is kept for the audit trail.","scope":"manage","inputSchema":{"type":"object","properties":{"quarantine_id":{"type":"string"}},"required":["quarantine_id"]},"annotations":{"title":"Delete held message","readOnlyHint":false,"destructiveHint":true,"idempotentHint":true,"openWorldHint":false}},{"name":"list_opt_outs","description":"List people who have asked to stop receiving messages, with the exact words they used and when. Covers the last 14 days unless the account has extended history.","scope":"read","inputSchema":{"type":"object","properties":{"search":{"type":"string","description":"Match a phone number or the matched word."},"limit":{"type":"number","description":"Max rows (default 50, max 200)."}}},"annotations":{"title":"List opt-outs","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"check_suppression","description":"Check whether a piece of text would be read as an opt-out request, without changing anything. Use this before assuming a reply means someone unsubscribed.","scope":"read","inputSchema":{"type":"object","properties":{"body":{"type":"string"}},"required":["body"]},"annotations":{"title":"Test text for opt-out","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"add_suppression_word","description":"Add a word or phrase that will opt someone out when they send it. By default it only matches when it is the entire message, so it will not fire on a word used in a sentence.","scope":"manage","inputSchema":{"type":"object","properties":{"phrase":{"type":"string"},"action":{"type":"string","enum":["opt_out","opt_in"],"description":"Default opt_out."},"match_mode":{"type":"string","enum":["whole_message","leading","contains"],"description":"Default whole_message. 'contains' unsubscribes anyone who uses the word in a sentence, so use it only when the customer asked for that."}},"required":["phrase"]},"annotations":{"title":"Add opt-out keyword","readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"opt_out_contact","description":"Mark a contact as opted out. Use this when someone asks to stop in a way the keyword rules did not catch. It is recorded with the reason and cannot be undone silently.","scope":"manage","inputSchema":{"type":"object","properties":{"phone":{"type":"string","description":"E.164 phone number"},"reason":{"type":"string","description":"What they said or why you are doing this."}},"required":["phone"]},"annotations":{"title":"Opt out contact","readOnlyHint":false,"destructiveHint":true,"idempotentHint":true,"openWorldHint":false}}],"trust_tools":[{"name":"approve_client","description":"Submit the 6-digit approval code the account owner received by email or SMS, to authorise this AI client to use the account. Ask the person you are working with for the code. This is the only way to unlock the other tools.","inputSchema":{"type":"object","properties":{"code":{"type":"string","description":"The 6-digit code from the account owner"},"name":{"type":"string","description":"Optional label for this client, e.g. 'Claude Code on Dana's laptop'"}},"required":["code"]},"annotations":{"title":"Approve this AI client","readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"check_approval","description":"Check whether the account owner has approved this client from the SMSNET portal. Call this if they approved it in the browser instead of giving you a code. Poll no more than once every 5 seconds.","inputSchema":{"type":"object","properties":{}},"annotations":{"title":"Check client approval","readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}]}