2026-12-03 18:26 UTC
DANGMUAAI & Developer Tools, Decoded
BackAgents

AI Agent Phone Tools: Five Rules Before You Ship One

Two projects put AI agents on real phones this week. Wiring telecom tools takes ten minutes; the limits that keep them safe belong on the server.

DangMua EditorialDec 03, 20264 min read
AI Agent Phone Tools: Five Rules Before You Ship One

Two projects published this week push AI agents past the browser and onto real phones — one driving a physical handset through its GUI, the other handing agents the ability to send texts and place calls. Wiring the second one up takes about ten minutes with the Model Context Protocol. Making it safe takes considerably longer, and the guardrails belong somewhere most teams do not put them.

Mobile-use: the computer-use loop on real hardware

Computer-use lets an agent operate a machine through its graphical interface instead of an API: it sees the screen via screenshots or an accessibility tree and clicks, types, drags and scrolls like a person. The loop its developer describes is four steps — observe the current screen state, decide the next step against your goal, act through an execution harness that translates the decision into real UI actions, and verify that the action worked before moving on.

The new open-source project, mobile-use, applies that same loop to a physical mobile device. Its author lists three uses: tapping through an Android app to fill forms and verify UI flows on real hardware rather than an emulator; automating mobile-only workflows; and bridging desktop agents to apps with no public API. The project credits trycua/cua, its desktop counterpart, as the inspiration.

Real-device testing is the claim worth watching. Emulator coverage has never matched hardware behaviour for permissions or OEM skins — but the project is new and ships no benchmark, so treat it as unproven.

Five rules for tools that can spend money

The second piece is more immediately useful, with one caveat: it comes from a company that hosts a telecom MCP server, so the rules double as a description of its own product. They are still the right rules.

An MCP server exposes tools as a name, a description and a JSON schema. For telecom that means send_sms, start_verification, check_verification and place_call. The model only ever sees the description and the schema — which, as the author notes, makes both part of your safety design rather than documentation.

  • Narrow tools beat a general one. Do not expose http_request pointed at your telecom API. One tool per action, tightly typed: an E.164 pattern on the destination number, a maxLength of 320 on the message body.
  • Limits live on the server, not in the prompt. "A prompt that says 'never send more than five messages' is a suggestion," the author writes. The server is where you enforce a per-session and per-day cap, an allow-list of destination countries, a cooldown per destination number so a confused loop cannot text the same person twenty times, and a hard block on premium-rate and short-code destinations.
  • Verification codes never pass through the model. The agent calls a start tool, then a check tool with whatever the user typed. The code is generated and checked server-side, so it never lands in a tool result, the model's context, or your logs.
  • Return results the model can act on. A message ID and a clear status — "queued", or "rejected: destination not allowed" — not a raw stack trace. The model will try to fix whatever you show it.
  • A human confirms anything that costs money. Calls and international messages bill real money. Most MCP clients already prompt for tool-call confirmation; the advice is not to turn it off for these tools.

One implementation detail generalises well beyond telecom: the API key goes in a request header and no tool accepts it as an argument, so the credential never passes through the model at all.

What to do with this

If you are already running agents against internal tools, audit them against rule two first. Prompt-level limits are the most common shortcut and the easiest to blow through, because a single confused retry loop can exhaust a budget no system prompt was ever going to hold back. Then check rule three: any secret your tool returns is a secret your model context and your logs now contain.

And if you are putting an agent on a physical phone, start with a device holding nothing you would mind losing. Both projects are early, and neither has published failure rates.

More from DangMua