Skip to main content
Glama

generate_video

Create a 4-, 6-, or 8-second MP4 video with sound from a text prompt via Plantain and save it to disk; set duration, resolution, and aspect ratio.

Instructions

Generate a 4, 6, or 8 second MP4 video clip with sound from a text prompt using Plantain. Costs 8 credits (€0.16) regardless of length or resolution. Saves the MP4 to disk.

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

Input Schema

NameRequiredDescriptionDefault
promptYesText description of the video clip and audio to generate.
duration_sNoVideo duration in seconds: 4, 6, or 8. Same price for all lengths.
resolutionNoOutput resolution: 720p or 1080p. Same price for both.720p
output_pathNoLocal file path to save the MP4. Defaults to ./plantain-<job_id>.mp4 in the current working directory.
aspect_ratioNoLandscape (16:9) or vertical/portrait (9:16).16:9

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose useful traits: output includes audio, pricing is length/resolution-invariant, and the MP4 is written to disk. It says nothing about latency, async/job semantics, failure modes, or what is returned to the caller beyond the file, which are material for a paid 8-second-per-call generation.

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?

Three short sentences, front-loaded with the core capability, then the decision-relevant cost, then the side effect. Slight redundancy in restating price invariance that the schema already documents per parameter.

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?

Covers capability, cost, and the disk-write side effect, which is what an agent needs to invoke it; there is no output schema, and the description tells the caller where the artifact lands. Missing only return-value/job-id details and timing expectations.

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 100%, so the baseline is 3. The description adds little beyond the schema — the duration range and flat pricing are already documented per-parameter — and only 'with sound' is genuinely new information not encoded in any field.

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 an MP4 video clip) with the exact constraints (4/6/8 seconds, with sound, from a text prompt) and the provider name. It is trivially distinguishable from generate_image by modality, so an agent can route without opening the 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 cost line (8 credits / €0.16 flat regardless of length or resolution) gives a clear decision signal for when this expensive generation is worth invoking, and the sibling generate_image covers the alternative modality. It stops short of explicit when-not-to-use guidance or prerequisites such as credit balance.

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

Deploy Server

Other Tools