Skip to main content
Glama

Create GIF

create_gif

Convert a video segment into an animated GIF with optimized colors. Specify start, duration, width, and FPS to keep the file small.

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
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does reveal that the GIF uses an optimized color palette and warns about file size growth, which is useful. However, it omits important behavioral details such as default output behavior when output_path is omitted, supported input formats, or overwrite semantics.

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 two sentences long, front-loaded with the main function, and includes a practical usage hint in the second sentence. Every word earns its place, with no redundancy or filler.

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 tool with 6 parameters and no output schema or annotations, the description is adequate but not fully complete. It covers the core purpose and gives a key usage constraint, but leaves gaps like default output location and format support, which are not covered by the schema or annotations.

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 schema already documents 100% of parameters, so the baseline is 3. The description adds some contextual meaning by implying that start/duration are used to select a section and that frame rate/width/duration should be limited to keep GIFs small, but it does not add specific syntax or format details beyond the schema.

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 converts a video or section into an animated GIF, using a specific verb ('Turn') and resource (video→GIF). It also mentions an optimized color palette, which distinguishes it from sibling video-processing tools that do not create GIFs.

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 description provides clear context for when to use this tool (when a GIF is needed from a video) and even offers practical guidance to keep GIFs short and small. It does not explicitly mention alternatives or exclusions, but no sibling tool creates GIFs, so the use case is effectively unambiguous.

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/vidshaper'

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