Skip to main content
Glama

Generate motion graphic

generate_motion_graphic

Create animated motion graphics from a text prompt for precise text effects like typing, kinetic typography, and lower thirds, output as transparent WebM or opaque MP4.

Instructions

Generate an animated motion graphic video from a text prompt. Best for precise text animations (typing effects, kinetic typography, lower thirds) that stock or generated footage can't express. Outputs a transparent WebM overlay by default; set transparentBackground to false for an opaque MP4. Optionally pass reference media file ids to display or animate. Typically takes 2–5 minutes because VideoGen writes animation code and then renders it; complex prompts can take longer. Tell the user that wait before starting and keep polling calmly — a healthy in-progress job is expected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesDescription of the animated motion graphic.
fileIdsNoOptional reference media file ids.
entityIdsNoOptional actor, product, or visual-style entity ids (vg_enti_...).
aspectRatioNoOutput aspect ratio as width:height units (not pixels). Example: { width: 16, height: 9 }.
subToolModesNoOptional per-capability controls for generated images, video clips, voiceover, and stock media. Omit to use AUTO for every capability.
durationSecondsNo
transparentBackgroundNoRender a transparent WebM for use as an overlay on other video or images. Defaults to true. Set to false for an opaque MP4.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoError details when status is failed; otherwise null.
statusNoJob status: pending, running, succeeded, failed, or cancelled.
resultsNoGenerated results with download URLs when succeeded.
toolTypeNoTool name (e.g. GENERATE_IMAGE).
attemptIndexNoCurrent or latest attempt index.
toolExecutionIdYesTool execution id (vg_tool_...).
progressPercentageNoCompletion progress 0-100 (present after polling).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

A4.5/5.0
Behavior5/5

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

Despite annotations covering safety (readOnlyHint=false, destructiveHint=false), the description adds rich behavioral disclosure: default transparent WebM output vs opaque MP4, 2–5 minute render time because VideoGen writes animation code then renders, longer for complex prompts, and polling expectations. This is exactly the extra context the annotation set cannot provide.

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?

Front-loads the purpose, then gives use-case, output format, references, timing, and polling guidance in tight sentences. Every sentence earns its place; no redundancy or filler.

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 a complex 7-param tool with nested objects, the description covers use case, output format, timing expectations, and polling behavior, and an output schema exists so return values needn't be explained. The few uncovered params are fully documented in the schema, leaving no critical gap for an agent to call it correctly.

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 86%, so the schema already documents most parameters (including the transparentBackground default and aspectRatio semantics). The description reinforces transparentBackground and fileIds ('reference media file ids to display or animate') but omits entityIds, subToolModes, and durationSeconds. Baseline 3 is appropriate when the schema does the heavy lifting.

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+resource ('Generate an animated motion graphic video from a text prompt') and immediately distinguishes it from siblings by scoping it to precise text animations (typing effects, kinetic typography, lower thirds) that stock/generated footage can't express. An agent can tell this apart from generate_video_clip or prompt_to_video_clip without opening their schemas.

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

Usage Guidelines4/5

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

Gives clear when-to-use guidance ('Best for precise text animations...') and contrasts implicitly against stock/generated footage alternatives. It also adds operational guidance (wait 2–5 minutes, keep polling calmly). It stops short of naming specific sibling tools or explicit when-not-to-use conditions, so not a full 5.

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