Skip to main content
Glama
mabh111111

FFmpeg Python MCP Server

by mabh111111

convert_video_format

Converts video files to various formats (MP4, AVI, MOV, etc.) with customizable video/audio codecs, quality settings, and hardware acceleration options.

Instructions

转换视频格式

Args:
    input_path: 输入视频文件路径
    output_path: 输出视频文件路径(可选)
    output_format: 输出格式(mp4, avi, mov, mkv, flv等)
    video_codec: 视频编码器(libx264, libx265, libvpx, h264_qsv, hevc_qsv等)
    audio_codec: 音频编码器(aac, mp3, ac3等)
    quality: 质量设置(high, medium, low)
    use_hardware_acceleration: 是否使用硬件加速
    hwaccel_type: 硬件加速类型(qsv, nvenc, vaapi等)

Returns:
    转换结果信息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_pathYes
output_pathNo
output_formatNomp4
video_codecNolibx264
audio_codecNoaac
qualityNomedium
use_hardware_accelerationNo
hwaccel_typeNoqsv
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It does not disclose behavioral traits such as whether the input file is modified, the output location, or any side effects. The description focuses on parameters but lacks explicit behavioral context.

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 as a docstring with clear sections for Args and Returns. It is efficient and front-loaded, though the mixture of Chinese and English text is slightly inconsistent.

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 high parameter count (8), no output schema, and lack of annotations, the description is incomplete. It does not define the return type or discuss how hardware acceleration options affect behavior. The sibling list suggests more context is needed.

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?

With 0% schema coverage, the description adds meaning to all 8 parameters by listing them with explanations and examples (e.g., formats and codecs). This compensates well for the missing schema descriptions, though the 'quality' parameter could be more precise.

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's action (convert video format) and the resource (video files). However, it does not differentiate from sibling tools that also manipulate video files (e.g., compress_video, resize_video), making it slightly generic.

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, when not to use it, or how it compares to alternatives. Given the extensive sibling list, this omission is significant for the agent's decision-making.

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