Skip to main content
Glama

phone_record

Record an iPhone screen to an MP4: start capture, perform a task, then stop to get the file path, duration, and size; use status to check progress without starting.

Instructions

Record the iPhone screen to an MP4 on the daemon's Mac: start, perform the requested task, then stop to get path, duration and size. status checks the recording without starting one. Unlike phone_screenshot (one image) or phone_screen (live panel), this persists video under the instance state directory's runs/recordings. Requires a usable device video stream and a writable output directory. Auto-stops after 10 minutes or 200 MB; ended explains why. Video can contain private screens: record only the authorized task, stop when done, and do not treat the returned Mac path as an upload.

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": "phone_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes`start` recording the screen to an MP4, `stop` and save it, or `status`.
instanceNodaemon instance name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • removedInput schema / description
      Removed value: -"Parameters for [`PhoneHandler::phone_record`]."
  2. Changed2 schema fields changedv0.29.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / instance / description
      Previous value: -"Installed local instance name, such as i13 or default. Omit to use the configured daemon. No fallback on failure."New value: +"daemon instance name"
  3. Changed1 schema field changedv0.27.3
    • addedInput schema / properties / instance
      Added value: +{
      +  "description": "Installed local instance name, such as i13 or default. Omit to use the configured daemon. No fallback on failure.",
      +  "type": "string"
      +}
  4. First observedv0.21.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the generic mutating profile (readOnly=false, idempotent=false, destructive=false, openWorld=true); the description adds substantive behavior beyond that: auto-stop at 10 minutes or 200 MB, the `ended` reason field, prerequisites (usable video stream, writable output dir), where files land (runs/recordings under instance state), and a privacy warning about screen contents and the returned Mac path not being an upload.

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?

Front-loads the core operation and packs differentiation, prerequisites, limits and safety into a tight paragraph with no filler. It is dense rather than bloated, though the privacy sentence is doing two jobs (caution plus path semantics) and reads slightly crowded.

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?

With no output schema, the description still covers the return values of `stop` (path, duration, size), the termination cause via `ended`, the limits, storage location and permission prerequisites. For a stateful, multi-step recording tool, nothing an agent needs to call it correctly appears to be missing.

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 the baseline is 3, but the description adds meaning beyond the schema by sequencing the `action` values into a workflow and specifying that `stop` yields path, duration and size. It does not clarify the `instance` parameter, which is left entirely to the schema.

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 and resource (record the iPhone screen to an MP4) plus the lifecycle (start, task, stop) and explicitly distinguishes itself from phone_screenshot and phone_screen. An agent can tell exactly what this tool does and does not do without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit operating procedure (start, perform task, stop), states that `status` checks without starting, names the two sibling alternatives it replaces, and adds a when-not constraint ('record only the authorized task, stop when done'). This is the full when/when-not/alternatives package.

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