Skip to main content
Glama
neozhehan

Figma Edit MCP

by neozhehan

set_bound_variable

Bind a variable to a node's property to manage its value, or set a variable's mode in a collection to switch between design variants.

Instructions

Bind a variable to a node's property or set explicit variable mode

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYesThe ID of the node to modify
nodeNameYesName of the node to modify
fieldNoThe property field to bind (e.g. 'fills', 'width', 'fontName')
variableIdNoThe ID of the variable to bind. Pass null/undefined to unbind.
collectionIdNoIf setting mode: The collection ID
modeIdNoIf setting mode: The mode ID to set for the collection
Behavior2/5

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

No annotations are present, so the description must carry the full disclosure burden. It states the tool modifies node properties but does not mention side effects (e.g., unbinding previous variables), permissions, or state changes. This is insufficient for a mutation tool.

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 a single concise sentence that covers both use cases. It could be improved by front-loading the primary action, but it is not verbose.

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

Completeness2/5

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

Given the complexity (two modes, 6 parameters) and lack of output schema/annotations, the description is too brief. It does not explain return values, error conditions, or prerequisites like node existence. The description alone leaves agents underinformed.

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?

The input schema has 100% coverage with parameter descriptions. The description adds the overarching distinction between binding and mode setting, which clarifies the relationship between parameters like 'variableId' (binding) vs 'collectionId' and 'modeId' (mode setting). This adds meaningful semantics beyond 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 clearly states the tool's purpose: binding a variable to a node's property or setting explicit variable mode. It uses specific verbs ('Bind', 'set') and resources ('variable', 'node property'), distinguishing it from siblings like 'manage_variables' or 'set_fill_color'.

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

Usage Guidelines3/5

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

The description mentions two modes (binding vs mode setting) but provides no guidance on when to use this tool over alternatives, such as 'manage_variables' or direct property setters. It lacks explicit when-to-use or when-not-to-use instructions.

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

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/neozhehan/figma-edit-mcp'

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