Skip to main content
Glama

Record a Mac's screen

mac_recording
Destructive

Records the Mac's screen as an MP4. action start begins it (target screen, the default, or simulator for the iOS Simulator) and returns at once; it stops by itself after max_seconds. action stop saves it and returns its length, size, width, height and a download link (url for a browser, download_url for curl) that keeps working after the Mac stops; a repeat is safe. One recording at a time; stopping the Mac deletes an unsaved one.

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

Input Schema

NameRequiredDescriptionDefault
pathNostart: where to save the MP4 on the Mac (default /tmp/nomac-recordings/)
actionYesstart or stop the recording
targetNostart: screen (default), the whole desktop, or simulator, the iOS Simulator
resolutionNostart, simulator: window (default), its window, small (an iPhone about 356x770); device, its own pixels (iPhone 17 Pro 1206x2622), about 7 times the file and a little more CPU
session_idNoMac session ID (ses_…). Optional: without it, the account's running Mac.
max_secondsNostart: stop by itself after this many seconds (1-1800, default 300)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / resolution
      Added value: +{
      +  "description": "start, simulator: window (default), its window, small (an iPhone about 356x770); device, its own pixels (iPhone 17 Pro 1206x2622), about 7 times the file and a little more CPU",
      +  "enum": [
      +    "window",
      +    "device"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / target / description
      Previous value: -"start: screen (default), the whole desktop, or simulator, the iOS Simulator's window"New value: +"start: screen (default), the whole desktop, or simulator, the iOS Simulator"
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that start returns immediately (asynchronous), that recording self-terminates after max_seconds, exactly what stop returns, that the download link keeps working after the Mac stops, and the destructive edge case that 'stopping the Mac deletes an unsaved one.' It also surfaces a concurrency limit ('one recording at a time'), which the annotations do not convey.

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?

The key fact (records the screen to MP4) is front-loaded and every clause carries information, including the url-vs-download_url distinction. It is written as one dense block with several nested parentheticals, which costs a little scannability but wastes no words.

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 carries the return-value burden itself and does so completely: it enumerates the returned fields and the persistent download link. Combined with the async start, auto-stop, concurrency, and data-loss caveats, nothing an agent needs to invoke this correctly is 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 the schema does not: that start returns at once while stop produces the length/size/dimensions/link payload, and that 'a repeat is safe' for stop. That ties the parameter choices to observable outcomes rather than merely restating field descriptions.

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?

The opening sentence names a specific verb and resource together with the output format: 'Records the Mac's screen as an MP4.' The sub-behaviors of both action values are then spelled out ('start begins it', 'stop saves it'), so an agent can distinguish this from a one-shot screenshot tool without opening the schema.

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?

Usage context is clear: start begins a recording that ends by itself, stop finalizes it, one recording at a time. It does not name an explicit alternative (e.g., a screenshot or phone-recording sibling) or state when a screenshot would be better, so it falls short of full when/when-not routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources