Skip to main content
Glama

Start video recording

video_start

Records the selected tab to an MP4 with a synthetic pointer, follows tab switches, and logs actions to a sidecar file. Use cut to capture only browser actions or keep for real time.

Instructions

Records the selected tab to an MP4, with the synthetic pointer in it. Follows tab switches (tab_new, tab_select). idle: "cut" records only during browser action calls (not observe, view, screenshot, fetch) and a second after; "keep" is real time. A sidecar .events.ndjson marks each action call, click, pause/resume and tab switch. One per browser; ends itself after max_minutes of recorded time, when its tab closes, or when the browser closes. The video is not redacted: keep recordings out of version control if pages hold sensitive data.

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": {
      "fps": "<fps>",
      "idle": "<idle>"
    },
    "name": "video_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsYesFrames per second, 1 to 60.
idleYescut: record only during browser action calls and a second after. keep: real time.
pathNoOutput .mp4 path, or a bare name saved into recordings/<name>.mp4 (default: recordings/video-<timestamp>.mp4). Never overwrites an existing file.
audioNoRecord the tab's sound (default true).
widthNoA smaller width in pixels; the page's own by default.
heightNoA smaller height in pixels; the page's own by default.
max_minutesNoMinutes of recorded time before it ends itself, 1 to 60 (default 10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses auto-termination conditions (max_minutes of recorded time, tab close, browser close), the one-per-browser constraint, the sidecar .events.ndjson, and a security warning that video is not redacted. What it omits is the return value and whether the call blocks while recording.

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-loaded with what is recorded and the format, then lifecycle, then the caveat, so the most decision-relevant facts come first. Dense but nearly every clause carries non-redundant information; only the idle-mode explanation mildly duplicates the schema.

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?

For a seven-parameter, no-annotation, no-output-schema tool, this covers lifecycle, side effects, concurrency limits and data-sensitivity risk. The remaining gap is what the call returns (a handle?) and whether recording is asynchronous relative to subsequent action calls.

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 would be 3; the description earns a step up by clarifying that 'cut' excludes observe, view, screenshot, and fetch from what counts as a browser action, a distinction the schema's idle description does not make. fps, path, audio, width/height, and max_minutes gain nothing beyond their schema text.

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 ('Records the selected tab to an MP4') plus a distinguishing detail, the synthetic pointer overlay, that separates it from screenshot/record_start. Scope ('the selected tab', 'one per browser') is explicit, so an agent can tell what it captures 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 Guidelines3/5

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

It gives implied usage context by naming which calls count as browser actions and explaining both idle modes, but never states when to pick this over siblings such as video_stop, video_pause, or record_start. An agent must infer that this starts and the video_* family controls the lifecycle.

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