Skip to main content
Glama

Mobilebox: Cloud phones for your agents

Watch phone live

watch_phone

Get a link to the phone live, for the user: its screen with each of your actions drawn on it (cursor, taps, swipes, typed text) and a caption per step. Returns a short-lived URL and a command that opens it. Offer it when the user wants to see or confirm what you do. For a login, call request_login instead. When another step needs a person (a captcha), hand them the phone: interactive: true gives a link they open on any device (phone or laptop, no account) and tap and type on right away; your calls on the phone wait (human_in_control) until they press Hand back, then you go on.

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": {
      "phone_id": "<phone_id>"
    },
    "name": "watch_phone"
  }
}

Input Schema

NameRequiredDescriptionDefault
phone_idYesPhone id, ph_…
interactiveNotrue: whoever opens the link taps and types on the phone at once, for one step (login, 2FA, captcha), until they press Hand back. Default false: view-only
ttl_secondsNoHow long the link works. View-only: up to what is left of the phone's session (max_duration), default 1800. Interactive: up to 1800, default 600

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / ttl_seconds / description
      Previous value: -"With interactive: how long the link works, 60 to 1800; default 600"New value: +"How long the link works. View-only: up to what is left of the phone's session (max_duration), default 1800. Interactive: up to 1800, default 600"
    • changedInput schema / properties / ttl_seconds / maximum
      Previous value: -1800New value: +10800
  2. Changed2 schema fields changed
    • addedInput schema / properties / interactive
      Added value: +{
      +  "description": "true: whoever opens the link taps and types on the phone at once, for one step (login, 2FA, captcha), until they press Hand back. Default false: view-only",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / ttl_seconds
      Added value: +{
      +  "description": "With interactive: how long the link works, 60 to 1800; default 600",
      +  "maximum": 1800,
      +  "minimum": 60,
      +  "type": "integer"
      +}
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only tell the agent this is a non-destructive, non-idempotent write; the description carries far more: the URL is short-lived, a companion command opens it, the interactive link works on any device with no account, and crucially that the agent's own calls block (human_in_control) until the human presses Hand back. It also discloses the TTL ceilings tied to the phone's remaining session.

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?

Front-loaded with the core outcome and well ordered (what it is → when to offer → login alternative → interactive case). The final sentence is long and semicolon-heavy, and parts of the interactive explanation repeat the schema's own wording, costing some tightness.

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

Completeness5/5

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

For a three-parameter tool with no output schema, the description covers what is returned (URL plus a command), how long it lasts, what the human sees, and exactly how control passes back and forth. An agent has everything needed to call it correctly in both modes.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds meaning beyond the schema by explaining that interactive mode is for one step and what 'your calls wait' means in practice. The ttl_seconds trade-off is largely restated from the schema rather than extended.

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 ('Get a link to the phone live') and immediately qualifies what the link contains (screen, actions drawn on it, caption per step). It also distinguishes itself from the sibling request_login, so an agent can separate the two 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 an explicit usage trigger ('Offer it when the user wants to see or confirm what you do'), an explicit exclusion ('For a login, call request_login instead'), and a second use case with its own condition (a captcha or other human step → interactive: true).

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.