Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

set_effects

Replace a Figma node's effects with drop/inner shadows, layer/background blur, or Liquid Glass by specifying node ID and ordered effect list; pass an empty list to remove all effects.

Instructions

Replace a node's effects with drop or inner shadows, layer or background blur, or Liquid Glass

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>",
      "effects": "<effects>"
    },
    "name": "set_effects"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYesThe node's ID
effectsYesEffects in order; [] removes them all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the behavioral burden, and it does disclose the most important trait: this is a destructive full replacement of existing effects, not an additive change. It says nothing about permissions, reversibility/undo, or how the different effect types interact when combined in one call.

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 front-loaded sentence that names the action and the full range of accepted effect types with zero filler. Nothing could be removed without losing information.

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 mutation tool with no annotations and no output schema, the description covers what is being changed but omits clearing behavior, ordering semantics, and any safety/permission context. The rich schema compensates for parameter detail, but the behavioral framing is thinner than the tool's destructive nature warrants.

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 nodeId and the per-type effect fields (color, radius, offset, spread, glass-specific depth/refraction/dispersion/lightAngle) are already documented in the schema. The description merely echoes the type enum and adds no extra meaning about ordering or per-type required fields.

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 ('Replace') and resource ('a node's effects') and enumerates the effect categories it accepts (drop/inner shadow, layer/background blur, Liquid Glass). That is enough to distinguish it from fill/stroke/corner-radius siblings, though it never names an alternative tool explicitly.

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?

There is no when-to-use or when-not-to-use guidance and no prerequisites (e.g. whether the node must be selected, or that this overwrites rather than appends). The only usage signal is the implied overwrite semantics of the word 'Replace'; the fact that an empty array clears all effects lives in the schema, not the description.

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