Skip to main content
Glama

Generate video

generate_video

PROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. Generate a VIDEO clip with AI — real moving footage — from a text prompt, or animate an existing image by passing from_image_asset_key (a generated or uploaded image's storage_key). The clip is saved as a project asset; it reaches the program ONLY after add_overlay (replace picture, preserve audio/time) or insert_media (add time). It creates NEW animation from a reference, not an identity-safe retargeting of existing video motion. Inspect the result and disclose this distinction. This is the tool for 'make me a video of X' / 'bring this photo to life'. It is SLOW (tens of seconds to a few minutes) and costs credits per second, so use it deliberately. duration_s ~5s is typical.

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": {
      "prompt": "<prompt>",
      "project_id": "<project_id>"
    },
    "name": "generate_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYes
duration_sNo
project_idYesExplicit project identifier for this request. The connection's navigation pointer does not select the target.
from_image_asset_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (non-read-only, open-world, not idempotent, non-destructive), the description discloses latency ("tens of seconds to a few minutes") and a per-second credit cost, plus the fact that output is persisted as a project asset rather than returned inline. It also warns that the result must be inspected and the animation-vs-retargeting distinction disclosed.

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

Conciseness4/5

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

The scoping constraint is front-loaded in caps and the two invocation modes follow immediately. It is dense and slightly overpacked (the inspection/disclosure instruction trails at the end), but nearly every sentence carries operational value.

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 4-parameter, no-output-schema generation tool, the definition covers cost, latency, persistence, downstream wiring, and mode selection. An agent has enough to call it correctly and to set expectations, with no meaningful missing piece.

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 only 25%, so the description must carry the load; it does define from_image_asset_key as a generated or uploaded image's storage_key and gives a typical magnitude for duration_s (~5s). project_id's scope is reinforced (explicit id required, navigation pointer does not select the target). The prompt parameter is left implicit, which is the only gap.

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 resource ("Generate a VIDEO clip with AI — real moving footage") and enumerates its two modes: text prompt or image animation via from_image_asset_key. It also explicitly excludes a nearby capability ("not an identity-safe retargeting of existing video motion"), so the agent can separate it from enhancement/retargeting siblings.

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?

Gives concrete user-intent triggers ("make me a video of X" / "bring this photo to life") and a when-not clause about retargeting. It also states the prerequisite for the output to appear in the program (must go through add_overlay or insert_media), which is decision-relevant guidance, not just flavor.

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.