Skip to main content
Glama

Preview several frames (images)

preview_frames
Read-only

Renders selected frames of an After Effects composition as separate images or one labeled contact-sheet grid, so you can inspect an animation at specific times or evenly spaced moments.

Instructions

See an animation at several moments: renders several frames of a comp and returns them as IMAGES (max 6 separate images), or as ONE contact-sheet grid image (contactSheet=true, up to 16 frames, labeled with time and frame number). Give explicit 'times', or 'count' evenly spaced frames over the work area (default) or whole comp.

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

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
countNoNumber of evenly spaced frames (default 4).
rangeNoSpan for evenly spaced frames (default work_area).
timesNoExplicit frame times. Overrides count.
labelsNoContact sheet: draw time/frame labels in each cell (default true).
columnsNoContact sheet columns (default: square-ish grid).
maxSizeNoLongest side in px: per image (default 512), or of the whole contact sheet (default 1024).
backgroundNo'comp' (default), 'transparent' or '#RRGGBB'.
contactSheetNoReturn one grid image instead of separate images (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed world), and the description still contributes real behavioral facts: a hard cap of 6 separate images versus up to 16 in a contact sheet, labels carrying time and frame number, and the default range being the work area. These capacity limits are not derivable from the annotations and are exactly what an agent needs to avoid a failed call. It stops short of saying what happens when count exceeds the 6-image limit in non-contact-sheet mode.

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?

Two sentences, no filler, with the primary action and return form front-loaded before the mode-specific details. The second sentence packs several defaults together and reads slightly run-on, but every clause carries information.

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?

With nine optional parameters, no required inputs, and no output schema, the description does the heavy lifting of describing what comes back (images or a labeled grid) and the size defaults per mode. The one unresolved case is behavior when requested frames exceed the 6-image limit outside contact-sheet mode, which an agent could still stumble into.

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 prose adds genuine meaning on top: it ties 'times' and 'count' to the range concept, states that contact sheet mode raises the frame budget to 16, and explains that labels are drawn per cell with time and frame number. The 6-image ceiling for the separate-image path is nowhere in the schema and is a meaningful constraint on how 'count' should be set.

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 description opens with a concrete verb and resource ('renders several frames of a comp and returns them as IMAGES') and immediately pins down the two output modes (separate images vs. one contact-sheet grid). The plural framing ('several moments', 'several frames') cleanly separates it from the single-frame sibling preview_frame without needing to name it.

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 explains the internal choice between explicit 'times' and 'count' evenly spaced frames, and the tradeoff between separate images (max 6) and a contact sheet (up to 16), which is useful selection guidance. However, it never states when to call this at all versus alternatives such as preview_frame, nor any exclusion or prerequisite, so usage routing is only implied.

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