Skip to main content
Glama

extract_frames

Export numbered image frames from a video for COLMAP or matting. Use the fps option to thin long clips before processing.

Instructions

Export numbered frames (00001.jpg ...) for COLMAP or matting. Use fps to thin long clips.

Input Schema

NameRequiredDescriptionDefault
extNojpg
fpsNo
inputYes
startNo
out_dirYes
durationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses the output naming convention, but says nothing about overwriting existing files in out_dir, directory creation, codec/quality defaults, or return values - all relevant for a write-heavy export operation.

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?

Two short sentences, zero filler, with the core action and output naming front-loaded ahead of the usage tip. Nothing needs trimming.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A 6-parameter tool with no annotations, no output schema, and 0% schema coverage needs substantially more description than two sentences. The agent lacks guidance on start/duration semantics and on what the export produces or overwrites.

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

Parameters2/5

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

Schema description coverage is 0% across 6 parameters, so the description must compensate. It clarifies only 'fps' (thinning rate) and hints at 'ext' via the .jpg example; 'start', 'duration', 'input', and 'out_dir' receive no explanation beyond their bare names.

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?

States a clear verb+resource ('Export numbered frames') and even gives the naming pattern (00001.jpg). It identifies downstream targets (COLMAP, matting), but does not explicitly differentiate itself from related siblings like impact_frames or on_twos.

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?

Names the intended pipelines ('for COLMAP or matting') and gives one actionable usage tip ('Use fps to thin long clips'), which implies when to set fps. However, it offers no when-not guidance and does not route the agent away from similar frame-producing siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.