Skip to main content
Glama

Create Empty Variant

create_variant

Creates an empty, named, inactive content-type variant. Does not generate or copy a design and counts against the plan's variant limit.

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. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare the generic safety profile (readOnly=false, destructive=false, idempotent=false); the description adds genuinely new behavior: the variant is created empty and inactive, no design is generated or copied, and the call consumes the plan's variant limit. That quota side-effect is exactly the kind of context an agent cannot get from structured fields. It stops short of stating permissions or whether creation is reversible.

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 short sentences, zero filler, with the most decision-relevant facts (empty, inactive, no design copy) front-loaded before the quota caveat.

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 and annotations cover safety, so the description only needs to convey creation semantics — which it does, including the empty/inactive nature and the plan-limit cost. It omits any pointer to the correct sibling for design-populated variants, a small remaining gap for a create tool with four siblings in the variant family.

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 60% and the two documented properties (projectId/generationId alias, setActive) carry rich, well-explained constraints. The description's 'named, inactive' wording loosely maps to label and setActive but adds no syntax, defaults, or requiredness information beyond the schema. Baseline 3 is 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 and resource with meaningful qualifiers: 'Creates an empty, named, inactive content-type variant.' The clause 'Does not generate or copy a design' implicitly separates it from duplicate_variant, but no sibling is named explicitly, so an agent must infer the routing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description never says when to choose this over duplicate_variant or how it relates to list_variants/set_active_variant. The only routing advice ('fill the variant, then call set_active_variant') lives in the setActive schema property, not in the description, leaving the prose with no usage guidance at all.

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.