Skip to main content
Glama

Blitframe

Create many variations

create_variation_batch

Create up to 1,000 variations of a project in one call, each made from the same source version with its own partial edit, such as one per language or per market. The source is fromVersionId, the head of fromVariation, or main's head when both are left out; it stays as it is. Every row is checked first, its name, replacements and uploads included; if any is refused, nothing is queued and the error names it as variations[i]. A name the project already has fails with variation_exists. Each upload can be named by one row only. At most 10 batches per workspace wait or run at once (batch_limit). Returns the queued batch: call get_variation_batch with waitSeconds until its status is finished, cancelled or failed, and render each new variation by its name.

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": {
      "projectId": "<projectId>",
      "variations": "<variations>"
    },
    "name": "create_variation_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYesProject id, from list_projects.
variationsYesOne row per variation to create.
fromVariationNoStart every variation from this variation's head, from list_variations. Not with fromVersionId.
fromVersionIdNoThe version of this project every variation starts from, from list_versions. Not with fromVariation.
idempotencyKeyNoMakes a retry safe: for 24 hours the same call with the same key returns the batch the first one queued. The same key with different arguments fails with idempotency_key_reused while that batch exists; while the first is still running, idempotency_key_in_use.

Output Schema

NameRequiredDescriptionDefault
idYes
errorYes
totalYes
failedYes
statusYes
createdAtYes
projectIdYes
succeededYes
finishedAtYes
variationsYes
sourceVersionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / variations / items / properties / replacements / items / properties / justify
      Added value: +{
      +  "description": "Text layers only: the paragraph alignment, such as right for Hebrew or Arabic text.",
      +  "enum": [
      +    "left",
      +    "center",
      +    "right"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations (which only say it's a non-destructive, non-idempotent write): atomic validation ('if any is refused, nothing is queued'), the error shape (variations[i]), the variation_exists failure, the one-upload-per-row rule, and the per-workspace concurrency cap of 10 batches. The described idempotencyKey is an opt-in retry guard and does not contradict idempotentHint=false.

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 purpose, then atomicity, then source, then follow-up — a sensible order with little waste. It is dense to the point of terseness in places ('it stays as it is'), and a couple of clauses pack two rules into one sentence.

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 five-parameter batch mutation with an output schema, the description still covers everything an agent needs before calling: validation failure mode, source defaults, concurrency ceiling, and the exact next call. Nothing material is left to inference.

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 the baseline is 3; the description earns above that by stating the source-resolution default that the schema never gives — fromVersionId, else fromVariation's head, else main's head — and by tying the batch_limit and upload-uniqueness constraints to the actual parameters.

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, resource and scale ('Create up to 1,000 variations of a project in one call') and immediately pins the semantics that separate it from single-variation creation: all rows share one source version plus a per-row partial edit. An agent can tell this is the bulk path without opening any schema.

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?

Establishes the bulk-creation context and, unusually, the follow-through: 'call get_variation_batch with waitSeconds until its status is finished, cancelled or failed'. What's missing is an explicit pointer back to create_variation for the single case, so selection between the two is inferred from 'in one call' rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources