Skip to main content
Glama
Talk to Figma MCP

Talk to Figma MCP

by thanatusdev

set_opacity

Adjust a Figma node's opacity between 0 and 1 to make elements transparent or fully opaque.

Instructions

Set the opacity of a node in Figma (0-1)

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": {
      "nodeId": "<nodeId>",
      "opacity": "<opacity>"
    },
    "name": "set_opacity"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYesThe ID of the node to modify
opacityYesOpacity value (0-1, where 0 is fully transparent and 1 is fully opaque)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It implies a mutation but says nothing about whether the node must be unlocked, whether child nodes inherit effective opacity, or whether the change is undoable in Figma's history.

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?

A single short sentence with the range front-loaded in parentheses. No waste, nothing buried.

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?

For a two-parameter, no-annotation mutation tool this is minimally sufficient, but with no output schema and no annotation safety profile, the description should at least note that it mutates document state and what constraints apply to the target node.

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 100% and both parameters are fully described in the schema, including the 0-1 bounds and the transparent/opaque endpoints. The description's '(0-1)' merely repeats that. Baseline 3 applies since the schema does the heavy lifting.

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 gives a specific verb and resource ('Set the opacity of a node in Figma') and adds the value range. It is clear but does nothing to separate it from siblings such as set_blend_mode or set_visibility, which are also per-node visual property setters.

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?

No guidance on when to use this versus set_blend_mode, set_fill_color alpha, or set_visibility, and no prerequisites (e.g., node must exist, parent opacity compounds). The agent must infer usage entirely from the name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.