Skip to main content
Glama
mabh111111

FFmpeg Python MCP Server

by mabh111111

extract_audio_from_video

Extract audio from video files with support for multiple audio formats and configurable quality settings. Provide video path and optional output parameters.

Instructions

从视频文件中提取音频

Args:
    video_path: 输入视频文件路径
    output_path: 输出音频文件路径(可选,默认与视频同目录)
    audio_format: 音频格式(mp3, wav, aac, flac等)
    audio_quality: 音频质量(如192k, 320k等)

Returns:
    提取结果信息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
video_pathYes
output_pathNo
audio_formatNomp3
audio_qualityNo192k
Behavior2/5

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

No annotations provided, so description must cover behavioral traits. It lacks information on side effects (e.g., does it modify the original file?), required permissions, or constraints on input formats.

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?

Very concise and front-loaded: one line purpose, then a clear list of parameters. No unnecessary information.

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?

Covers basic usage with 4 parameters, but lacks details on return value format, error handling, and edge cases. No output schema, so description should explain what '提取结果信息' contains.

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?

Description adds meaning beyond the schema by explaining each parameter in Chinese, including examples for audio_format and audio_quality, and default behavior for output_path. Schema has 0% coverage, so this is valuable.

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?

Description clearly states 'extract audio from video file' (从视频文件中提取音频), with a specific verb and resource. It is distinct from sibling tools like convert_audio_format or extract_audio_segment.

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 guidance on when to use this tool versus siblings, such as extract_audio_segment. The description does not mention that it extracts the full audio track, nor does it provide prerequisites or exclusions.

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