Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as 0bull Phone Farm. If you published it, claim ownership there.

Tap, swipe or type on a phone

phone-control-tool
Destructive

Send one raw input to a farm phone. The phone must show video_live: true in list-phones-tool. Unlike phone-command-tool, which queues a run, input is applied directly and the call returns as soon as the phone acknowledges it. Coordinates are fractions of the screen (0..1: 0 = left/top, 1 = right/bottom). Ops:

  • tap (fx, fy): tap a point

  • swipe (fx1, fy1, fx2, fy2, optional steps): drag/flick between two points

  • hotkey (key): press a key: home, app_switcher, control_center, notifications, back, run_shortcut, enter, backspace, copy, cut, paste, select_all

  • type (text): type ASCII text into the focused field

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": {
      "slot": "<slot>",
      "op": "<op>"
    },
    "name": "phone-control-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
fxNoTap x, fraction 0..1 (for tap). Optional.
fyNoTap y, fraction 0..1 (for tap). Optional.
opYesInput op: tap, swipe, hotkey, type.
fx1NoSwipe start x, fraction 0..1 (for swipe). Optional.
fx2NoSwipe end x, fraction 0..1 (for swipe). Optional.
fy1NoSwipe start y, fraction 0..1 (for swipe). Optional.
fy2NoSwipe end y, fraction 0..1 (for swipe). Optional.
keyNoKey name (for hotkey): home, app_switcher, control_center, notifications, back, run_shortcut, enter, backspace, copy, cut, paste, select_all. Optional.
slotYesPhone slot to control, given as the `slot` UUID from list-phones-tool (its display name like "slot12" is not accepted). The phone must show `video_live: true` there.
textNoText to type into the focused field (for type). Optional.
stepsNoSwipe step count controlling gesture speed (for swipe). Defaults to 20. Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / key / enum
      Added value: +[
      +  "home",
      +  "app_switcher",
      +  "control_center",
      +  "notifications",
      +  "back",
      +  "run_shortcut",
      +  "enter",
      +  "backspace",
      +  "copy",
      +  "cut",
      +  "paste",
      +  "select_all"
      +]
    • addedInput schema / properties / op / enum
      Added value: +[
      +  "tap",
      +  "swipe",
      +  "hotkey",
      +  "type"
      +]
    • changedInput schema / properties / slot / description
      Previous value: -"Phone slot to control, given as the `slot` UUID from list-phones (its display name like \"slot12\" is not accepted). Must be cast/live."New value: +"Phone slot to control, given as the `slot` UUID from list-phones-tool (its display name like \"slot12\" is not accepted). The phone must show `video_live: true` there."
    • addedInput schema / properties / steps / maximum
      Added value: +500
    • addedInput schema / properties / steps / minimum
      Added value: +1
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavior: input is applied immediately rather than queued, and the call returns as soon as the phone acknowledges it — a synchronous semantics detail the annotations do not convey. It does not discuss failure modes (e.g. what happens if video_live is false), which keeps it short of a 5.

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

Conciseness5/5

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

Front-loaded with the action and precondition, then a compact bulleted op list — no sentence is redundant. The fraction convention (0 = left/top, 1 = right/bottom) is stated once and applies to all coordinate params.

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 an 11-parameter destructive tool with no output schema, the description supplies slot sourcing (UUID from list-phones-tool, display name rejected), the liveness precondition, coordinate semantics, the full op/key vocabulary, and response timing. The one gap is error/edge behavior when the phone is not live or a gesture is partially applied.

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% and each property already states its fraction range and which op it applies to ("Tap x, fraction 0..1 (for tap)"), so the description largely restates the schema. The op-keyed grouping does clarify that parameters are conditional on the chosen op, which is a mild addition over a flat property list. Baseline 3 is appropriate.

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

Purpose5/5

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

States a specific verb and resource ("send one raw input to a farm phone") and then enumerates the four supported ops with their parameter shapes. It explicitly names the sibling phone-command-tool and the behavioral difference (queued run vs. direct input), so an agent can tell the two apart without opening either schema.

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

Usage Guidelines5/5

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

Gives the hard precondition ("phone must show video_live: true in list-phones-tool") and the routing rule against phone-command-tool ("which queues a run, input is applied directly"). An agent knows both when this tool applies and which alternative handles the queued case.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources