Skip to main content
Glama

Export a frame to a file

export_frame

Writes a single sequence frame to an image file (PNG, JPEG, TIFF, BMP or Targa) at full frame size and waits until the file is complete, returning path, timecode, frame, dimensions and size.

Instructions

Write one sequence frame to an image file at the sequence's frame size: png, jpeg, tiff, bmp or targa. Waits until the file is complete. Returns {path, time, timecode, frame, width, height, size_bytes}. Use capture_frame instead when you want to see the frame.

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": {
      "output_path": "<output_path>"
    },
    "name": "export_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNoSequence time in seconds. Omit for the playhead. Snapped to the frame grid.
formatNoImage format. Default: from the output_path extension, else png.
overwriteNoReplace an existing file. Default false.
output_pathYesAbsolute output path. The extension is set from the format (e.g. .png, .jpg, .tif, .tga).
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.4/5.0
Behavior4/5

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

Annotations only say this is a non-readonly, non-destructive, non-idempotent call; the description adds genuinely new behavior by stating the call blocks until the file is complete (synchronous write) and by listing the returned payload keys, which the absent output schema would otherwise leave unknown. It omits what happens on a write failure or when overwrite is false and the file exists, so not fully exhaustive.

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?

Three sentences, front-loaded with the action and the output-size invariant, followed by the blocking behavior, the return shape, and the alternative. 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.

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 usefully enumerates the returned fields ({path, time, timecode, frame, width, height, size_bytes}) and confirms synchronous completion, which is the main operational unknown for a write tool. Only edge behavior on conflicting existing files and error signaling is left to the schema and annotations.

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 description adds meaning beyond it by implying the output dimensions are not negotiable — they are always the sequence's frame size — which tells the agent there is no resolution/scale parameter to look for. The format enumeration in the description duplicates the schema's enum rather than extending it.

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 ("Write one sequence frame to an image file"), the exact resolution constraint ("at the sequence's frame size"), and enumerates the supported formats. It is immediately distinguishable from capture_frame, which is named as the viewing-oriented sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Explicitly routes the agent: use capture_frame instead when the goal is to see the frame, which draws a clean line between preview and file output. It gives no guidance on overwrite behavior or on exporting ranges versus a single frame, so it falls just short of a full when/when-not treatment.

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