Skip to main content
Glama

Blitframe

Create variation

create_variation

Create a variation of a project: a head of its own that edits, imports, renders and render links can name, starting at fromVersionId (any version of the project), at fromVariation's head, or at main's head when both are left out. The project needs a version first. At most 10,000 variations per project, main included (variation_limit); a name it already has fails with variation_exists. A fromVersionId larger than the plan's project size (get_usage's limits.maxProjectBytes) and than every head of the project fails with project_too_large.

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>",
      "name": "<name>"
    },
    "name": "create_variation"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes1 to 100 letters, digits, '-', '_' or '.', starting with a letter or digit; kept in lower case.
projectIdYesProject id, from list_projects.
fromVariationNoStart at this variation's head, from list_variations. Not with fromVersionId.
fromVersionIdNoThe version of this project the variation starts at, from list_versions. Not with fromVariation.
idempotencyKeyNoMakes a retry safe: for 24 hours the same call with the same key returns the variation the first one created. The same key with different arguments fails with idempotency_key_reused while that variation exists; while the first is still running, idempotency_key_in_use.

Output Schema

NameRequiredDescriptionDefault
nameYes
createdAtYes
renderableYes
headVersionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / renderable
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "name",
      -  "headVersionId",
      -  "createdAt"
      -]New value: +[
      +  "name",
      +  "headVersionId",
      +  "createdAt",
      +  "renderable"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses the 10,000-variation cap, the precondition, and two specific failure modes with their error codes. It does not cover permissions/auth or whether the new variation inherits any state from the source head, which would be useful for a creation mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the verb and resource, and every clause carries information, but it is one dense run-on sentence and the phrase 'a head of its own that edits, imports, renders and render links can name' is grammatically tangled, forcing a re-read. The three starting-point options and the limit/error rules would read far better as separate sentences.

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?

An output schema exists, so return values need not be explained, and the description covers preconditions, quota, and failure codes for a 5-parameter mutation. Gaps are authorization requirements and any inheritance behavior from the source version, which matter for a create operation.

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 schema already documents name format, the fromVariation/fromVersionId mutual exclusion and idempotencyKey behavior. The description nonetheless adds the default head selection ('main's head when both are left out') and ties fromVersionId to the plan limit, which the schema does not express.

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 ('Create a variation of a project') and immediately defines what a variation is (a head that edits, imports, renders and render links can name), which distinguishes it from create_project and create_variation_batch. The error codes (variation_exists, project_too_large) further pin down its identity.

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?

Gives concrete selection semantics for the three starting points (fromVersionId, fromVariation's head, or main's head when both omitted) and a precondition ('The project needs a version first'). It does not name sibling alternatives such as create_variation_batch for bulk creation or delete_variation, so it stops short of full when/when-not routing.

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