Skip to main content
Glama

ffmpeg_compress

Reduce video file size by controlling compression quality, scaling resolution, and encoding speed preset.

Instructions

Compress a video file to reduce file size.

Args:
    file_path: Path to the input video file
    quality: Compression quality level - "low" (smallest file), "medium", or "high" (best quality)
    scale: Optional resolution scale (e.g., "1280:720", "1920:-1" for auto height)
    preset: Encoding speed preset - faster presets = larger files, slower = smaller files

Returns:
    Path to the compressed file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
qualityNomedium
scaleNo
presetNomedium

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It explains parameters and return value but does not disclose whether the tool overwrites the original file, any destructive potential, or required permissions. Behavioral traits beyond parameter effects are missing.

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?

The description is concise and well-structured with a clear purpose sentence followed by an Args list. Every sentence adds value, with no redundant information.

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?

The description covers all parameters and return type, but lacks broader context: no mention of supporting formats, whether output file is new or overwrites, or any side effects. With no annotations, a bit more completeness on behavioral context would be ideal.

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?

Schema description coverage is 0%, so the description compensates fully. It explains each parameter: file_path path, quality levels with their effect on file size, scale format example, and preset trade-off between speed and size. This adds significant meaning beyond the bare schema.

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?

The description clearly states 'Compress a video file to reduce file size.' This is a specific verb (compress) and resource (video file), and it distinguishes from sibling tools like ffmpeg_convert or ffmpeg_extract_audio.

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

Usage Guidelines3/5

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

The description does not provide explicit guidance on when to use this tool versus alternatives, such as converting formats or extracting audio. The purpose is implied but no exclusions or alternatives are mentioned.

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