Skip to main content
Glama

flow_reference_to_video

Generate a new video by combining reference images with a text prompt in Google Flow, using product, character, or style references to guide the scene.

Instructions

Generate a new video guided by reference images (product, character, style) in Google Flow (Ingredients to Video).

Args: prompt: Natural-language prompt describing how the reference images should be combined in the scene. reference_images: List of local image paths to use as ingredients/references. reference_videos: Optional reference video paths (API mode). aspect_ratio: '16:9' or '9:16'. Default '16:9'. duration: Duration in seconds (default 10). resolution: '360p', '720p', '1080p', or '4k'. Default '720p'. output_path: Optional local file path to save the generated MP4. use_browser_credits: If True (default), uses your logged-in Google Flow web session & credits.

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_reference_to_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYes
durationNo
resolutionNo720p
output_pathNo
aspect_ratioNo16:9
reference_imagesNo
reference_videosNo
use_browser_creditsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 behavioral burden. It usefully discloses that use_browser_credits draws on a logged-in Flow web session and credits, and that reference_videos are API-mode and output_path writes an MP4, but it omits authentication requirements, rate/cost limits beyond credits, and whether generation is synchronous or async.

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 purpose is front-loaded in one sentence, followed by a clean per-argument list that fits the eight-parameter surface. Some schema defaults are repeated, but the list remains readable and mostly earns its length.

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 an eight-parameter generation tool with no annotations and a present output schema, the description covers purpose, all inputs, defaults/enums, and some operational context like credits and API mode. It still lacks explicit sibling-routing guidance and operational details such as expected latency or failure modes, so it is strong but not fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, yet the description explains all eight parameters: what the prompt controls, that reference_images are local paths, that reference_videos are optional and API-mode, allowed aspect-ratio/resolution values, duration units, output_path behavior, and browser-credit semantics. This goes well beyond the bare schema titles and defaults.

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 description uses a specific verb and resource ('Generate a new video') and identifies the reference-based mode ('Ingredients to Video', guided by reference images). It distinguishes the tool from text-to-video or frames-to-video siblings by making reference images the core input.

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 implies the tool is for reference-guided generation, but never explicitly states when to use it over flow_text_to_video or flow_frames_to_video, nor when reference inputs are inappropriate. The usage condition is inferable from the purpose but not spelled out.

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