Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FFMPEG_PATHNoOptional path to ffmpeg for the ffmpeg_* tools (ffmpeg_convert / ffmpeg_run).
FILMCRAFT_CLINoPath to the FilmCraft CLI. The server looks for the CLI at $FILMCRAFT_CLI, then bin/filmcraft-cli inside the package, then filmcraft-cli on PATH.

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
create_projectA

Create a new FilmCraft project file with one empty sequence. When connected to the app (connect_app), it also opens there so later edits show live.

import_mediaA

Import media files (video, audio, stills, or EDL/FCP XML/FCPXML/OTIO/AAF timelines) into the project. Returns the new project item ids used by add_clip.

inspect_projectA

List bins and project items (media, sequences, graphics) with ids, types and durations.

probe_mediaB

Media info for a file (codecs, size, rate, duration, streams) as FilmCraft decodes it, with a summary: seconds, size, fps and whether it is portrait.

add_clipA

Place a project item on the timeline. Overwrites by default; set insert=true to ripple-insert. The picture goes to track and linked sound to audioTrack.

trim_clipA

Move a clip's in or out edge. Positive delta moves the edge later. Regular trim leaves a gap; ripple trim shifts later clips.

split_clipA

Razor: cut clips at a timeline time (on one track or clip, else on every track at that time).

delete_clipsA

Delete clips from the timeline. ripple=true closes the gap.

move_clipA

Move a clip (and its linked audio) to a new time and optionally another track.

set_speedB

Change clip speed (percent, 100 = normal) and/or reverse it.

add_transitionB

Apply a transition at a clip's edge (default: Cross Dissolve for video, Constant Power for audio). An edit point between two clips gets a two-sided transition.

add_markerC

Add a sequence marker.

add_textC

Add a text title (graphic clip) on the timeline.

apply_effectA

Add a video or audio effect to clips and optionally set its parameters (search ids with list_commands 'effects' or run_command effects.list).

set_effect_paramA

Set one effect parameter on a clip: a fixed value, or a keyframe at a timeline time (keyframe=true animates it). Motion: scale, position [x,y], rotation. Opacity: opacity, blend ("Screen", "Multiply"…). Lumetri: exposure, contrast, temperature, saturation, curve_red/green/blue [[x,y]…], vignette_amount…

fadeA

Fade a clip in from black or out to black over N frames with opacity keyframes (works at the very end of a sequence, where Dip to Black can cut instead of fade). Audio clips get a Constant Power fade.

fit_clipA

Frame a clip in the sequence: fill (cover the frame, cropping) or fit (show it all), zoom further in, and choose which part of the source stays in view. Use it for portrait footage in a landscape sequence (focusY picks the slice) or to punch in on a subject.

connect_appA

Drive the FilmCraft desktop app live: every edit then shows in its window as it happens. Launches a new FilmCraft window in control mode (an already open window is left alone), or attaches to one started with --control PORT and FILMCRAFT_CONTROL_TOKEN. While connected, tools without project, or with the project the app has open, edit the app; save with save_project.

app_statusB

Whether this server is driving the FilmCraft app, and which project the app has open.

disconnect_appA

Stop driving the app; tools need a project file again. The app keeps running.

save_projectA

Save the project open in the connected app (to its own file, or to path).

list_timelineB

The active sequence: tracks, clips (ids, timeline start/end and source in/out in seconds), transitions and markers. raw=true returns FilmCraft's full sequence.inspect JSON.

renderA

Export the active sequence to a media file and wait for it (H.264 .mp4 by default from the extension; also .mov ProRes/DNxHR, .gif, .png sequence, .wav…).

render_frameA

Render one Program frame to an image, to look at the edit.

export_framesA

Export stills to look at footage or the edit: from a source item (to pick moments) or the Program. Give times, or every N seconds over a range.

export_timelineA

Export the active sequence as an interchange timeline for other editors (Premiere: xml / aaf; Resolve: xml / fcpxml / edl / otio).

list_commandsA

Search FilmCraft's 650+ engine commands (id, label, params). Use with run_command for anything without a dedicated tool (effects, color, audio, captions, keyframes…).

run_commandB

Run any FilmCraft engine command on the project (times are ticks: 254016000000 per second, or {seconds: n}). Saved back unless save=false.

run_batchA

Run several engine commands in one session, in order, then save once. Faster than many single calls; stops at the first failure unless keepGoing.

ffmpeg_convertA

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.

ffmpeg_runB

Run ffmpeg with raw arguments (-y and -hide_banner are added). Requires ffmpeg.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 31 tools

Disambiguation4/5

Most tools map cleanly to one resource+action (add_clip, trim_clip, split_clip, delete_clips, move_clip are clearly separable). A few pairs overlap: apply_effect vs set_effect_param, ffmpeg_convert vs ffmpeg_run, and render_frame vs export_frames. The descriptions do enough to distinguish them, though apply_effect 'optionally set its parameters' blurs into set_effect_param.

Naming Consistency4/5

The set is overwhelmingly consistent verb_noun snake_case (create_project, import_media, add_transition, export_timeline, run_command). Minor deviations: bare verbs 'fade' and 'render', noun-first 'app_status', and the ffmpeg_ prefix pair. Still highly predictable.

Tool Count3/5

31 tools exceeds the typical comfortable range and feels heavy. The breadth (project/media, timeline edits, effects, app control, rendering, interchange export, engine escape hatches, ffmpeg) justifies most of them, but some could be consolidated into run_command/list_commands rather than dedicated tools.

Completeness4/5

Strong lifecycle coverage: project creation, media import/probe, full clip editing, transitions, markers, text, effects/keyframes, app control, save, render, stills, and timeline interchange export. Gaps include track/sequence management (add/remove tracks, mute/solo, project settings) and undo/redo, but the run_command/run_batch escape hatches make these workable.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues