Skip to main content
Glama

Export thumbnail candidates + contact sheet

export_thumbnail_candidates

Exports up to 12 evenly spaced or marker-based JPEG frames from a Premiere Pro sequence and builds a contact sheet image so you can visually pick a thumbnail.

Instructions

Write N evenly spaced frames (or one per sequence marker) of a sequence as JPEGs into a folder (" - thumb NN.jpg"), then build a contact sheet with ffmpeg and return it as an image so you can pick one. At most 12 frames; one host call per frame. Returns the image plus JSON with every frame's index, time, timecode and path, and the contact sheet path (null when ffmpeg is missing; then the first frame is returned as the image).

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_folder": "<output_folder>"
    },
    "name": "export_thumbnail_candidates"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of evenly spaced frames. Default 6. Ignored with at_markers.
at_markersNoTake one frame at each sequence marker instead (first 12). Default false.
tile_widthNoWidth of each tile in the contact sheet, in pixels. Default 320.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
output_folderYesAbsolute folder for the JPEGs and contact_sheet.jpg (created if missing).
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

A3.8/5.0
Behavior4/5

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

Beyond the annotations (all of which only say it is a non-destructive, non-idempotent, non-open-world write), the description discloses real behavioral traits: a hard cap of 12 frames, one host call per frame (a meaningful cost signal), folder auto-creation, and ffmpeg-absent degradation where the contact sheet path is null and the first frame is returned instead. This is substantial added context. It loses a point only because it does not flag whether existing files in the target folder are overwritten, which matters for a non-idempotent write.

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?

The action verb and output are front-loaded in the first clause, and every sentence carries information — cap, per-frame call cost, fallback behavior, return payload. It is dense and runs long in a single block, but nothing is redundant 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?

There is no output schema, so the description carries the return contract itself and does so fully: an image plus JSON with each frame's index, time, timecode and path, plus the contact sheet path including its null case. Combined with the frame cap and per-frame call cost, an agent has everything needed to call this correctly and interpret the result.

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 100%, so the schema already documents count, at_markers, tile_width, sequence_id, sequence_name and output_folder. The description adds only the 12-frame ceiling and confirms the count/at_markers interaction, plus the output file naming pattern. With the schema doing the heavy lifting, baseline 3 is appropriate.

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 names a specific verb and artifact set: write evenly spaced frames as JPEGs into a folder, then build and return a contact sheet image. The file-naming convention and the 'pick one' framing make the intent unmistakable. It stops short of naming which sibling to prefer (e.g. export_frame or make_contact_sheet_of_file), so sibling differentiation is inferred rather than stated.

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 is implied by 'so you can pick one' — this is a thumbnail-selection helper — and the description explains the at_markers variant versus the count variant. However, it never states when to choose this tool over the closely named siblings like export_frame or make_contact_sheet_of_file, nor any exclusion conditions. Guidance exists but requires 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