Skip to main content
Glama

record_screen

Captures Android or iOS screen activity to an MP4 file for bug reproduction. Start or stop recording and retrieve the local file path.

Instructions

Record the device screen to an mp4 file. action "start" begins recording (Android caps at 180s), action "stop" finalizes it and returns the local file path. Useful for bug repro evidence.

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

Input Schema

NameRequiredDescriptionDefault
forceNoWith action "start": discard a recording already in progress instead of failing. Default: false
actionYes"start" to begin recording, "stop" to finish and retrieve the video, "status" to check without changing anything
platformNoTarget platform. Inferred if omitted.
device_idNoDevice ID. Omit for the connected device.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses the state machine (start begins, stop finalizes), a platform-specific constraint (Android caps at 180s), and that stop returns a local file path. It does not say what happens to the file afterward, whether an in-progress recording blocks other tools, or how status reports state, but the added context is substantial.

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?

Three tight sentences, front-loaded with the outcome, then the action semantics, then the use case. The action semantics partially duplicate the enum descriptions in the schema, which is minor waste but aids scanning.

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?

There is no output schema, and the description compensates by naming the return value (local file path) for stop. It is nearly complete for a two-state recording tool; the main omission is any mention of what status returns or of iOS-specific limits.

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 all four parameters are already documented, including the force flag and the action enum. The description restates the start/stop meaning of action and adds only the file-path return detail, so the baseline of 3 applies.

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?

The description gives a specific verb and resource ("Record the device screen to an mp4 file") and enumerates the start/stop lifecycle, so it is clearly distinguishable from a still-image tool. It stops short of explicitly contrasting itself with the screenshot sibling, which would have made it a 5.

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

Usage Guidelines3/5

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

The phrase "Useful for bug repro evidence" gives a usage context, but there is no when-not guidance, no prerequisites, and no routing to alternatives such as screenshot for static captures. Usage is implied rather than prescribed.

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