Skip to main content
Glama
mabh111111

FFmpeg Python MCP Server

by mabh111111

video_to_gif

Convert video clips to animated GIFs with customizable start time, duration, width, frame rate, and quality.

Instructions

视频转GIF动图

Args:
    input_path: 输入视频文件路径
    output_path: 输出GIF文件路径(可选)
    start_time: 开始时间(格式:HH:MM:SS,可选)
    duration: 持续时间(格式:HH:MM:SS,可选)
    width: GIF宽度像素(高度自动按比例缩放)
    fps: 帧率(建议5-15)
    quality: 质量设置(high, medium, low)

Returns:
    转换结果信息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_pathYes
output_pathNo
start_timeNo
durationNo
widthNo
fpsNo
qualityNomedium
Behavior2/5

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

No annotations are provided, so the description must bear the full burden. It lists parameters and defaults but lacks disclaimers about destructive actions (e.g., overwriting output), permission needs, or failure modes. The return is vague as 'result info'.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured in a docstring format with Args and Returns sections. It is concise yet informative, providing a clear parameter list. It is front-loaded with the purpose and avoids unnecessary prose.

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?

Given the tool's complexity (7 parameters, no output schema), the description covers all parameters but lacks examples, error handling, or detailed return value specification. It is adequate for basic usage but leaves gaps for nuanced scenarios like invalid inputs or output behavior.

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

Parameters4/5

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

The schema provides no descriptions for any parameter (0% coverage), but the description adds meaningful explanations for all 7 parameters, including time format, default width, recommended fps, and quality options. This significantly augments the schema.

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?

The description clearly states the tool converts video to GIF animation, which is a specific verb and resource. While it distinguishes from siblings like convert_video_format that may also handle GIF output, it lacks explicit differentiation, but the purpose is evident.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like convert_video_format or extract_frames. There are no prerequisites, context, or exclusions mentioned, leaving the agent without decision support.

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/mabh111111/ffmpeg_python_mcp'

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