Skip to main content
Glama

queue_batch

Queue a workflow with multiple override variants, run them concurrently, and collect all images in one response. Supports up to eight variants per call.

Instructions

Queue a workflow with N override variants (different seeds, prompts, LoRAs, etc.), wait for all to complete in parallel, and return all images in a single response. Max 8 variants per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesWorkflow filename, e.g. flux_krea_realism.json
variantsYesArray of override objects, one per variant. Each variant takes the same fields accepted by queue_workflow's overrides.
timeout_sec_perNoMax wait per variant in seconds (default 180)
Behavior4/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. It discloses key behaviors: waits for all variants in parallel, returns all images in a single response, and enforces a max of 8 variants. It does not cover timeout/error behavior, but the timeout_sec_per parameter addresses per-variant timeout.

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?

Two sentences with zero waste: the first states the action and outcome, the second enforces a limit. Front-loaded and easy to scan.

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?

The core functionality is well-covered: queueing, parallel wait, single-response return, and max limit. No output schema exists, but the description states return type. Missing details like partial failure behavior are minor given the straightforward purpose.

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 100%, so baseline is 3. The description adds meaning beyond the schema by explaining variants as override objects (seeds, prompts, LoRAs, etc.) and adding the max 8 variants constraint not present in the schema.

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 has a specific verb 'Queue' and resource 'workflow with N override variants', clearly distinguishing it from sibling queue_workflow by emphasizing parallel execution and single-response image collection. It states exactly what the tool does.

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 clearly implies use for batched variants with parallel waiting, and context from siblings (queue_workflow) indicates this is for multi-variant jobs. However, it does not explicitly state when NOT to use it or name alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bernardogv/comfyui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server