Skip to main content
Glama

video_to_gif

Convert a publicly accessible video URL into an animated GIF, with options to set size, fps, width, time range, and looping. Returns the GIF directly for immediate use.

Instructions

把视频转成 GIF 动图并直接返回图片。

参数: video_url: 可公开下载的视频直链 (mp4/mov/avi/webm/mkv 等)。 size: 体积预设 "small"(小, 320px/8fps) / "medium"(中, 480px/15fps) / "large"(大, 720px/20fps)。 fps: 覆盖帧率 (上限 30), 0 表示用 size 预设。 width: 覆盖输出宽度像素 (上限 1280), 0 表示用 size 预设。 start: 从第几秒开始 (默认 0)。 duration: 截取时长秒数 (上限 60, 默认 0 = 到结尾)。 loop: 循环次数 (0 = 无限循环, 负值 = 不循环)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fpsNo
loopNo
sizeNomedium
startNo
widthNo
durationNo
video_urlYes
Install Server

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It covers key runtime behavior: conversion result type, size/fps presets, maximum overrides, time-range trimming, loop semantics, and public-URL requirement. It could also mention failure modes, but the provided detail is well beyond bare minimum.

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 front-loaded with the core purpose and then lists parameters in a compact, well-organized block. No filler or repetition; each line adds necessary information.

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?

All seven input parameters and their constraints are documented, which is strong for a 7-parameter tool with no output schema. The only minor gap is that the return mechanism is vaguely described as 'returns the image' without clarifying whether it is a file, binary, or URL.

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

Parameters5/5

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

Schema description coverage is 0%, and the description fully compensates by documenting every parameter in plain language: meaning of size presets, fps/width caps, zero defaults, start/duration/loop behavior. This is precisely the semantic value the input schema lacks.

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 opening sentence clearly states the verb and resource: converting a video into a GIF and returning an image. It is specific and unambiguous, with no sibling tools to distinguish from.

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?

There are no siblings to contrast against, but the description gives clear usage context by requiring a publicly downloadable direct video URL and enumerating format constraints. It does not explicitly state exclusions or when-not-to-use, but the context is clear enough.

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

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/cjh0509code-png/MCP'

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