Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TOKENREEL_OUTNoOutput directory for rendered videos and captions. Output goes to TOKENREEL_OUT (default ~/tokenreel-output), one new folder per render, with a restricted file name.~/tokenreel-output

Instructions

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

Turn text or Markdown into short animated, narrated, captioned videos (1080x1920). Fenced code blocks become code scenes, 'first, then, finally' sentences become flow diagrams, equations become math cards. Use plan_scenes to preview, render_video to produce an mp4.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
plan_scenesB

Split text or Markdown into scenes. Each scene has a kind (text, flow, math, code), its text, keywords and, for flow scenes, numbered steps. No files are written.

make_captionsA

Return estimated SRT captions for the text. For exact timings render with narration.

render_videoA

Render text to an mp4 plus captions.srt inside the server's output folder.

narrate: offline Kokoro voiceover (needs the model files, see the README). exact_timings: align word times with a local recognizer (needs narrate). burn_captions: draw captions into the video. highlight_words: with burn_captions, fill each word with an accent colour as it is spoken. Returns the output paths. Requires ffmpeg and the render extra.

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 3 tools

Disambiguation4/5

The three tools map to distinct pipeline stages: planning scenes, generating captions, and rendering video. There is minor overlap because render_video also produces captions.srt, but the descriptions distinguish estimated captions from final rendered output.

Naming Consistency5/5

All tool names use a consistent snake_case verb_noun pattern: plan_scenes, make_captions, render_video. The convention is predictable and easy to scan.

Tool Count5/5

Three tools is well-scoped for a text-to-video pipeline, with each tool covering a clear stage. The optional features like narration and caption burning appear to be render options rather than separate tools.

Completeness4/5

The core workflow from text planning to captions to final video is covered, and render_video returns output paths. Minor gaps exist around previewing or validating intermediate outputs, but agents can work around them.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues