Skip to main content
Glama

Generate a video from a creative brief

autoshort_generate_chat_video
Idempotent

Create a video from a natural-language creative brief; AutoShort writes the script from it. To keep an agreed script word for word with your own shots, use autoshort_draft_video instead. To use the user's own pictures ("make a video with these images"), pass image_urls (public https links, up to 6): image 1 becomes scene 1, image 2 scene 2, …; the rest are generated. Naming an image inside the brief does NOT attach it: only image_urls do. If the brief points at a picture you did not pass, the answer carries warnings["IMAGE_IGNORED"] with a warningText (read it to the user), or CHAT_NO_IMAGE_INPUT (retry with image_urls, or proceedWithoutImage: true). If the brief carries the user's own picture direction and they want it drawn exactly, pass promptHandling "as_written": Use my words exactly. If the model refuses a scene, it fails instead of being reworded. Optional captionSecondaryLanguage adds a translated second caption line under the narration captions (e.g. "vi" for English narration with Vietnamese under it); "none" turns it off for this video even if the account default has one; omitted = the account default (off unless the user set one). It costs nothing extra. Costs 40 credits with the default voice (+25 if ElevenLabs narrates); images do not change the price. Rendering is asynchronous: poll autoshort_get_video every 20-30 seconds until status is COMPLETED or FAILED. If get_video returns blockedReason, stop polling and act on it (e.g. top up credits). ROUTING: if the user pasted a cinematic / video-model prompt (camera, lens, lighting, a scene description), do NOT use this tool: it writes its own script and makes narrated still-image scenes. Use autoshort_generate_motion_clip, which sends the prompt as written. Use this tool for narrated stories and facts. videoProvider VEO_3_1_OPERATOR is operator-fulfilled and not guaranteed: it does not turn a prompt into a moving clip.

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": {
      "message": "<message>"
    },
    "name": "autoshort_generate_chat_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesCreative brief describing the desired video.
artStyleNoArt style returned by autoshort_list_niches.
languageNoNarration language. Omit to detect it from the brief.
image_urlsNoOptional. The user's OWN images to use as the first scenes: image 1 = scene 1, image 2 = scene 2, and so on; the remaining scenes are generated as usual. https URLs only, up to 6 per call, JPEG/PNG/WebP, each at most 10 MB and 25 megapixels; at most 30 images per hour per account. Animated WebP uses its first frame; GIF and SVG are rejected. AutoShort downloads each image once, strips EXIF/GPS, re-encodes it and serves it from its own domain (your URL is never linked into the video). Fast (FFMPEG) multi-scene videos only. The answer states how many images were used and for which scenes; more images than scenes is refused, never silently dropped. Only send images the user owns or may use; each is shown as a still with a slow zoom and is never animated or used to generate a person.
aspectRatioNoFrame of the rendered video: "9:16" vertical (default; Shorts/TikTok/Reels), "16:9" landscape (YouTube, film), "1:1" square. Images are generated in this shape and the video renders in it. 16:9 and 1:1 skip the automatic music bed and punch-in polish (vertical only).
videoProviderNoFFMPEG for fast multi-scene video; VEO_3_1_OPERATOR for cinematic quality when eligible.
idempotencyKeyNoRetry-safe: a repeat with the same key returns the first answer (replayed: true) and creates nothing.
promptHandlingNopromptHandling: "assist" (default) or "as_written". "as_written" = Use my words exactly. If the model refuses a scene, it fails instead of being reworded. It applies to the picture text you wrote; scenes you wrote nothing for are still written by AutoShort, and the answer says which (writtenBy). A refused scene fails with the image model's reason and the credits for what was not made are refunded.
targetDurationNoLength in seconds. With image_urls and no targetDuration, 30 is used (6 scenes) so every image has a scene.
proceedWithoutImageNoSet true to create the video from the text even though the brief points at an image you did not pass in image_urls. Without it, a brief that clearly hands over a file ("the photo I attached", an image URL) is refused with CHAT_NO_IMAGE_INPUT before anything is charged; a softer mention creates the video and returns warnings: ["IMAGE_IGNORED"] + warningText.
captionSecondaryLanguageNoSecond caption line language (translated, shown under the narration captions). "none" = no second line for this video. Omit to use the account default. Same language as the narration = ignored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / promptHandling
      Added value: +{
      +  "description": "promptHandling: \"assist\" (default) or \"as_written\". \"as_written\" = Use my words exactly. If the model refuses a scene, it fails instead of being reworded. It applies to the picture text you wrote; scenes you wrote nothing for are still written by AutoShort, and the answer says which (writtenBy). A refused scene fails with the image model's reason and the credits for what was not made are refunded.",
      +  "enum": [
      +    "assist",
      +    "as_written"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / aspectRatio / description
      Added value: +"Frame of the rendered video: \"9:16\" vertical (default; Shorts/TikTok/Reels), \"16:9\" landscape (YouTube, film), \"1:1\" square. Images are generated in this shape and the video renders in it. 16:9 and 1:1 skip the automatic music bed and punch-in polish (vertical only)."
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only cover safety/idempotency; the description supplies the expensive behavioral facts: 40 credits (+25 for ElevenLabs), images don't change price, asynchronous rendering with a 20-30 second polling cadence against autoshort_get_video, and stopping on blockedReason. It also discloses failure paths (as_written refusal with refund of unmade credits, CHAT_NO_IMAGE_INPUT refusal before charging, IMAGE_IGNORED warnings) and the account-default semantics of captionSecondaryLanguage.

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?

It is one dense paragraph with heavy capitalization and quotes, and the most decision-relevant instruction ("do NOT use this tool if the user pasted a cinematic prompt") is buried near the end as "ROUTING". Several sentences duplicate schema text that the agent already receives. It is front-loaded on purpose but not on routing, and could be split into short labeled sections without losing content.

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, costly, asynchronous generation tool with no output schema, the description covers what an agent actually needs: cost, latency and polling protocol, terminal vs. blocked states, image attachment rules, non-deterministic provider behavior, and sibling routing. Nothing material about invoking it correctly is left unstated.

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 description coverage is 100%, so the baseline is 3 and much of the prose restates schema text (image URL limits, aspectRatio tradeoffs). It earns above baseline by adding cross-parameter behavior the schema cannot express: naming an image inside the brief does NOT attach it – only image_urls do – and the IMAGE_IGNORED / CHAT_NO_IMAGE_INPUT / proceedWithoutImage interaction, plus that captionSecondaryLanguage is free and omitted means account default.

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?

"Create a video from a natural-language creative brief; AutoShort writes the script from it" gives a specific verb, resource, and the key differentiator (it authors the script). It immediately distinguishes itself from autoshort_draft_video (agreed script, own shots) and autoshort_generate_motion_clip (prompt sent as-is), so an agent can select it without opening any schema.

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 routing in both directions: use draft_video when the script must be kept word for word with the user's own shots, and do NOT use this tool when the user pasted a cinematic/video-model prompt – use generate_motion_clip instead. It also states the positive case (narrated stories and facts) and the caveat that videoProvider VEO_3_1_OPERATOR is operator-fulfilled and won't turn a prompt into motion.

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.

Resources