Skip to main content
Glama

ffmpeg_extract_audio

Extract audio from video files, choosing output format (mp3, aac, wav, flac, ogg, opus) and adjusting bitrate for quality or file size.

Instructions

Extract audio track from a video file.

Args:
    file_path: Path to the input video file
    audio_format: Output audio format (mp3, aac, wav, flac, ogg, opus)
    bitrate: Audio bitrate (e.g., "128k", "192k", "320k"). If not specified, uses format default.

Returns:
    Path to the extracted audio file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
audio_formatNomp3
bitrateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Describes input, output format, and returns path, but lacks behavioral details like file modification, output location, or error handling. Annotations absent, so description partially compensates.

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: one sentence for purpose, bulleted args, and returns. No wasted words. Front-loaded with action.

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?

Covers purpose, all parameters, and return value. With output schema present, return is documented. Minor omission: no mention of output directory or non-modification of input, but adequate for a simple extraction tool.

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?

Adds significant meaning beyond schema: explains file_path purpose, enum values for audio_format, and format examples for bitrate. Schema coverage 0%, so description fully compensates.

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?

Clearly states 'Extract audio track from a video file' with specific verb and resource. Distinguishes from sibling tools like ffmpeg_convert or ffmpeg_extract_frames.

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 vs alternatives. Does not mention when not to use or reference sibling tools.

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/kevinwatt/ffmpeg-mcp-lite'

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