Skip to main content
Glama

generate_short

Create an original 9:16 short video from a topic or idea: AI script, voice-over, stock footage, music, and captions render locally in the background; poll status until finished.

Instructions

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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_short"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoContent format. FACTS = a 'spot the lie' quiz of three claims; STORY / HORROR / TRUE_CRIME / BIBLE = narrated stories; EXPLAINER = a short Manim animation; WYR = 'would you rather'; TOP_5 = a ranked list; CHAT_STORY = a text-message story; REDDIT = a Reddit-style post; TRIVIA / RIDDLE / EMOJI_GUESS = quizzes; QUOTE = a quote; NEWS = a news recap; ARTICLE = an article retold; UGC = a product review. ARTICLE, UGC, BIBLE and TRUE_CRIME need 'prompt' or 'category'.FACTS
vibeNoMood of the background music.suspense
promptNoThe exact topic or idea, e.g. 'Explain how black holes bend light'. When given it is the topic instead of 'category'.
scriptNoA finished script to narrate as written. When given, no AI script is generated.
categoryNoTopic area of the script, e.g. 'space mysteries', 'ancient Rome', 'psychology'. Left out, a random area that suits the mode is picked.
sfx_presetNoReserved: sound effects on transitions. Accepted but not implemented yet, so it changes nothing.auto
aspect_ratioNoOutput shape. Only 9:16 has an effect here: shorts made from an idea are always 9:16, other values are accepted and ignored with a warning in the job log.9:16
auto_duckingNoReserved: lower the music under the voice. Accepted but not implemented yet, so it changes nothing.
tts_providerNoVoice-over engine. auto picks the best available; edgetts is free; kokoro and local run fully offline; elevenlabs and voicestudio need their own setup.auto
use_remotionNoRender animated captions with the Remotion engine (needs Node.js). False uses simple captions.
caption_styleNoAnimated caption look (needs use_remotion): HORMOZI = bold yellow single words, GLOW_BOX = words in boxes with a pink highlight, BOUNCE = bouncy gold single words, MINIMAL = clean dark boxes, KARAOKE = colour sweep along the line, NEON = glow, BAR = subtitle bar, MARKER = highlighter sweep, SOFT = words fading in, WORDCUT = words cut in, NEGATIVE = muted keyword, HANDWRITTEN = script with an underline, SIMPLE = tall plain capitals, TYPEWRITER = typed letter by letter, AUTO/RANDOM = pick for me.HORMOZI

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv0.9.5
    • changedInput schema / properties / aspect_ratio / description
      Previous value: -"Output shape: 9:16 vertical (Shorts, Reels, TikTok), 16:9, 1:1 or 4:5."New value: +"Output shape. Only 9:16 has an effect here: shorts made from an idea are always 9:16, other values are accepted and ignored with a warning in the job log."
    • changedInput schema / properties / auto_ducking / description
      Previous value: -"Lower the background music while the voice is speaking."New value: +"Reserved: lower the music under the voice. Accepted but not implemented yet, so it changes nothing."
    • changedInput schema / properties / caption_style / description
      Previous value: -"Animated caption look (needs use_remotion): HORMOZI = bold yellow single words, GLOW_BOX = words in boxes with a pink highlight, BOUNCE = bouncy gold single words, MINIMAL = clean dark boxes, AUTO/RANDOM = pick for me."New value: +"Animated caption look (needs use_remotion): HORMOZI = bold yellow single words, GLOW_BOX = words in boxes with a pink highlight, BOUNCE = bouncy gold single words, MINIMAL = clean dark boxes, KARAOKE = colour sweep along the line, NEON = glow, BAR = subtitle bar, MARKER = highlighter sweep, SOFT = words fading in, WORDCUT = words cut in, NEGATIVE = muted keyword, HANDWRITTEN = script with an underline, SIMPLE = tall plain capitals, TYPEWRITER = typed letter by letter, AUTO/RANDOM = pick for me."
    • changedInput schema / properties / caption_style / enum
      Previous value: -[
      -  "HORMOZI",
      -  "GLOW_BOX",
      -  "BOUNCE",
      -  "MINIMAL",
      -  "AUTO",
      -  "RANDOM"
      -]New value: +[
      +  "HORMOZI",
      +  "GLOW_BOX",
      +  "BOUNCE",
      +  "MINIMAL",
      +  "KARAOKE",
      +  "NEON",
      +  "BAR",
      +  "MARKER",
      +  "SOFT",
      +  "WORDCUT",
      +  "NEGATIVE",
      +  "HANDWRITTEN",
      +  "SIMPLE",
      +  "TYPEWRITER",
      +  "AUTO",
      +  "RANDOM"
      +]
    • removedInput schema / properties / category / default
      Removed value: -"space mysteries"
    • changedInput schema / properties / category / description
      Previous value: -"Topic or category the script should be about, e.g. 'space mysteries', 'ancient Rome', 'psychology'."New value: +"Topic area of the script, e.g. 'space mysteries', 'ancient Rome', 'psychology'. Left out, a random area that suits the mode is picked."
    • changedInput schema / properties / mode / description
      Previous value: -"Content format. FACTS = a 'spot the lie' quiz of three claims; STORY / HORROR / TRUE_CRIME = narrated stories; EXPLAINER = an animated explainer; WYR = 'would you rather'; TOP_5 = a ranked list; TRIVIA / RIDDLE / EMOJI_GUESS = quiz formats; NEWS = a news recap; others as named."New value: +"Content format. FACTS = a 'spot the lie' quiz of three claims; STORY / HORROR / TRUE_CRIME / BIBLE = narrated stories; EXPLAINER = a short Manim animation; WYR = 'would you rather'; TOP_5 = a ranked list; CHAT_STORY = a text-message story; REDDIT = a Reddit-style post; TRIVIA / RIDDLE / EMOJI_GUESS = quizzes; QUOTE = a quote; NEWS = a news recap; ARTICLE = an article retold; UGC = a product review. ARTICLE, UGC, BIBLE and TRUE_CRIME need 'prompt' or 'category'."
    • changedInput schema / properties / prompt / description
      Previous value: -"Optional extra instructions or context for the script writer, e.g. 'Explain how black holes bend light'."New value: +"The exact topic or idea, e.g. 'Explain how black holes bend light'. When given it is the topic instead of 'category'."
    • changedInput schema / properties / script / description
      Previous value: -"Optional finished script to narrate as written. When given, no AI script is generated."New value: +"A finished script to narrate as written. When given, no AI script is generated."
    • changedInput schema / properties / sfx_preset / description
      Previous value: -"Sound effects on visual transitions; none turns them off."New value: +"Reserved: sound effects on transitions. Accepted but not implemented yet, so it changes nothing."
  2. Changed18 schema fields changedv0.1.1
    • addedInput schema / properties / aspect_ratio / description
      Added value: +"Output shape: 9:16 vertical (Shorts, Reels, TikTok), 16:9, 1:1 or 4:5."
    • changedInput schema / properties / auto_ducking / description
      Previous value: -"Automatically duck background music when voice audio plays"New value: +"Lower the background music while the voice is speaking."
    • addedInput schema / properties / caption_style / description
      Added value: +"Animated caption look (needs use_remotion): HORMOZI = bold yellow single words, GLOW_BOX = words in boxes with a pink highlight, BOUNCE = bouncy gold single words, MINIMAL = clean dark boxes, AUTO/RANDOM = pick for me."
    • changedInput schema / properties / caption_style / enum
      Previous value: -[
      -  "HORMOZI",
      -  "GLOW_BOX",
      -  "BOUNCE",
      -  "MINIMAL"
      -]New value: +[
      +  "HORMOZI",
      +  "GLOW_BOX",
      +  "BOUNCE",
      +  "MINIMAL",
      +  "AUTO",
      +  "RANDOM"
      +]
    • changedInput schema / properties / category / description
      Previous value: -"Topic or category (e.g. 'space mysteries', 'quantum physics', 'psychology')"New value: +"Topic or category the script should be about, e.g. 'space mysteries', 'ancient Rome', 'psychology'."
    • changedInput schema / properties / mode / description
      Previous value: -"Content mode: FACTS, EXPLAINER, STORY, WYR, TOP_5, CHAT_STORY, HORROR, TRUE_CRIME, BIBLE, ARTICLE, UGC, EMOJI_GUESS, REDDIT, TRIVIA, QUOTE"New value: +"Content format. FACTS = a 'spot the lie' quiz of three claims; STORY / HORROR / TRUE_CRIME = narrated stories; EXPLAINER = an animated explainer; WYR = 'would you rather'; TOP_5 = a ranked list; TRIVIA / RIDDLE / EMOJI_GUESS = quiz formats; NEWS = a news recap; others as named."
    • addedInput schema / properties / mode / enum
      Added value: +[
      +  "FACTS",
      +  "EXPLAINER",
      +  "STORY",
      +  "WYR",
      +  "TOP_5",
      +  "CHAT_STORY",
      +  "HORROR",
      +  "TRUE_CRIME",
      +  "BIBLE",
      +  "ARTICLE",
      +  "UGC",
      +  "EMOJI_GUESS",
      +  "REDDIT",
      +  "TRIVIA",
      +  "QUOTE",
      +  "NEWS",
      +  "RIDDLE"
      +]
    • changedInput schema / properties / prompt / description
      Previous value: -"Detailed prompt or script context for AI generation"New value: +"Optional extra instructions or context for the script writer, e.g. 'Explain how black holes bend light'."
    • changedInput schema / properties / script / description
      Previous value: -"Custom manual script to use directly (skips LLM generation)"New value: +"Optional finished script to narrate as written. When given, no AI script is generated."
    • changedInput schema / properties / sfx_preset / default
      Previous value: -"whoosh"New value: +"auto"
    • addedInput schema / properties / sfx_preset / description
      Added value: +"Sound effects on visual transitions; none turns them off."
    • changedInput schema / properties / sfx_preset / enum
      Previous value: -[
      -  "none",
      -  "pop",
      -  "whoosh",
      -  "chime",
      -  "riser",
      -  "boom"
      -]New value: +[
      +  "auto",
      +  "whoosh",
      +  "pop",
      +  "riser",
      +  "boom",
      +  "none"
      +]
    • removedInput schema / properties / target_lang
      Removed value: -{
      -  "description": "Language code for translation/dubbing (e.g., 'es', 'fr', 'de', 'ja')",
      -  "type": "string"
      -}
    • changedInput schema / properties / tts_provider / default
      Previous value: -"edge-tts"New value: +"auto"
    • addedInput schema / properties / tts_provider / description
      Added value: +"Voice-over engine. auto picks the best available; edgetts is free; kokoro and local run fully offline; elevenlabs and voicestudio need their own setup."
    • changedInput schema / properties / tts_provider / enum
      Previous value: -[
      -  "edge-tts",
      -  "elevenlabs",
      -  "voicestudio",
      -  "gtts"
      -]New value: +[
      +  "auto",
      +  "edgetts",
      +  "elevenlabs",
      +  "voicestudio",
      +  "local",
      +  "kokoro"
      +]
    • changedInput schema / properties / use_remotion / description
      Previous value: -"Use React-based Remotion subtitle engine for dynamic spring animations"New value: +"Render animated captions with the Remotion engine (needs Node.js). False uses simple captions."
    • addedInput schema / properties / vibe / description
      Added value: +"Mood of the background music."
  3. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations, it discloses the full job lifecycle: immediate return of {job_id, status, message}, background rendering that usually takes minutes, and polling get_render_status until 'completed' or 'failed'. It also explains where the finished file is written (ShortsFlow folder and job log lines, no 'outputs' list) and lists external side effects: topic to the AI text provider, search phrases to Pexels, narration to the voice service, using the user's own keys.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose and immediately follows with alternatives, return behavior, output location, and side effects. Despite its length, every sentence earns its place by covering a distinct operational concern for a complex background-rendering tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter, non-idempotent, open-world creation tool, the description covers purpose, alternatives, async job handling, polling, output file location, and side effects. No return schema exists, but the description fully explains the immediate return shape and how to retrieve the final result, leaving no critical operational gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the schema itself documents all 11 parameters, including enum meanings and defaults. The description does not add parameter-specific meaning beyond what the schema already provides, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: create an original vertical 9:16 short video from an idea, with a defined pipeline of script, voice-over, footage, music, and captions. It explicitly distinguishes itself from extract_clips (cutting shorts from existing video) and create_explainer (script based on given sources), so an agent can select it without ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear when-to-use guidance ('make a new short from a topic') and names the alternatives with their selecting conditions: extract_clips for existing video and create_explainer when the script must be based on given sources. It also distinguishes itself from publishing behavior by noting that nothing is uploaded or posted.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.