Skip to main content
Glama

preview_frame

Read-only

Render a single PNG frame from an After Effects composition at a specified or current time for visual inspection, with optional comp selection and size scaling.

Instructions

Look at one rendered frame of a comp (PNG, scaled to fit max_size pixels).

comp is a comp name (default: the active comp); time is in seconds (default: the comp's current time indicator).

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

Input Schema

NameRequiredDescriptionDefault
compNo
timeNo
max_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine value by disclosing the return format (PNG) and the scaling behavior tied to max_size. It stops short of the behaviors that matter most for a frame render — whether the frame is rendered on demand, expected latency, and what happens if the comp name is invalid.

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 short sentences, purpose front-loaded, no filler. The parameter defaults are folded efficiently into the same paragraph rather than repeated as schema restatements, though the parenthetical phrasing for max_size is slightly buried.

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 no output schema, the description must state the returned artifact and does so (PNG at a bounded size). For a simple three-parameter read tool with annotations already declaring safety, what remains missing — render latency costs and failure modes — is marginal rather than blocking.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry all parameter meaning. It does explain comp (a comp name defaulting to the active comp) and time (seconds, defaulting to the current time indicator), but max_size is only glossed in a parenthetical about the PNG being scaled to fit, leaving its units and the meaning of the default implicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Look at one rendered frame of a comp', and immediately states the returned artifact is a PNG. An agent can distinguish a single-frame preview from the sibling 'render' or 'execute' tools, though the description never names those alternatives explicitly.

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?

Usage context is implied rather than stated: this is a lightweight preview of one frame, and defaults are given for both comp and time. There is no explicit when-to-use versus when-to-use-something-else guidance, and no mention of prerequisites such as a comp needing to be open or rendered.

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