Skip to main content
Glama
mabh111111

FFmpeg Python MCP Server

by mabh111111

convert_audio_format

Converts audio files to specified formats like MP3, WAV, AAC, FLAC, or OGG with configurable codec and bitrate settings.

Instructions

转换音频格式

Args:
    input_path: 输入音频文件路径
    output_path: 输出音频文件路径(可选)
    output_format: 输出格式(mp3, wav, aac, flac, ogg等)
    audio_codec: 音频编码器(libmp3lame, aac, flac等)
    bitrate: 音频码率(128k, 192k, 320k等)

Returns:
    转换结果信息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_pathYes
output_pathNo
output_formatNomp3
audio_codecNolibmp3lame
bitrateNo192k
Behavior2/5

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

Without annotations, the description carries the full burden but provides minimal transparency. It only states the basic conversion functionality, omitting details on overwriting behavior, supported codecs, error handling, or response format.

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 concise, using a bullet-like list format for parameters. It avoids redundancy despite being in Chinese, and each line serves a purpose. However, it could be slightly more structured with clearer separation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of annotations and output schema, the description is incomplete. It does not explain return values, side effects, or preconditions (e.g., file existence). A tool with 5 parameters requires more comprehensive behavioral context.

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?

Schema description coverage is 0%, and the description compensates by explaining each parameter with examples (e.g., output_format: 'mp3, wav, aac, flac, ogg', bitrate: '128k, 192k, 320k'). This adds significant meaning beyond the schema's type and default values.

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 'convert audio format' as the purpose. It specifies the resource (audio) and action (convert format), but does not differentiate from sibling tools like 'extract_audio_from_video' or 'convert_video_format', limiting its distinctiveness.

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?

No usage guidelines are provided. There is no indication of when to use this tool versus alternatives such as 'compress_video' or 'extract_audio_segment'. The description fails to offer context or prerequisites.

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