Skip to main content
Glama

generate_short_video

Call prompt_suggest first and base the prompt on the top result. Generate a FINISHED, PUBLISHABLE vertical (9:16) short video with an AI video model (three engines: loop, realism, fast) and get back a hosted mp4 publicUrl. The server builds the shot prompt from your one-line concept plus genre fields, adds the configured voiceover, burns word-timed karaoke captions and returns the assembled result. Pass video.publicUrl into schedule_post mediaUrls (tiktok/instagram/youtube). Always disclose the generated visual as AI-generated when you post it. Pick a genre: asmr_loop, what_if, pov_historical or character_series (each one's mechanic is on the genre field; character_series needs referenceImageUrls). Upload any start or reference images first with prepare_media_upload, PUT, then finalize_media_upload, and pass the returned publicUrl(s). Weighted credits follow the subscription billing period: requests over the allowance get 429. Costs and plan allowances are in the provider field; call get_capabilities (shorts.video) or GET /api/shorts/genres for the live registry. STYLE: follow the server writing-style instructions: write like the human owner, read list_posts first, no em or en dashes, 0-1 hashtags. CAPABILITY: draft: creates content that cannot reach an audience on its own. Safe for a draft-only agent token.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "genre": "<genre>",
      "concept": "<concept>"
    },
    "name": "generate_short_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
eraNopov_historical: the dated moment and place.
genreYesWhich proven format to shoot, each built on one retention mechanic. asmr_loop: hyper-tactile satisfying clip cut as a SEAMLESS LOOP (last frame equals first), single unbroken shot; REQUIRES imageUrl and the loop engine. what_if: an absurd premise filmed as a dead-serious documentary; realism engine by default. pov_historical: first-person POV of a historical or disaster moment with stakes and a timer in the first line. character_series: a recurring character held identical across episodes via referenceImageUrls.
promptNoEscape hatch: send this to the model verbatim instead of the built prompt.
refineNoRun the LLM critique pass over the built prompt. Default true.
conceptYesThe idea in one line, e.g. "a knife slicing through a bar of kinetic sand".
premiseNowhat_if: the absurd premise, stated flatly.
settingNoWhere it happens.
subjectNoWhat is physically on screen.
imageUrlNoStart frame (image-to-video). REQUIRED for asmr_loop, the loop is produced by pinning the last frame back to this exact image.
materialNoasmr_loop: the material doing the satisfying thing.
providerNoOverride the per-genre engine only if you know why. loop is required for seamless loops (2 credits, 5 on the Standard tier); realism is the default for what_if and pov_historical (2 credits); fast is the cheap explicit override (1 credit). Allowance per billing period: Pro 6, Growth 12, trials 2, Free and Starter 0.
timerLineNopov_historical: the stakes + countdown for the first line.
episodeBeatNocharacter_series: what happens in this episode.
soundDesignNoasmr_loop: a physical texture cue for the generated action. Provider audio is discarded.
characterNameNocharacter_series: the recurring character.
voiceoverTextNoOptional exact narration. Defaults to the genre-specific premise/timer/episode line when present, otherwise concept.
extraDirectionNoExtra art direction, appended verbatim.
durationSecondsNoClip length in seconds. The value is snapped to what the chosen engine supports (loop 4, 6 or 8; realism 5 or 10; fast 1 to 15). Defaults to the genre default (8).
referenceImageUrlsNoUp to 3 hosted images of a recurring character/product, from prepare_media_upload. This is how character_series keeps the same character across episodes.
characterDescriptionNocharacter_series: their fixed appearance. Reuse the SAME wording every episode.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / durationSeconds / description
      Previous value: -"Clip length. The loop engine accepts 4|6|8 (snapped); the realism engine snaps to 5|10; the fast engine 1 to 15. Defaults to the genre default (8)."New value: +"Clip length in seconds. The value is snapped to what the chosen engine supports (loop 4, 6 or 8; realism 5 or 10; fast 1 to 15). Defaults to the genre default (8)."
    • changedInput schema / properties / genre / description
      Previous value: -"Which proven format to shoot. See the tool description for each one's mechanic."New value: +"Which proven format to shoot, each built on one retention mechanic. asmr_loop: hyper-tactile satisfying clip cut as a SEAMLESS LOOP (last frame equals first), single unbroken shot; REQUIRES imageUrl and the loop engine. what_if: an absurd premise filmed as a dead-serious documentary; realism engine by default. pov_historical: first-person POV of a historical or disaster moment with stakes and a timer in the first line. character_series: a recurring character held identical across episodes via referenceImageUrls."
    • changedInput schema / properties / provider / description
      Previous value: -"Override per-genre routing with loop, realism or fast. The loop engine is required for seamless loops; the realism engine is the default for what_if/pov_historical; the fast engine is a cheap explicit-override option."New value: +"Override the per-genre engine only if you know why. loop is required for seamless loops (2 credits, 5 on the Standard tier); realism is the default for what_if and pov_historical (2 credits); fast is the cheap explicit override (1 credit). Allowance per billing period: Pro 6, Growth 12, trials 2, Free and Starter 0."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes well past annotations by disclosing credit cost per engine, per-plan allowances (Pro 6, Growth 12, trials 2, Free/Starter 0), 429 behavior over allowance, that provider audio is discarded, that refine runs an LLM critique pass, and the obligation to disclose AI-generated visuals. The one missing behavioral trait is whether generation is synchronous or returns a job to poll, which matters for a long-running video render.

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

Conciseness3/5

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

The critical instruction (prompt_suggest first) is front-loaded and the generation/credit facts are dense but useful. However the trailing STYLE block about list_posts, dashes, and hashtags, plus the CAPABILITY: draft tag, reads as injected boilerplate unrelated to video generation and dilutes an already long description.

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

Completeness4/5

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

For a 20-parameter generation tool with no output schema, it covers the return value, genre selection, engine choice, credit limits, and asset upload workflow. It stops short of describing failure/timeout behavior or render latency, which an agent needs for a job that returns a media URL.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds cross-parameter workflow meaning the schema cannot express: prompt_suggest must precede prompt/concept, imageUrl must come from the upload pipeline rather than a bare URL, and asmr_loop pairs imageUrl with the loop engine. It also maps output usage (video.publicUrl into schedule_post) which the schema has no place for.

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?

States a specific verb and artifact: generate a FINISHED, PUBLISHABLE vertical 9:16 short video via an AI video model, returning a hosted mp4 publicUrl. It names the three engines and the four genres, so an agent can tell exactly what this produces versus generic content tools.

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?

Explicit sequencing: call prompt_suggest first and base the prompt on the top result; upload images via prepare_media_upload, PUT, finalize_media_upload before passing publicUrls; pass the resulting publicUrl into schedule_post mediaUrls. It also routes to get_capabilities (shorts.video) for live costs, so alternatives and prerequisites are covered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.