Skip to main content
Glama

set_variant

Modify component sets in Figma by creating, adding, renaming, deleting, organizing, or batch processing variants/properties. Supports single or batch operations for efficient design updates.

Instructions

Create, add, rename, delete, organize, or batch create variants/properties in a component set (single or batch).

Returns: Array of result objects for each operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
variantNoA single variant operation to perform.
variantsNoAn array of variant operations to perform in batch.
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the tool performs various mutation operations but doesn't specify permissions needed, whether operations are destructive, error handling, or rate limits. The return format is briefly mentioned but lacks detail on what 'result objects' contain.

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?

The description is appropriately concise with two sentences that efficiently cover the tool's capabilities and return value. It's front-loaded with the core functionality. However, the first sentence is somewhat dense with multiple action verbs, which slightly affects readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (multiple mutation operations, batch capability) and absence of both annotations and output schema, the description is moderately complete. It covers what the tool does and the return type but lacks details about behavioral aspects, error conditions, and specific usage scenarios that would be needed for full completeness.

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 description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds minimal value beyond the schema by listing the action types and mentioning batch operations, but doesn't provide additional context about parameter usage or relationships between parameters.

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?

The description clearly states the tool's purpose with specific verbs ('create, add, rename, delete, organize, or batch create') and resources ('variants/properties in a component set'), making it easy to understand what the tool does. However, it doesn't explicitly differentiate from sibling tools like 'get_variant' or 'set_variable', which would be needed for a perfect score.

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 provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, when to choose single vs. batch operations, or how it relates to sibling tools like 'get_variant' or 'set_variable'. This leaves the agent without context for appropriate tool selection.

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

Related 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/amalinakurniasari/conduit'

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