Skip to main content
Glama

Mobilebox: Cloud phones for your agents

Ask your user to sign in

request_login
Idempotent

Your user signs in for you. Call it as soon as the phone shows a login (a password field, a sign-in page, a 2FA code) that you have no saved login for. Mobilebox prompts your user where they are (email, their dashboard, a notification) and shows them this phone live; they finish the login in a tap or two with their own browser's login or their password manager. You never see the password. The call waits up to 25 s and returns signed_in (observe, then carry on) or waiting (call it again with the same phone_id: it waits again and sends nothing new). Never ask your user for a password in chat.

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": "request_login"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoThe site to sign in to, e.g. "github.com"; default: the one in the phone's browser
phone_idYesPhone id, ph_…

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the 25 s wait, the two return states (signed_in vs waiting), that a retry sends no new notification, and that the agent never sees the password. The annotations only say it isn't read-only and is idempotent; the description supplies the actual call-and-wait contract that idempotentHint merely hints at.

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-loads what the tool does, then the trigger, then the return contract, then the safety rule — a sensible order with no filler paragraphs. It runs slightly long, and the sentence about the user finishing "in a tap or two with their own browser's login or their password manager" is explanatory color more than instruction.

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?

With no output schema, the description carries the burden of explaining returns and does so (signed_in vs waiting, with the retry procedure). Timeout, user-facing flow, and the credential-privacy guarantee are all covered, so an agent can call it correctly without further context.

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 baseline is 3, but the description adds real meaning: phone_id must be reused verbatim on retries, and the site param's default is framed as "the one in the phone's browser." That clarifies cross-call semantics the schema does not express.

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?

Opens with a concrete verb+resource framing ("Your user signs in for you") and immediately names the concrete trigger artifacts: a password field, a sign-in page, a 2FA code. This distinguishes it cleanly from passive siblings like observe or screenshot, which would only report a login screen rather than resolve it.

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 when-to-call condition ("as soon as the phone shows a login ... that you have no saved login for") plus a when-to-recall rule (call again with the same phone_id after a 'waiting' result). It also states an explicit prohibition: never ask the user for a password in chat, which routes the agent away from the wrong approach.

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.