Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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
analyze_timelineA

Parse a Final Cut Pro FCPXML file and return a compact timeline summary: resolution, fps, project duration, every spine clip (kind, name, offset, in-point, duration, lane), markers and caption counts. Use this FIRST to understand any timeline before editing it.

detect_glitchesA

Scan a parsed timeline for edit artifacts: micro-clip glitches (clips shorter than minFrames, the "few frames long" flash cuts silence-removal leaves behind), unintended gaps (black frames), and overlaps. Returns artifacts with exact timecodes; feed them to apply_edits or fix manually.

analyze_silenceB

Detect silence regions in a media file using ffmpeg silencedetect. Returns segment timecodes in source seconds plus total silence — the raw material for a silence-removed rough cut.

assemble_rough_cutA

Build a new FCPXML project from a clip list and write it to disk. This is the main "edit assembly" surface: pick the source files, give kept regions (source in-points, durations), optional silence-removal from ffmpeg analysis, per-source sync offsets, gain corrections, titles and SRT captions. Output is a NEW .fcpxml file — originals are never modified. Import it into Final Cut Pro via File > Import XML (or the import_xml tool if FCP is running on this machine).

measure_loudnessC

Measure integrated loudness (LUFS) and true peak of a media file with ffmpeg loudnorm, and compute the linear gain needed for a target, e.g. -16 LUFS (platform standard) — the dialable, explicit alternative to black-box audio "enhancement".

convert_srt_to_captionsA

Parse an SRT/VTT file and return FCPXML-ready caption timings (snapped to your project fps). Preview before assembly; the same parser backs captionsSrtPath in assemble_rough_cut.

remove_silencesB

Analyze a talking-head/interview file for silence, then build a NEW FCPXML project containing only the kept (spoken) regions, padded, frame-snapped, optionally loudness-normalized. This is the complete silence-removal workflow in one call. Feed captions via captionsSrtPath if you have them.

fix_glitchesA

Repair detected edit artifacts in an FCPXML: removes micro-clip flash frames (strategy "drop") or extends the previous clip over them (strategy "absorb"). Writes a NEW file — the original is never touched. Refuses non-linear timelines (compound clips, nested stories, attached effect clips) unless force=true, because regeneration flattens those structures.

plan_duckingA

Compute a music-ducking plan: analyze when the voice track is active and return music regions with per-region volume levels (ducked under speech, full between speech). The plan is a list of {inSecs, outSecs, volume} cut regions you feed to assemble_rough_cut as the music asset's keptRegions (one per region, same in/out, different volume). Explicit dials: duckVolume, threshold, padding — no hidden "auto enhance".

check_fcp_availableA

Check whether Final Cut Pro is installed and scriptable on this Mac (AppleScript probe).

import_xml_into_fcpA

Open an .fcpxml in Final Cut Pro (equivalent to double-clicking it / File > Import XML). FCP imports it as a new event named after the file. Non-destructive: it never touches existing libraries.

export_project_xmlB

Ask Final Cut Pro to export the currently open project as FCPXML via AppleScript (equivalent of File > Export XML; FCP's dictionary is read-only, so exact export naming depends on FCP version — use GUI hand-off if this fails).

validate_dtdA

Validate an .fcpxml against Apple's official FCPXML DTD using xmllint. The DTD is auto-discovered inside your Final Cut Pro install (redistribution is not permitted), or set the CUTSMITH_DTD environment variable to a local copy. This is the strongest correctness check available: if a generated timeline passes this, FCP will import it.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 13 tools

Disambiguation4/5

Most tools target a clear resource+action pair (analyze_timeline, detect_glitches, fix_glitches, measure_loudness, plan_ducking), and the detect/fix split is well delineated. The main overlap is remove_silences, which is effectively a one-call fusion of analyze_silence + assemble_rough_cut, so an agent must decide between the convenience wrapper and the composable primitives; descriptions help but don't eliminate the choice.

Naming Consistency4/5

Thirteen snake_case names, nearly all verb_noun (analyze_timeline, detect_glitches, assemble_rough_cut, measure_loudness). Minor deviations like validate_dtd and plan_ducking (verb + gerund) and import_xml_into_fcp (extra prepositional phrase) are still readable and predictable.

Tool Count5/5

13 tools sits squarely in the well-scoped range, and each one maps to a distinct stage of the FCPXML editing pipeline: analysis, planning, assembly, repair, and FCP hand-off/validation. No obvious filler tools.

Completeness4/5

Strong lifecycle coverage: inspect timeline, detect/repair artifacts, analyze silence and loudness, build new projects, handle captions, and integrate with Final Cut Pro plus DTD validation. However, detect_glitches explicitly tells agents to 'feed them to apply_edits,' a tool that does not exist in this set, and there is no general-purpose edit/trim tool for an existing timeline beyond glitch repair — a real dead-end an agent can hit.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues