Skip to main content
Glama

Record Screen

screen_record

Record an Android device screen as MP4 video and save it locally, with configurable duration and optional target device.

Instructions

Record the device screen as an MP4 video and save it locally

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": {
      "savePath": "<savePath>"
    },
    "name": "screen_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceIdNoTarget device serial
durationNoRecording duration in seconds (1-180)
savePathYesLocal path to save the MP4 recording

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already disclose this is a non-read-only, non-destructive, non-idempotent, closed-world operation, and the description adds that output is MP4 written to a local path. However, it omits practically relevant behavior: whether the call blocks for the recording duration, what happens if the save path or its parent directories don't exist, and whether a device must be pre-selected or connected.

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?

A single front-loaded sentence with no filler, stating action and artifact immediately. It is arguably too terse for a tool with timing and filesystem side effects, but nothing in it is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 100% schema coverage and annotations covering the safety profile, the description only needs to add operational context, and it does so partially by naming the output format and destination. It leaves gaps around blocking duration, device connectivity requirements, and filesystem failure modes that matter for a 1-180 second recording operation.

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 deviceId, duration (with 1-180 bounds and default 10), and savePath are already fully documented in structured fields. The description only reinforces that the saved artifact is MP4, adding no semantics beyond the schema, which is the expected baseline here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Record), resource (device screen), and concrete output (MP4 video saved locally), which is more informative than the bare name. It doesn't explicitly distinguish itself from the nearby device_screenshot sibling, so an agent must infer that this captures motion over time rather than a still frame.

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

Usage Guidelines2/5

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

The description gives no when-to-use guidance: it never says to prefer this over device_screenshot for animated content, never mentions prerequisites such as an active device connection, and never explains the duration default or limits. The agent is left to infer usage entirely from the name.

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