Skip to main content
Glama

Robot Actions — Remote Device Control

Device record start

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?

Annotations declare a non-readonly, non-destructive, non-idempotent mutation, but the description adds crucial operational context: it reuses the shared device control session, remuxes H.264/H.265 server-side, avoids on-device storage and FLAG_SECURE limits, auto-stops to prevent disk fill, and allows only one recording per device. These are traits an agent cannot infer from annotations or schema.

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?

Despite its length, every sentence carries non-redundant information: session reuse, remux pipeline, storage guarantees, auto-stop rationale, return value, and concurrency limit. The purpose is front-loaded and the detail is warranted for a stateful recording start tool.

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?

No output schema exists, but the description states the return value (recordingId) and its use with device_record_stop. Annotations cover safety hints, and the description covers behavior, constraints, and cleanup semantics, leaving no significant gap for correct invocation.

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%, so both udid and maxDurationSec are documented. The description reinforces the maxDurationSec auto-stop behavior and default/max values, but adds little parameter-specific syntax or meaning beyond the schema's own descriptions.

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+resource ('Start a screen recording on an Android device') and distinguishes this from the iOS sibling by platform and from on-device recording by its server-side remux architecture. The agent can identify it as the Android screen-recording start 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 Guidelines4/5

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

States the platform (Android) and the action (start screen recording), and routes the agent to device_record_stop via the returned recordingId. It also notes the single-recording-per-device constraint. However, it never explicitly contrasts with sibling recording tools such as android_performance_record_start or ios_record_start, nor states when not to record.

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