Skip to main content
Glama

flow_generate_video

Generates videos on Google Flow from text prompts, with a preview-only mode to avoid credits and an auto-confirm mode to render and download MP4 files.

Instructions

⚠️ CONSUMA CREDITI FLOW (Veo/Omni). Con auto_confirm=false (default): prepara il prompt video e si ferma senza generare (nessun credito). Con auto_confirm=true: invia, attende il render (minuti) e scarica l'mp4. Modello economico per test: "lite" (Veo 3.1 Lite).

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": "flow_generate_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoModel: lite (Veo 3.1 Lite, cheapest), fast, quality, flash (Omni Flash), or exact name.fast
ratioNoAspect ratio: 16:9, 9:16, 1:1.16:9
promptYesThe text prompt for video generation.
campaignNoCampaign identifier for project matching.
durationNoDuration like "4s", "6s", "8s".4s
auto_confirmNo⚠️ CREDITI. false (default): prepara soltanto. true: genera davvero (consuma crediti Flow) e scarica.
project_nameNoName for the project (will reuse existing project with same campaign, or create new).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description correctly carries the full burden and does so well: it flags credit consumption, distinguishes the no-cost prep mode from the costed render mode, warns the render takes minutes, and states the mp4 is downloaded. It omits auth/connection prerequisites, but the credit and latency disclosures are the high-value behaviors an agent needs.

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?

The credit warning is front-loaded with a ⚠️ marker, followed by the two operating modes and a model tip, in roughly three dense sentences with no waste. An agent can extract the critical decision (auto_confirm) immediately.

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?

For a 7-parameter, no-annotation, no-output-schema tool, the description covers the essential behavior: cost, latency, and that a successful run yields a downloaded mp4. What the dry-run mode actually returns is unstated, a minor gap given the schema fully documents the parameters.

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 coverage is 100% and already documents every parameter, including the model tiers and the auto_confirm credit warning. The description's model hint ('lite' for testing) largely restates the schema's own model description, adding little new meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb+resource (prepare/generate and download an mp4 video) and identifies the backend (Veo/Omni), making it clearly a video-generation tool distinct from a hypothetical image sibling. It stops short of explicitly naming flow_generate_image as the alternative, so differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

It gives real guidance for the auto_confirm switch (false = prep only, true = generate and download) and recommends the 'lite' model for cheap testing. However, it never says when to prefer this over other generation tools or when a dry-run is the right choice beyond the credit note, leaving usage partly implied.

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