Skip to main content
Glama

Send SMS

send_sms

Deliver an incoming SMS to an Android emulator by specifying sender and message text, enabling OTP and 2FA flows without a second phone. Works with emulators only.

Instructions

Deliver an incoming SMS to the emulator (adb emu sms send) — the standard way to drive OTP / 2FA flows without a second phone. Pass a sender number (from) and the message text (e.g. the code). Emulator-only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "from": "<from>",
      "text": "<text>"
    },
    "name": "send_sms"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromYesSender phone number the SMS appears to come from, e.g. "+15551234567".
textYesMessage body (e.g. an OTP code) delivered to the device's SMS inbox.
serialNoTarget device serial (adb -s). Optional when exactly one device is attached.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare openWorldHint=false and destructiveHint=false, so the description's contribution is meaningful: it clarifies that the message is injected into the emulator's inbox rather than sent over a real network, and that a second device is unnecessary. It could add more about timing or whether the SMS appears immediately, but the key behavioral nuance is covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact clauses, front-loaded with the action and its mechanism, then the use case, then the environment restriction. The '(adb emu sms send)' parenthetical is slightly technical filler but remains short and earns its place as mechanism disclosure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-required-parameter tool with full schema coverage and annotations providing the safety profile, the description supplies what is needed to call it correctly: purpose, mechanism, use case, and environment constraint. No output schema exists, so return-value explanation is not required.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all three parameters — including the optional serial — are already documented with examples in the schema. The description's restatement of 'from' and 'text' adds no syntax or format detail beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("Deliver an incoming SMS to the emulator") and even discloses the underlying command (adb emu sms send). It does not explicitly contrast with the sibling phone_call, but the injection-of-SMS framing combined with "Emulator-only" makes the scope unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a concrete usage scenario — driving OTP / 2FA flows without a second phone — which tells the agent exactly when this is the right tool. It states the emulator-only restriction, though it does not name an alternative for physical devices or a when-not case beyond that constraint.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.