Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FFMPEG_PATHNoFull path to ffmpeg binary if not on PATH.
FFPROBE_PATHNoFull path to ffprobe binary if not on PATH.
FFMPEG_MCP_WORKDIRNoBase directory for resolving relative paths.
WHISPER_MODEL_PATHNoDefault whisper.cpp model file for auto_subtitle tool.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
probeA

Inspect a video/audio file with ffprobe. Returns duration, format, bitrate, size, and a list of streams (codec, resolution, fps, channels).

trimA

Cut a segment from a video/audio file between a start time and either an end time or a duration. By default copies streams without re-encoding (fast, lossless); set reencode=true for frame-accurate cuts.

concatA

Join multiple clips end-to-end into one file. Use mode='copy' (default) when all inputs share the same codec/resolution (fast, lossless); use mode='reencode' to normalize mismatched inputs.

convertA

Transcode a video: change container format, codec, resolution, fps, or bitrate. Supports NVENC hardware encoders (e.g. codec='h264-nvenc'). The output container is inferred from the output file extension.

extract_audioC

Extract the audio track from a video into an audio file (mp3/aac/wav/flac/opus). The format is chosen by the format field.

thumbnailA

Capture a single frame at a given time, or extract frames at a fixed interval. For a single frame, output is an image path (e.g. out.jpg). For interval mode, output must contain a printf pattern (e.g. frame_%04d.jpg).

burn_subtitlesA

Render an .srt or .ass subtitle file permanently onto the video (hard subs). Use force_style for SRT to tweak font/size/color (libass syntax, e.g. "FontName=Arial,FontSize=24").

overlayB

Composite a watermark image or a picture-in-picture video on top of the base video. Choose a corner/center position, optional scale (as a fraction of base width), and opacity for images.

auto_subtitleA

Transcribe speech to subtitles using FFmpeg's built-in whisper filter. Writes an .srt (or .json/.txt) file. Requires a whisper.cpp model file: set the WHISPER_MODEL_PATH env var or pass model. Download a model, e.g. ggml-base.bin, from https://huggingface.co/ggerganov/whisper.cpp.

cut_silenceA

Detect and remove silent sections from a video. Runs silencedetect to find quiet spans, then concatenates the remaining segments. Tune with noiseDb (threshold) and minSilence (minimum silence length to cut).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 10 tools

Disambiguation4/5

Each tool maps to a distinct operation: probe, trim, concat, convert, extract_audio, thumbnail, burn_subtitles, overlay, auto_subtitle, cut_silence. Minor overlaps exist—convert can effectively produce audio-only output like extract_audio, and trim/cut_silence both shorten video—but descriptions make the intended boundaries clear.

Naming Consistency4/5

All names are snake_case and short, which is consistent. A few are bare nouns used as verbs (thumbnail, overlay) while others are verb_noun (extract_audio, burn_subtitles, cut_silence), a small stylistic deviation rather than a confusing one.

Tool Count5/5

Ten tools is well within the ideal range for a media-processing server, and each one covers a genuinely distinct workflow (inspect, cut, join, transcode, audio, frames, subtitles, overlay, transcription, silence removal). No filler tools are present.

Completeness3/5

Core inspect/trim/join/convert/subtitle workflows are covered with no dead ends. However, common operations are missing: audio track replacement or mixing, soft-subtitle extraction, and crop/rotate/pad geometry changes, which cannot be composed from the existing tools.

Maintenance

ActivityInactive
ResponsivenessOutdated data