Skip to main content
Glama

Capture a sequence frame (see it)

capture_frame
Read-onlyIdempotent

Render a single frame from a Premiere Pro sequence as an image to inspect the edit, with optional time, format, downscaling, and save path; returns image plus JSON metadata.

Instructions

Render one frame of a sequence and return it as an image so you can look at the edit, plus JSON metadata {time, timecode, frame, width, height, path}. Defaults to the frame at the playhead, as JPEG (small). The frame is rendered at the sequence's frame size; pass max_width to downscale (needs ffmpeg, else the full size is returned and the metadata says so). The image goes to a temp file that is deleted afterwards unless save_path is given. Use capture_frames for several frames, export_frame to only write a file.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "capture_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNoSequence time in seconds. Omit for the playhead position. Snapped to the frame grid.
formatNoImage format: "jpeg" (default, smaller) or "png" (lossless).
max_widthNoDownscale the returned image to at most this width in pixels (keeps aspect).
overwriteNoReplace an existing file at save_path. Default false (the call fails with FILE_EXISTS).
save_pathNoAlso keep the full-size frame at this absolute path (extension follows format). An existing file is never replaced unless overwrite is true.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly/destructive annotations it discloses real behavior: the image lands in a temp file that is deleted afterwards unless save_path is given, downscaling requires ffmpeg and silently falls back to full size with metadata noting it, and overwrite=false causes a FILE_EXISTS failure. It also enumerates the returned metadata keys, which annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Opens with what the tool returns and why, then defaults, then the max_width caveat, then the file-lifetime rule, then the sibling routing. Every clause carries information; nothing is padding.

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 compensates by listing the exact JSON metadata fields returned, and it covers the side effects (temp file deletion, overwrite failure) an agent must know for a 7-parameter zero-required tool. Nothing material 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 already 100%, so the baseline is 3; the description adds meaning the schema does not, notably the ffmpeg dependency and fallback for max_width, and the temp-file-versus-save_path retention distinction. It only lightly restates the format/playhead defaults that the schema already documents.

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 ('Render one frame of a sequence and return it as an image') plus the intent ('so you can look at the edit'), and explicitly differentiates from capture_frames (several frames) and export_frame (write-only). An agent can pick this 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 Guidelines5/5

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

Names both alternatives and the condition that selects each: capture_frames for several frames, export_frame to only write a file. It also states the defaults (playhead frame, JPEG/small) that apply when no parameters are given, so the zero-required-parameter call is unambiguous.

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

Deploy Server

Other Tools