Skip to main content
Glama

Extract Thumbnail / Storyboard Frames from Video

media_extract_frames

Extract a single frame at a specified timestamp or evenly spaced storyboard frames from a local video, saving them as PNG or JPEG for offline review and analysis.

Instructions

Extract either 1 frame at a specific timestamp (atSec) OR multiple evenly-spaced storyboard frames from a local video into PNG/JPEG. Free <=3 frames; ThisMyOwn PRO unlocks unlimited frame extraction.

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": {
      "inputPath": "<inputPath>"
    },
    "name": "media_extract_frames"
  }
}

Input Schema

NameRequiredDescriptionDefault
atSecNoSingle timestamp in seconds; omit to sample multiple frames across intervalSec
widthNo
formatNojpg
inputPathYesLocal video file path
maxFramesNo
outputDirNo
intervalSecNoSeconds between sampled frames when atSec is omitted

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose two genuinely useful behaviors: the input must be a local file path, and free usage caps at 3 frames while PRO unlocks unlimited extraction. It omits other mutation-relevant behavior an agent would want: where files land when outputDir is omitted, whether existing files are overwritten, and what the response returns.

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?

Two sentences, front-loaded with the mode distinction before the licensing note. Every clause carries information; the only mild friction is the compressed 'Free <=3 frames; ThisMyOwn PRO unlocks unlimited' phrasing spliced onto a purely technical sentence.

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

Completeness3/5

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

For a 7-parameter tool with no annotations, no output schema, and 43% schema coverage, the definition covers the highest-risk dimension (which mode you get) but leaves real gaps around output location and return values. An agent could call it correctly on the main path yet be surprised by where the PNGs go or what the free-tier cap does to a large maxFrames request.

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 only 43%, so the description needs to compensate and partly does: it explains atSec's mode-switching role and the PNG/JPEG output choices, and the free-3-frame note implicitly conveys the maxFrames default. It says nothing about width, outputDir, or the intervalSec default of 2 seconds, which the schema covers only thinly.

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 (extract) and resource (frames from a local video) and clearly splits the tool into its two exclusive modes: one frame at atSec, or multiple evenly-spaced storyboard frames. It does not explicitly distinguish itself from siblings like media_to_gif or media_info, which is the only thing keeping it from a 5.

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?

The 'either ... OR' construction plus the schema note 'omit atSec to sample multiple frames' tells the agent exactly which inputs select which mode. It stops short of explicit when-not or alternative-tool guidance (e.g. 'use media_to_gif for an animated preview'), so it is clear context without exclusions.

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