Skip to main content
Glama

flow_generate_image

Generate images on Google Flow through browser automation using selectable models, aspect ratios, and reference images. Set auto_confirm to preview a prompt first or confirm and download the result.

Instructions

Generate image (fast, no screenshots, no re-read). auto_confirm=false: prepare only. auto_confirm=true: generate and download. Models: Nano Banana 2 Lite (default fastest), Pro, Nano Banana 2, Imagen 4.

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

Input Schema

NameRequiredDescriptionDefault
brandNoBrand context for automatic model selection: premium, standard.
modelNoModel to use: Nano Banana 2 Lite (default, fastest, 0 credits), Nano Banana Pro, Nano Banana 2, or Imagen 4.Nano Banana 2 Lite
ratioNoAspect ratio: 1:1, 16:9, 9:16, 4:3, 3:4.1:1
promptYesThe text prompt for image generation.
campaignNoCampaign identifier for project matching (e.g., "ete-2026", "nouvelle-collection").
auto_confirmNo⚠️ CRÉDITS. Si false (défaut): prépare seulement, ne consomme rien. Si true: vérifie que le mode Image est actif, PUIS clique Generate (consomme des crédits).
project_nameNoName for the project (will reuse existing project with same campaign, or create new).
reference_imagesNoPaths to reference images (optional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does disclose the key trait: a two-phase workflow where auto_confirm=false prepares only and auto_confirm=true actually generates and consumes credits. It also signals speed ('fast, no screenshots, no re-read'), though it omits where the download lands and what happens on model-unavailable or auth failures.

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?

It is front-loaded and very short, with the credit-relevant auto_confirm behavior stated early. The parenthetical '(fast, no screenshots, no re-read)' is terse and slightly cryptic without context, which keeps it from a 5.

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 8-parameter tool with full schema coverage and no output schema, the description covers the essential decision point (prepare vs generate-and-consume-credits) and the model options. Remaining gaps — output location, model selection via 'brand', and failure behavior — are partly handled by the schema, so it is nearly complete.

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 every parameter is already documented, making 3 the baseline. The description restates the model list and the auto_confirm semantics (partially duplicating the schema, which documents auto_confirm in French), adding little beyond it for brand, campaign, project_name, or reference_images.

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 opens with a specific verb+resource ('Generate image') and names the models supported, which cleanly separates it from flow_generate_video and the other siblings. It does not explicitly name or contrast with any alternative tool, so it stops just short of a 5.

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?

Usage is implied rather than stated: an agent can infer this is the tool for producing images, and the auto_confirm explanation clarifies the two execution modes. There is no explicit 'use this instead of X when Y' guidance against flow_use_tool, flow_generate_video, or flow_screenshot.

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