Skip to main content
Glama

Mobilebox: Cloud phones for your agents

Record screen

record_screen

Record the phone's screen as a video for the proof: "start" before the run, then publish_proof stops it and adds an MP4 link to the PR comment (stored and deleted with the proof's screenshots, after 30 days). "stop" ends it sooner. One recording per phone, up to 180 s (it stops by itself then); parking or deleting the phone ends it. Before/after: start it after the "Before" publish_proof, or that proof takes it.

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>",
      "action": "<action>"
    },
    "name": "record_screen"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesstart: record from now on; stop: end it, kept for the next publish_proof
phone_idYesPhone id, ph_…

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare it as a non-read-only, non-destructive, non-idempotent mutation; the description goes far beyond that with the 180 s hard cap and self-stop, the one-recording-per-phone constraint, implicit termination when the phone is parked or deleted, and the 30-day retention tied to the proof's screenshots. These are exactly the side effects and limits an agent cannot infer from structured fields.

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?

The purpose is front-loaded in the first clause and nearly every sentence carries non-obvious information (duration cap, auto-stop, retention, ordering). It is dense to the point of being run-on, with stacked parentheticals and a terse final clause ("or that proof takes it") that takes a second read.

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 2-parameter tool with no output schema, the description covers lifecycle, limits, cleanup, and cross-tool interaction well. The one gap is the return value of action="start" (and what "stop" returns to be picked up by publish_proof) — with no output schema, the agent gets no signal about response shape.

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 coverage is 100% and the action enum already documents "start: record from now on; stop: end it, kept for the next publish_proof". The description's "stop ends it sooner" largely restates that, and phone_id gets no additional treatment beyond the schema; the lifecycle context it adds is closer to usage guidance than parameter semantics, so the 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 ("Record the phone's screen as a video") and immediately scopes it to the proof workflow, which distinguishes it from siblings like screenshot, observe, and watch_phone. The start/stop vocabulary matches the enum exactly, so an agent can map intent to the tool without opening the 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 explicit ordering guidance: start before the run, start it *after* the "Before" publish_proof or that proof consumes the recording. It also names the alternative path — publish_proof stops the recording automatically — so the agent knows action="stop" is optional, not required.

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.