Skip to main content
Glama

Robot Actions — Remote Device Control

device_record_start

Start a screen recording on an Android device. Recording subscribes to the per-device shared device control session (same session that powers live UI streaming and MCP control — never a duplicate device control process). H.264/H.265 video frames are remuxed server-side into an mp4 on the server host. No on-device storage, no FLAG_SECURE limits, no 180 s on-device recorder cap. The recording auto-stops after maxDurationSec (default 300, max 600) so a forgotten stop call cannot fill disk indefinitely. Returns a recordingId to pass to device_record_stop. Only one recording per device at a time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
udidYesDevice serial number (UDID)
maxDurationSecNoAuto-stop cap in seconds (default 300, max 600)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure and does so thoroughly. It explains side effects: subscription to the existing device control session, server-side remuxing, auto-stop behavior, lack of on-device storage or FLAG_SECURE limitations, and the single-recording-per-device rule.

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?

The description is detailed yet compact, with the core operation front-loaded. Each additional sentence earns its place by explaining critical behavioral constraints, output, or pairing with `device_record_stop`, with no redundant filler.

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 two-parameter tool with no output schema, the description is complete: it specifies the return contract (`recordingId` for `device_record_stop`), auto-stop limits, concurrency restrictions, and the underlying session behavior. An agent has enough information to select and invoke this tool correctly.

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%, so the schema already documents `udid` and `maxDurationSec` effectively. The description reinforces the default/max behavior of `maxDurationSec` but does not add meaning beyond what the schema already states, so the baseline score of 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?

The description states a specific verb and resource: 'Start a screen recording on an Android device.' It further distinguishes this from related flows by describing server-side remuxing, the shared device control session, and the `device_record_stop` pairing, so an agent can separate it from streaming or performance-recording tools.

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

Usage Guidelines4/5

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

The description gives clear context for when this tool is appropriate: when a screen recording should be saved server-side as an mp4, with no on-device storage and no built-in recorder limits. It contrasts with on-device recording behavior ('no 180 s on-device recorder cap') and notes the one-recording-per-device constraint, though it does not explicitly name sibling alternatives such as `android_video_stream` or `android_performance_record_start`.

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