Skip to main content
Glama

Export a frame at every sequence marker

export_frames_at_markers

Exports one image per sequence marker at each marker’s start to a chosen folder; filter markers by name and continue in batches of up to 30.

Instructions

Write one image per sequence marker (at the marker's start) into a folder. Files are named .. At most 30 markers per call (use first_index to continue). Optional name_filter keeps markers whose name contains the text. Returns the files written with each marker's name, time and timecode.

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

Input Schema

NameRequiredDescriptionDefault
formatNoImage format. Default png.
overwriteNoReplace images that already exist with the same name. Default false: those markers are reported as skipped.
max_framesNoCap on frames written. Default and maximum 30.
first_indexNoSkip markers before this 0-based index (after filtering). Default 0.
name_filterNoOnly markers whose name contains this text (case-insensitive).
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
output_folderYesAbsolute folder for the images (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?

Annotations already declare readOnlyHint=false and destructiveHint=false, so the write nature is known; the description adds real value beyond that by disclosing the 30-marker cap, the continuation mechanism, the output filename template, and the overwrite-skip behavior. It does not mention whether existing files cause an error or how many markers exist in total, so it stops short of fully describing the write footprint.

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 what gets written, followed by naming, paging limit, filtering, and return shape. Every sentence carries distinct information with no 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?

For an 8-parameter write tool with no output schema, the description covers the essentials: what is produced, how it is named, the batch cap and continuation, filtering, and what the result reports. Minor gaps remain around collision handling with count of skipped markers and total marker availability, but an agent can call it correctly.

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 explains format, overwrite, max_frames, first_index, name_filter, and sequence selection. The description reinforces first_index as a pagination cursor and name_filter as a substring match, but adds little semantic detail beyond the declared schema.

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 states a specific verb and resource: 'Write one image per sequence marker (at the marker's start) into a folder', plus the exact file naming pattern. That makes it clearly distinguishable in behavior from single-frame or marker-listing siblings, though no sibling is named 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?

It gives one concrete operational guideline – 'At most 30 markers per call (use first_index to continue)' – which tells the agent how to page through a long sequence. It never says when to choose this over export_frame, export_markers, or capture_frames, so selection guidance is 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