Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FFMPEG_PATHNoPath to the ffmpeg binary. The server looks for it in FFMPEG_PATH, then your PATH, then common install folders.
FFPROBE_PATHNoPath to the ffprobe binary. The server looks for it in FFPROBE_PATH, then your PATH, then common install folders.

Instructions

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

Tools for inspecting video files on the user's machine. Use probe_media for a quick human-readable spec sheet, check_platform_spec before uploading to Instagram/TikTok/YouTube/X/LinkedIn, compare_media to spot differences between exports, scan_folder to log a whole card of footage, and conform_for_platform to produce an upload-ready file. All paths are local file paths.

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
check_setupA

Confirm ffmpeg and ffprobe are installed and report their versions and paths. Run this first if other tools fail.

probe_mediaA

Spec sheet for one video or audio file: container, duration, size, codec, resolution as displayed (rotation applied), orientation, aspect ratio, frame rate (flags variable frame rate), pixel format and bit depth, HDR type, bitrates, audio format, recording device, whether it is web-optimized (fast start), and warnings such as embedded GPS location.

probe_rawA

Full ffprobe JSON (format, streams, chapters) for debugging edge cases the summary does not cover. Can be long.

list_platformsA

Show the upload guidelines this server checks against for each platform (aspect, resolution, duration, size, frame rate, codecs, notes).

check_platform_specB

Grade a video against one or more platforms' upload guidelines (Instagram Reels/feed, TikTok, YouTube Shorts/long-form, X, LinkedIn). Checks container, codec, pixel format, HDR, aspect ratio, resolution, frame rate, duration, size, bitrate, audio, fast start and GPS metadata, and gives a fix for anything that fails.

compare_mediaA

Compare two or more files side by side (e.g. master vs. export, or two camera angles) and highlight every spec that differs.

scan_folderA

Probe every media file in a folder (optionally recursive) and return a footage log: duration, resolution, fps, codec, HDR, audio and size per clip, plus totals and a breakdown by format. Optionally writes the log as CSV. Good for logging a camera card or a client's dump of clips.

conform_for_platformA

Re-encode a video into an upload-ready file for a platform: correct aspect ratio and size (crop to fill, pad with bars, or the blurred-background look), constant frame rate, H.264 yuv420p with Rec.709 tags, AAC 48 kHz stereo, fast start, and optional metadata stripping (removes GPS). Set dry_run to only get the ffmpeg command. Never overwrites an existing file unless overwrite is true.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 8 tools

Disambiguation4/5
Naming Consistency5/5
Tool Count5/5
Completeness4/5