Skip to main content
Glama

ffmpeg_convert

Transcode video or audio files with ffmpeg when the editor lacks a needed format, including AV1/VP9/WebM output, DivX/DV input, or MP3 audio extraction.

Instructions

Fallback for what FilmCraft can't do: transcode a file with ffmpeg (e.g. AV1/VP9/WebM output, DivX/DV input, audio extraction to mp3). Requires ffmpeg.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>",
      "output": "<output>"
    },
    "name": "ffmpeg_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoExtra ffmpeg args placed between input and output, e.g. ["-c:v","libsvtav1"]
inputYes
outputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare this is a mutating operation (readOnlyHint=false) in a closed world, and the description correctly adds the external dependency ("Requires ffmpeg") which annotations cannot express. However, it says nothing about the write side effects that matter for a transcoder: whether the output path is overwritten if it exists, whether directories are created, or whether a failed ffmpeg call leaves a partial file.

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?

A single front-loaded sentence plus a short prerequisite note; the fallback role comes first, examples second, and there is no redundant restatement of the tool name. Every clause carries 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?

With no output schema and thin parameter documentation, the description should do more: it never says what the tool returns (output path, ffmpeg log, or nothing) or how failures are surfaced. For a low-level escape hatch that can silently produce broken or partial media, that is a real gap, though the examples and prerequisite note cover the essentials of selecting and calling it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%, with the two required parameters (input, output) carrying no schema documentation at all; the description partially compensates by implying these are file paths for a transcode and by illustrating the kinds of flags that belong in args. It still never states whether input/output are absolute paths, project-relative paths, or whether the extension drives the output format.

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?

"Transcode a file with ffmpeg" gives a specific verb and resource, and the parenthetical examples (AV1/VP9/WebM, DivX/DV input, mp3 extraction) make the scope concrete. The framing as a fallback for FilmCraft's native tools is a meaningful qualifier, but it does not distinguish this from the sibling ffmpeg_run, which appears to overlap heavily.

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?

"Fallback for what FilmCraft can't do" is explicit when-to-use guidance: reach for this only after the native tools are insufficient, and the format examples clarify the kinds of jobs that qualify. It stops short of naming ffmpeg_run as the alternative or stating any exclusions, so the agent still has to guess which of the two raw-ffmpeg tools to pick.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.