Skip to main content
Glama

Create Empty Variant

create_variant

Creates an empty variant in the selected project and counts against the plan's variant limit. The first variant for a content type becomes active automatically. Later variants are created inactive. Use this when the user wants an empty starting point.

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": {
      "contentType": "<contentType>"
    },
    "name": "create_variant"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
projectIdNoAlias of generationId (the project id).
setActiveNoNot supported: an empty active variant would replace what the hub shows and what render_screenshots exports. Fill the variant, then call set_active_variant.
contentTypeYes
generationIdNoProject id: the same UUID as projectId from list_projects/get_project (generationId is its legacy name). You may pass projectId instead.

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
messageNo
successYes
widgetDataJsonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / contentType / enum
      Previous value: -[
      -  "screenshots",
      -  "socialGraphics",
      -  "promoVideo",
      -  "mockups",
      -  "website"
      -]New value: +[
      +  "screenshots",
      +  "socialGraphics",
      +  "promoVideo",
      +  "website"
      +]
  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, the description discloses important side effects: the creation counts against the plan's variant limit, the first variant for a content type becomes active automatically, and later variants are created inactive. It does not explain what happens if the limit is already reached, but the core behavioral traits are surfaced.

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?

Three compact sentences front-load the core action, then add activation behavior and usage guidance. Every sentence earns its place and there is no redundant wording.

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 tool has output schema support and annotations covering its write profile, so the description focuses appropriately on when to use it and what side effects to expect. It is nearly complete, with the only notable omission being explicit failure behavior when the variant limit is exceeded.

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 coverage is moderate at 60%, and the schema itself explains projectId/generationId aliasing and why setActive is unsupported. The description does not add parameter-level meaning beyond the content-type activation rule. The enum values for contentType are left to 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 names a specific verb and resource: creates an empty variant in the selected project. It distinguishes this from related operations by emphasizing the empty starting point, which is meaningfully different from duplicating an existing variant. An agent can identify the intended operation without opening the 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?

It gives a clear usage condition: use this when the user wants an empty starting point. This implicitly contrasts with duplicating an existing variant, but it does not explicitly name that alternative or state exclusions. The guidance is solid but not fully comparative.

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.