Skip to main content
Glama

record_screen

Capture an Android or iOS device screen for a set duration and save the recording as an MP4 file to a specified path.

Instructions

Record the device screen for a given duration and save to a file

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": {
      "platform": "<platform>",
      "device": "<device>",
      "output_path": "<output_path>"
    },
    "name": "record_screen"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceYesDevice ID or name
platformYesTarget platform
output_pathYesAbsolute path to save the video file (.mp4)
duration_secNoRecording duration in seconds

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden, and it is thin: it does not state that the call is long-running and blocks for duration_sec, what happens if output_path already exists, whether the path must be writable, or what a failure looks like. 'Save to a file' is the only behavioral detail offered for a mutation-style, time-consuming operation.

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, well-formed sentence with the action, the scope (duration) and the outcome (file) front-loaded; nothing is padded or redundant. It is arguably too terse rather than poorly structured, so terseness is penalized under other dimensions rather than here.

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

Completeness2/5

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

For a device-side capture tool with no annotations and no output schema, the definition omits key facts an agent needs to call it safely: that the call blocks for up to 180 seconds, what the returned artifact reference is, and how overwrites or failures manifest. All four parameters are documented, but operational completeness is well short of what the annotation gap demands.

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 (device, platform, output_path, duration_sec with its default and 1-180 bounds) are already documented in structured form. The description adds only 'for a given duration' and 'save to a file', which conceptually link to duration_sec and output_path but supply no format, unit, or constraint detail beyond the schema. Baseline 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 names a specific verb and resource ('Record the device screen') and includes the two defining traits: duration-bounded capture and persistence to a file. It does not explicitly contrast with the sibling 'screenshot' (still capture) or say how it differs from other capture paths, so it stops short of 5.

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?

There is no when-to-use guidance: nothing says to prefer this over 'screenshot' for motion capture, no mention of whether the call blocks until recording finishes, and no prerequisites such as a started device or required permissions. The agent must infer all routing from the purpose sentence alone.

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