Skip to main content
Glama

Capture several sequence frames

capture_frames
Read-onlyIdempotent

Render up to 12 evenly spaced or explicitly timed frames from a Premiere Pro sequence as ordered JPEG/PNG images with metadata, so you can review cuts or compare moments.

Instructions

Render several frames of a sequence and return them as images (one image block per frame, in time order) followed by JSON metadata for each. Give explicit times, or count for N evenly spaced frames between start and end (default: the whole sequence). At most 12 frames. Frames are JPEG downscaled to max_width (default 640 px; needs ffmpeg). Use it to review a cut or compare moments; use capture_frame for one frame.

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_frames"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd of the span for count, in seconds. Default the sequence end.
countNoNumber of evenly spaced frames when times is not given. Default 4.
startNoStart of the span for count, in seconds. Default 0.
timesNoSequence times in seconds.
formatNo"jpeg" (default) or "png".
max_widthNoDownscale each image to at most this width in pixels. Default 640; 0 is not allowed (use 8192 for full size).
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.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), but the description adds real value beyond them: output ordering, one image block per frame plus per-frame JSON metadata, a hard cap of 12 frames, downscaling behavior, and an external ffmpeg dependency. The only blemish is the claim that frames are 'JPEG downscaled' when the schema also permits png, which slightly muddies the output contract.

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?

Three dense sentences, front-loaded with what is returned, then how to invoke it, then when to use it — a sensible order with no filler. Minor redundancy: the 'at most 12 frames' cap is repeated from maxItems/maximum in the schema.

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?

No output schema exists, and the description compensates fully by describing the return payload (ordered image blocks plus JSON metadata). For an eight-parameter, optional-only tool it also covers the span defaults, frame cap, and rendering prerequisite, so nothing an agent needs to call it 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 schema baseline is 3; the description still adds meaning by explaining the times-vs-count mutual exclusivity and that start/end default to the whole sequence when omitted. It does not clarify the png branch of the format enum, which is the one parameter whose semantics remain only in 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 ('Render several frames of a sequence') and the exact return shape ('one image block per frame, in time order, followed by JSON metadata'). It explicitly names the single-frame sibling capture_frame, so an agent can distinguish them without opening either 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 positive guidance ('review a cut or compare moments'), names the alternative ('use capture_frame for one frame'), and explains the two invocation modes (explicit times vs. count with a start/end span). The default-when-omitted behavior is stated rather than left to inference.

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