Skip to main content
Glama

generate_video

Destructive

Generate a video with a Morphix model. Spends credits. Renders a live view that polls itself until the video is ready. Pick a model with explore_models. Pass image asset ids as start/end frames or image references, and video or audio asset ids as video or audio references, each in its own field. Models list which reference types they accept in explore_models.

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": {
      "model": "<model>",
      "promptText": "<promptText>",
      "duration": "<duration>"
    },
    "name": "generate_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
audioNo
modelYes
bitrateNo
durationYes
promptTextYes
resolutionNo
aspectRatioNo
end_frame_asset_idNo
start_frame_asset_idNo
audioReferenceAssetIdsNo
imageReferenceAssetIdsNo
videoReferenceAssetIdsNo

Output Schema

NameRequiredDescriptionDefault
generationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / bitrate
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "high",
      +        "standard"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, but the description adds two facts the agent cannot get from them: the call spends credits, and it renders a live view that polls itself until the video is ready. The latter is critical for planning, since it implies a long-running, self-polling operation rather than an immediate return. It does not explain failure/timeout behavior or why the operation is flagged destructive.

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 description is dense and front-loaded with the operation, its cost, and its polling behavior before moving to input conventions. The only waste is the repeated reference to explore_models in the first and last sentences, which could be consolidated.

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

Completeness3/5

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

An output schema exists, so return values need not be described, and the description covers cost, async polling, model discovery, and reference-field semantics. However, for a 12-parameter tool with zero schema description coverage, the six output-shaping parameters (duration, resolution, aspectRatio, bitrate, audio, promptText) remain undocumented in both places.

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 0% across 12 parameters, so the description must carry the load. It does well on the reference-related fields (start_frame_asset_id, end_frame_asset_id, imageReferenceAssetIds, videoReferenceAssetIds, audioReferenceAssetIds) and on model selection, but leaves promptText, duration, resolution, aspectRatio, bitrate, and the audio toggle entirely unexplained beyond their names.

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 opening sentence names a specific verb and resource ("Generate a video with a Morphix model") and implicitly separates this tool from the generate_image and generate_audio siblings. It also names the discovery tool (explore_models) that drives the required `model` argument, so an agent can act without opening another schema.

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?

The description gives an explicit prerequisite workflow: pick a model via explore_models, and check there which reference types a model accepts. It also states the mapping rule for reference inputs (each in its own field). It stops short of naming when NOT to use this tool (e.g., still image or audio-only output), so it is clear context rather than full routing guidance.

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