Skip to main content
Glama

Fast image batch via Flow's agent

flow_agent_images

Batches up to 50 image scenes through Flow's Agent mode for parallel rendering with shared character and place references, then delivers finished originals as a single ZIP into one collection.

Instructions

Hand up to 50 image scenes to Flow's own Agent mode, which renders them all in parallel (minutes for a whole batch instead of one paced job per scene) and enriches each prompt itself. Images only, 0 credits. Pass references (characters, places, objects, each with a short name) to attach them once in the agent's composer, the way its + button does, and scene_references to say which scenes use which, so a whole story stays on-model. Scenes the agent drops are asked for again, then made one by one with their references. The finished images are moved into one Flow collection (-) and downloaded as ONE ZIP of originals, not one by one; if that download stops, the job fails without making anything again and flow_download with collection fetches them. Less exact than flow_generate: the agent picks the wording, no techniques, and each image is matched back to its scene by its stored prompt. Returns a job id; use flow_wait.

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": {
      "project": "<project>",
      "scenes": "<scenes>"
    },
    "name": "flow_agent_images"
  }
}

Input Schema

NameRequiredDescriptionDefault
scenesYesOne image description per scene, in order.
projectYesFolder name for the downloaded images.
referencesNoReference images for the whole batch (characters, places, objects), attached once in the agent's composer like the + button does, so every scene stays on-model. Pair with scene_references to say which scenes use which.
aspect_ratioNo16:9
download_qualityNo
scene_referencesNoOne list per scene, in scene order: the reference names that scene uses (empty list for none). Without it the agent decides which references fit each scene.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag non-readonly, open-world, non-idempotent, non-destructive, so the bar is lower, yet the description goes well beyond: parallel rendering, automatic re-asking of dropped scenes, per-scene fallback with references, output moved into a named collection (<folder>-<job id>), and a single ZIP of originals. It stops short of stating cost/auth expectations or what happens on a partial retry failure.

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?

Front-loaded with the purpose and the speed/credits payoff, and every sentence carries operational detail. It is a single dense paragraph with some run-on clauses (download failure handling, per-scene fallback) that could be split for scanability.

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

Completeness5/5

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

For a six-parameter async job tool with no output schema, the description supplies the return value (job id), the follow-up tool (flow_wait), and the concrete artifacts produced (a Flow collection plus one ZIP). Nothing an agent needs to invoke and then retrieve results is missing.

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

Parameters4/5

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

Schema coverage is 67%, and the description meaningfully explains how `references` and `scene_references` interact (attach once in the composer like the + button, then map references to scenes) and the default when `scene_references` is omitted. `aspect_ratio` and `download_quality` are left to their enums, which are largely self-explanatory.

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 (hand up to 50 image scenes to Flow's Agent mode for parallel rendering) and explicitly differentiates from the sibling flow_generate by calling itself 'less exact'. An agent knows exactly what it gets and what it gives up.

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

Usage Guidelines5/5

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

Gives explicit conditions: images only, 0 credits, use flow_wait on the returned job id, and use flow_download with `collection` if the ZIP download stops. It also names the alternative (flow_generate) and the trade-off that selects it.

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