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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_shortA

Create an original vertical (9:16) short video from an idea: an AI-written script, voice-over, stock footage, background music and captions, rendered on this computer. Use it to make a new short from a topic; use extract_clips to cut shorts out of an existing video, or create_explainer when the script must be based on given sources. Returns {job_id, status, message} at once and works in the background, usually for a few minutes; poll get_render_status with the job_id until 'completed' or 'failed'. The finished file is written to the ShortsFlow folder and named in the job's last log lines (this job has no 'outputs' list). Side effects: the topic goes to the configured AI text provider, search phrases to Pexels and the narration to the voice service, using the user's own keys; nothing is uploaded or posted.

extract_clipsA

Cut the best moments out of a long video (a local file or a YouTube or other video link) into captioned vertical shorts of about 30 seconds each (never over 60): it transcribes the speech with Whisper, scores the moments, crops to 9:16 with face tracking and burns in captions. Use it when the user already has a video; use generate_short to make one from a topic, or dub_video to change its language. Returns {job_id, status, message} at once and works in the background, several minutes or more for a long video and slower without an NVIDIA GPU; poll get_render_status until 'completed' (its 'outputs' lists the clip paths) or 'failed'. Side effects: a linked video is downloaded; a local source is only read, never changed; clips are written under sessions/ in the ShortsFlow folder; nothing is uploaded or posted. Works without any API key; with an AI key the transcript goes to that provider for scoring and titles.

generate_social_packageA

Write the post text for a short about a topic. Use it when the user needs a title, description and tags to paste; it makes no video and publishes nothing (publish_video does that, and already knows the text of videos made here). Returns the text directly, no job, usually within seconds (up to about a minute when the AI is slow): a JSON object with title, description and tags (a list) from the configured AI model. When the AI cannot be reached it is a generic template instead, and when the engine is not installed the keys are title, description, hashtags, tiktok_caption and reels_caption, so check the wording. Side effect: the topic is sent to the configured AI text provider.

get_render_statusA

Check a background job started by generate_short, extract_clips, create_explainer or dub_video. Use it after starting a job, every 20-30 seconds until the status is no longer 'processing'. Instant and read-only. Returns a JSON object: status ('processing', 'completed', 'failed' or 'not_found'), progress (0 while running, 100 when completed; there are no steps between, so judge a running job by its logs), logs (the last 20 lines, live), error (the last log lines, when failed), and for extract_clips, create_explainer and dub_video 'outputs' (all finished video paths) with 'output' (the first one). Jobs are remembered only while this server runs: after a restart the answer is 'not_found', and list_videos still finds the files.

list_supported_modesA

List the values the other tools accept. Use it when unsure which value to pass. Instant, read-only, takes no input and needs no key. Returns a JSON object of lists: content_modes, caption_styles, tts_providers, aspect_ratios, sfx_presets, vibes, explainer_kinds, explainer_templates, explainer_themes, dub_languages and publish_platforms.

create_explainerA

Make a narrated explainer video from a topic and sources (a web page, PDF, arXiv paper, YouTube link, text, audio or video file): the script is written only from the sources, with narration, diagrams, Manim animation, stock footage, captions and music, in 16:9 and 9:16. kind 'animate' makes one continuous animation under the whole narration instead and needs no source. Use extract_clips to cut a video the user already has and generate_short for an idea with no sources. Returns {job_id, status, message} at once and works in the background, often 10 minutes or more (draft and a single shape are faster); poll get_render_status until 'completed' (its 'outputs' lists the video paths) or 'failed'. Side effects: the source text and topic go to the configured AI text provider, short footage search phrases to Pexels and the narration to ElevenLabs or Edge; files are written under sessions/ in the ShortsFlow folder; nothing is posted.

dub_videoA

Translate a video's speech and re-voice it in another language: transcribe, translate sentence by sentence, speak with one synthetic voice, replace the original voice (music and effects are kept when the optional 'demucs' package is installed, else the original sound stays faintly under the new voice) and write translated subtitles. No voice cloning, no lip-sync. Use extract_clips instead to cut shorts without changing the language. Returns {job_id, status, message} at once and works in the background, from a few minutes to much longer for a long video; poll get_render_status until 'completed' (its 'outputs' lists the dubbed video) or 'failed'. Side effects: a linked video is downloaded; a local source is only read, never changed; the translated text goes to the voice service (Edge or ElevenLabs) and the transcript to the AI text provider; files are written under sessions/ in the ShortsFlow folder; nothing is posted.

list_videosA

List the finished videos this ShortsFlow install has made (clips, case explainers in each shape, dubs, recaps), newest first. Use it to find the path to give publish_video, or to see what a finished job produced (get_render_status only knows jobs of this server run). Read-only, usually a few seconds at most; sends nothing. Returns {count, videos: [{path, title, shape, label, published_to}]}, where label is a readable line with shape, length, size and date, and published_to lists the platforms already used. Only the sessions folder is searched; drafts and videos from generate_short saved outside it are not listed.

publish_videoA

Publish one finished video (a path from list_videos) to YouTube, TikTok, Instagram and the other platforms, through the user's own Upload-Post account, or directly to their own YouTube channel (youtube_direct). By default it only previews: dry_run is true, nothing is sent and the reply shows what would go where. Set dry_run to false only when the user asked to post: the video and its text then leave this computer and go live on those accounts (youtube_direct starts private), which this server cannot undo. A video is never sent twice to the same platform. Answers when the work is done: a preview in seconds, an upload as long as the file takes; there is no job. Returns {dry_run, ok, sent, details}: sent is true only when every platform succeeded; with ok false (a tool error: missing key, already published, failed upload) read details, since some platforms may have received it. Only video files inside the sessions folder are accepted. Keys and the YouTube sign-in are set in the ShortsFlow app's Settings card.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.6/5.0

Scored across 9 tools

Disambiguation5/5

The video-creation tools are explicitly distinguished by input type: generate_short for an idea, extract_clips for existing footage, create_explainer for source-grounded scripts, and dub_video for language changes. Status checking (get_render_status), file discovery (list_videos), text generation (generate_social_package), publishing (publish_video), and option lookup (list_supported_modes) each have a clearly separate role.

Naming Consistency5/5

All nine tools use a consistent snake_case verb_noun pattern (generate_short, extract_clips, get_render_status, list_videos, publish_video, etc.). No mixed camelCase or vague standalone verbs appear.

Tool Count5/5

Nine tools is well within a sensible range for a video-generation pipeline. Each tool covers a distinct stage: creation, extraction, dubbing, status polling, discovery, metadata, social text, publishing, and option lookup.

Completeness4/5

The surface covers the main lifecycle from generation through status polling, file listing, and publishing, with clear workarounds noted for job history after restarts. Minor gaps exist: no job cancellation, no video deletion, and generate_short outputs saved outside sessions are not discoverable through list_videos.

Maintenance

ActivityActive
ResponsivenessLimited data