Skip to main content
Glama

Render a video thumbnail

render_thumbnail

Generate a video thumbnail by selecting a frame, adding a short headline and optional picture, then saving it as -thumbnail.jpg for social posts.

Instructions

Package a finished video with its cover: one frame of it (frame_at, in seconds), three to five words, at most one picture. Filed beside the video as -thumbnail.jpg, so a post that carries the video key gets the cover. Free: budgetUsd (default 2, max 10) is held while it runs and released. Needs the write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accentNoHex colour of the starred words. Defaults to the cut's accent.
outlineNoHex colour of the contour and the scrim behind the words. Default near-black.
frame_atYesSeconds into the video (or into frame_key) to take the face from.
headlineYesThree to five words, not the title. *Stars* mark the accent words: "I hired *an AI*".
budgetUsdNoOptional: the most this call may spend, in dollars, default 2, max 10.
frame_keyNoA clip to take the frame from instead, at its own resolution: the take behind the cut. frame_at then counts on it.
video_keyYesThe finished video (mediaKey from edit_footage or videoKey from render_video_project).
foregroundNoHex colour of the words. Default white.
picture_keyNoOne picture at most (an image media key): the product, the post, the number, the company's mark or the face of the person the video is about.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYes
mediaYes
outputNoThe tool's own result, shaped by the tool.
chargedUsdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare the write/no-destroy profile; the description goes further by disclosing the budget hold-and-release semantics ('budgetUsd ... is held while it runs and released'), the max of 10, the write-scope requirement, and the output file location beside the video. It does not cover failure modes or what happens if the job is cancelled, but the added cost and auth context is substantive.

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?

A single tight paragraph: core action first, then output artifact/location, then cost, then scope requirement. Every clause carries information and there is no filler.

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 an output schema present, return values need not be explained, and the description covers the artifact name, its relationship to posts, cost, and auth scope. Remaining gaps — what 'Free' precisely means when a budget is held, and error/retry behavior — are modest for this complexity level.

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 coverage is 100%, so every parameter is already documented, and the description largely repeats it (frame_at in seconds, three-to-five-word headline, one picture). The only marginal additions — 'at most one picture' and the post-key consumption behavior — are minor, so the schema is doing the heavy lifting.

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 concrete verb and artifact: it packages a finished video with a cover frame, a short headline, and at most one picture, and files the result as <video>-thumbnail.jpg. That is clearly distinct from siblings like generate_image, render_carousel, or brand_mark, though it never explicitly contrasts itself with them.

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 implied usage context — 'a post that carries the video key gets the cover' — which tells the agent what the output is for. However, it offers no explicit when-to-use versus when-not-to-use guidance and never names an alternative thumbnail/cover route, so the agent must infer the trigger conditions.

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