Skip to main content
Glama
AbyAbyss

ffmpeg-mcp-video-editor

by AbyAbyss

Adjust curves

apply_curves

Apply tone curves to adjust color and contrast in video, using named presets or custom control points for master or individual RGB channels.

Instructions

Apply a tone curve, either a named preset or your own control points.

Points are given in 0..1 input/output coordinates and may be listed in any order; they are sorted and validated before the job runs, because ffmpeg silently ignores a malformed curve rather than reporting an error. Give a preset or points, not both.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
redNo
blueNo
greenNo
encodeNo
masterNoControl points applied to all channels.
presetNoOne of: none, color_negative, cross_process, darker, increase_contrast, lighter, linear_contrast, medium_contrast, negative, strong_contrast, vintage.
input_pathYesPath to the source media file.
output_pathNoDestination file. If omitted, the output is written into the job's workspace directory and its path is returned by job_result.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYes
job_idYes
statusNoqueued
messageNoJob queued. Poll job_status for progress, then job_result.
Behavior5/5

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

The description discloses critical behavioral details beyond the annotations: points are sorted and validated, and ffmpeg silently ignores malformed curves. It also hints at the job-based nature ('before the job runs'). Annotations are all false, so the description adds substantial safety-relevant context.

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 two sentences, front-loaded with the primary purpose, and every sentence earns its place. The second sentence is dense with useful details about coordinates and validation, with no filler.

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?

Given the tool's complexity (8 parameters, nested encode options, output schema present), the description covers the essential curve-specific behavior and the preset/points conflict. It doesn't explain that the tool re-encodes, but the EncodeOptions schema makes that implicit. It is complete enough for an agent to use correctly.

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 coverage is 50%, but the description adds meaning by explaining the coordinate system for control points (0..1 input/output) and the preset/points exclusivity. This helps understand red/green/blue/master parameters. Encode options are described in the schema's nested object, reducing the need for repetition.

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 states 'Apply a tone curve, either a named preset or your own control points,' which provides a specific verb and resource (tone curve) and differentiates it from siblings like apply_lut or color_grade. The mention of presets and control points further clarifies the tool's scope.

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

Usage Guidelines4/5

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

The description gives clear context: 'Give a preset or points, not both' is an explicit exclusion. It also explains that points are sorted/validated, which implies expected usage. However, it does not explicitly mention alternatives like apply_lut or color_grade, so it lacks full when-not/alternatives guidance.

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/AbyAbyss/ffmpeg-mcp-video-editor'

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