Skip to main content
Glama

batch_generate

Generate multiple Gemini Omni Flash videos in parallel batches for storyboards, resolution or aspect-ratio comparisons, and reference-guided variations.

Instructions

Generate multiple Gemini Omni Flash videos in conservative parallel batches.

Use for storyboards, aspect-ratio or resolution comparisons, or reference-guided variations. Batch size defaults to configuration and is capped at 4 because video jobs are long. The JSON response includes per-prompt video.path, interaction_id, metadata, and errors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNo
promptsYes
deliveryNo
batch_sizeNo
resolutionNo
aspect_ratioNo
enhance_promptNo
reference_image_pathsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.3
    • removedInput schema / properties / duration_seconds
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null
      -}
    • addedInput schema / properties / resolution
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  2. First observedv1.0.2

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It adds important context by stating that batch size defaults to configuration and is capped at 4, and that video jobs are long. It also mentions the JSON response includes per-prompt outputs and errors. However, it omits operational details such as runtime expectations, failure handling beyond 'errors', or the impact of the batch cap. This is useful but incomplete for a tool with zero annotation coverage.

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 description is three sentences, front-loaded with the core action, followed by use cases, and ends with a brief note on defaults and return format. Every sentence earns its place with no redundancy.

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

Completeness3/5

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

The output schema exists, so the description need not detail return values, though it briefly mentions the JSON response structure. However, with eight parameters and zero schema descriptions, the description leaves significant gaps in what each parameter means and how to use them. For a batch generation tool with no annotations, more context on parameter usage and failure modes would be expected.

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 0%, so the description must compensate. It explains batch_size defaults and capping, which adds meaning beyond the schema for that parameter. It also references 'reference-guided variations' and mentions 'aspect-ratio or resolution comparisons' hinting at aspect_ratio and resolution parameters, but it does not explain the other parameters (task, prompts format, enhance_prompt, reference_image_paths, delivery). Baseline for low coverage would require full compensation; the description partially compensates but leaves most parameters undocumented.

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 clearly states the action (generate multiple videos in parallel batches) and the resource (Gemini Omni Flash videos). It names the sibling tool only implicitly by contrasting 'multiple' with the single-video context of generate_video. The purpose is specific enough that an agent can distinguish this as a batch version of video generation, though it doesn't explicitly say to use the sibling for single prompts.

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 description gives concrete use cases (storyboards, aspect-ratio or resolution comparisons, reference-guided variations), which clearly indicate when this tool is appropriate. It does not explicitly say when not to use it or name generate_video as the alternative for single videos, so it falls short of a 5.

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