Skip to main content
Glama

Record Device Screen [Pro]

record_screen

Record the device screen as an MP4 video. Specify device ID and optional duration (max 180s), bit rate, resolution. Stop recording to save the file.

Instructions

[Pro] Start recording the device screen as MP4 video. Android has a 3-minute maximum per recording. Only one recording per device at a time. Call stop_recording to finish and save the video.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idYesDevice serial ID
max_durationNoMaximum recording duration in seconds (max 180)
bit_rateNoVideo bit rate in bits/sec (default: 20Mbps)
resolutionNoVideo resolution WIDTHxHEIGHT (e.g., '1280x720')
Behavior5/5

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

No annotations provided, so description carries full burden. Discloses format (MP4), limits (3-min Android, one at a time), and required complementary action (call stop_recording).

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?

Three concise sentences with no wasted words. Each sentence adds distinct value: purpose, constraints, follow-up action.

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?

Covers key behavioral aspects for a screen recording tool. No output schema, but return is implied (saved video). Could mention whether resolution is required or optional.

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. Description adds context: max_duration is capped at 180, bit_rate default is 20Mbps, resolution example format. Small added value.

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?

Clearly states it records device screen as MP4 video. Distinguishes from sibling tools like take_screenshot (static image) and stop_recording (ends recording).

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?

Explicitly mentions Android has a 3-minute maximum and only one recording per device. Does not specify when to use alternatives like record_screen vs. other recording tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/saranshbamania/mobile-device-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server