Skip to main content
Glama

video_to_gif

Destructive

Convert a video segment (up to 30 seconds) into a palette-optimized animated GIF and write a new file; existing files stay intact unless overwrite is enabled.

Instructions

Make an animated GIF from part of a video (up to 30 seconds, palette-optimized). Writes one new file; never overwrites unless overwrite=true.

Input Schema

NameRequiredDescriptionDefault
fpsNo
startNo
widthNo
durationNo
overwriteNo
input_pathYes
output_pathYes

Output Schema

NameRequiredDescriptionDefault
fpsYes
widthYes
output_pathYes
output_bytesYes
start_secondsYes
duration_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.1

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already mark it destructive and non-idempotent, and the description adds useful safety context: it writes one new file and does not overwrite unless overwrite=true. It does not cover failure modes or whether the input file is ever modified.

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?

Two sentences, front-loaded with the core action and constraints. Every clause adds meaningful information with no repetition 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?

An output schema exists and annotations cover the safety profile, so return values and risk are partly handled elsewhere. Still, for a seven-parameter mutation tool, the definition leaves most parameter meanings and path/format expectations undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It only clarifies overwrite behavior and the 30-second duration limit, leaving fps, start, width, input_path, and output_path without semantic explanation beyond their names.

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?

States a specific verb and resource: make an animated GIF from part of a video, with constraints. The output type clearly separates it from siblings like video_trim and video_thumbnail, though it does not explicitly name alternatives.

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 usage for extracting a video segment as a GIF and gives a 30-second cap. However, it does not state when to choose this over video_trim, video_thumbnail, or other conversion tools.

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