Skip to main content
Glama

Create GIF

create_gif

Convert a video or a selected segment into an animated GIF with an optimized color palette. Keep clips short to manage file size.

Instructions

Turn a video (or a section of it) into an animated GIF with an optimized color palette. Keep GIFs short and small — they get big fast.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fpsNoGIF frame rate (default 12)
startNoStart time in the source (default: beginning)
widthNoGIF width in pixels, height keeps aspect (default 480)
durationNoLength of the GIF (default: whole video)
input_pathYesPath to the source video
output_pathNoWhere to write the .gif
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses that the GIF uses an optimized color palette and warns about file size growth, which are behavioral insights beyond the schema. It does not cover all possible side effects (e.g., output overwriting, processing time), but the core behavior is well communicated.

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?

The description is only two sentences, with the first sentence front-loading the core function and the second providing a concise, memorable caution. Every word serves a purpose; there is no fluff or redundancy.

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 tool has moderate complexity, but the schema fully documents parameters, and the description covers the main behavior and size implications. Without an output schema, the description sufficiently implies that the tool produces a GIF file. It could mention alternative tools for other conversions, but that is more of a usage guideline than a completeness gap.

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?

The input schema already provides 100% coverage with descriptions for all six parameters, so the baseline is 3. The description's size warning hints at parameter choices (keep fps/width/duration small) but does not add specific parameter-level semantics beyond what the schema already explains. No additional value is given to individual parameters.

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?

The description clearly states the tool's function: converting a video (or a section) into an animated GIF with an optimized color palette. This specific verb+resource+output combination distinguishes it from siblings like convert_video and trim_video, which handle generic conversion or trimming without the GIF-specific output.

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?

The description implies when to use the tool (when you want a GIF) and includes a practical caution ('Keep GIFs short and small — they get big fast'). However, it does not explicitly compare it to alternatives like convert_video for other formats or trim_video for pure trimming, so guidance on when not to use it is missing.

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/gulkoa/claudeclip'

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