Skip to main content
Glama

make_gif

Convert video clips into animated GIFs using palette-based encoding, with controls for start time, duration, frame rate, width, and looping.

Instructions

Make a high-quality animated GIF from a video (two-step palette: palettegen + paletteuse).

start: where to begin (default 0). duration: seconds to capture (default 5, max 30; it is shortened if the clip ends sooner). fps 1-30 (default 12). width in pixels (default 480, height keeps the aspect ratio; never upscaled). loop: repeat forever (default true). GIFs grow fast: for long clips use convert to mp4/webm instead.

Input Schema

NameRequiredDescriptionDefault
fpsNo
loopNo
inputYes
startNo
widthNo
outputNo
dry_runNo
durationNo
overwriteNo
timeout_sNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations the description carries the full burden, and it does disclose real behavior: the two-pass palette approach, duration being shortened when the clip ends early, no upscaling, and that output size grows fast. It says nothing about file-writing semantics, however — overwrite behavior, where output lands when omitted, what dry_run does, or timeout handling — which matters for a tool that writes a file by default.

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?

One framing sentence followed by terse per-parameter clauses with defaults and hard limits, then a closing caution — front-loaded and free of filler. Every clause carries information an agent cannot get from the schema.

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?

The output schema exists, so return values need no explanation, and the description covers the creative/quality parameters well. The gap is the file-management and safety surface (output path, overwrite, dry_run, timeout) on a ten-parameter, annotation-free mutation tool.

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 0%, so the description must supply all parameter meaning; it documents five of ten (start, duration with the 30s cap, fps range 1-30, width with aspect-ratio and no-upscale rules, loop). It leaves the required `input` parameter and output, dry_run, overwrite, and timeout_s entirely unexplained, so it only half compensates for the coverage gap.

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?

"Make a high-quality animated GIF from a video" is a specific verb plus resource, and the parenthetical naming the palettegen/paletteuse technique tells an agent exactly what pipeline it triggers. It also implicitly separates itself from the still-image and re-encode siblings by routing long clips to convert.

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 final sentence gives an explicit when-not and names the alternative (use convert to mp4/webm for long clips), which is the main misuse risk for a GIF tool. It stops short of covering the other plausible siblings (trim, extract_frames, compress) or stating prerequisites, so it is clear context rather than a full routing rule.

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