Skip to main content
Glama

Get video frame

get_video_frame
Read-onlyIdempotent

Capture a single frame from a video at a given timestamp. Supports YouTube, Twitter, Instagram, and other platforms. Returns the image and metadata.

Instructions

Capture a single frame from a video at the given timestamp. Provide timecode ("01:23", "00:01:23.500") or seconds; defaults to the first frame. Optional: format (png|jpeg), width (max 1920), quality (jpeg, 2-31). Returns the image plus metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesVideo URL (supported: YouTube, Twitter/X, Instagram, TikTok, Twitch, Vimeo, Facebook, Bilibili, VK, Dailymotion, Reddit) or YouTube video ID
widthNoOutput image width in pixels (default: 1280, max: 1920). Never upscales.
formatNoImage format (default: jpeg)
qualityNoJPEG quality (ffmpeg -q:v): 2 (best) to 31 (worst). Default: 4. Ignored for png.
secondsNoTimestamp in seconds (alternative to timecode). Default: 0 (first frame)
timecodeNoTimestamp as "MM:SS" or "HH:MM:SS(.mmm)", e.g. "01:23" or "00:01:23.500"

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
widthYes
videoIdYes
mimeTypeYes
sizeBytesYes
timestampYes
timestampSecondsYes
Behavior4/5

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

Annotations already indicate read-only and idempotent. Description adds useful details like 'Never upscales', format defaults, quality range, and that it returns image plus metadata, going beyond schema.

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 efficient sentences covering key points. Could be slightly more structured but no fluff.

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 full schema coverage, annotations, and output schema, the description is sufficient. It mentions return value and constraints, though doesn't list output metadata fields (but output schema does).

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%, baseline 3. Description enhances with examples (timecode format), defaults (width 1280), and notes (ffmpeg -q:v, ignored for png), adding value.

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?

Clear action ('Capture a single frame') and resource ('from a video') with specific details (at given timestamp). Differentiates from siblings like get_video_info or get_transcript.

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?

Provides context on defaults (first frame) and optional parameters, but no explicit when-to-use or when-not-to-use compared to alternatives. Still clear enough for typical usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/samson-art/transcriptor-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server