Skip to main content
Glama

Batch Generate

batch_generate

Generate multiple images in parallel from a list of text prompts, applying shared model, quality, aspect ratio, and output format settings for batch creation.

Instructions

Generate multiple images in parallel from a list of prompts.

Input Schema

NameRequiredDescriptionDefault
modelNoModel to use for all generations (optional)
promptsYesList of text prompts (1-10)
qualityNoQuality preset (fast, balanced, quality)
aspect_ratioNoAspect ratio for all images (default: 1:1)1:1
output_formatNoOutput format for all images (default: png)png

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.4

TDQS

A3.5/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 behavioral burden. It does disclose one meaningful trait — parallel execution — which affects latency and error-handling expectations, but says nothing about partial failures, per-prompt error reporting, cost/rate implications, or whether shared model/quality settings apply to all outputs.

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?

A single front-loaded sentence with no filler; the parallel/batch nature is stated first, which is the key decision-relevant fact.

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?

An output schema exists, so return values need not be described. However, for a batch mutation-style tool with zero annotations and five parameters, the absence of any statement about partial-failure behavior or per-prompt result mapping leaves a real gap for an agent deciding whether to batch or loop over generate_image.

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 all five parameters including the prompts array, model, quality preset, aspect ratio, and output format are already documented inline. The description only echoes that generation is driven by a prompt list and adds no constraints or format detail beyond the schema, making the baseline 3 appropriate.

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?

States a specific verb ('Generate'), resource ('images'), and distinguishing scope ('multiple ... in parallel from a list of prompts'). This implicitly separates it from the sibling generate_image, but it never names that sibling, so the differentiation requires the agent to infer it.

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 only implied: 'a list of prompts' suggests batching rather than one-off generation, but there is no explicit 'use generate_image for a single image' routing, no guidance on batch size (1-10 lives only in the schema), and no mention of when a batch is a poor choice.

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