Skip to main content
Glama

Set effects

figma_set_effects
Idempotent

Replace or remove drop shadows, blurs, noise, texture, and glass effects on Figma nodes via Figxel, validating each effect before applying changes.

Instructions

Replace the effects of nodes: drop shadow, inner shadow, layer blur, background blur (either blur can ramp with progressive), noise, texture and glass. An empty effects array removes them all. Every entry is validated before any node changes, and a field of another effect type is refused. To apply a named effect style use figma_apply_style_to_node. Returns per-item results: { updated, items: [{ id, ok, error? }] } — one node failing does not fail the call. Editors: Design; unverified: FigJam, Slides.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
effectsYesEffects in Figma's order.
nodeIdsYesNodes to change.
sessionNoOptional sessionId or file name, to pick a Figma file when more than one is connected.
idempotencyKeyNoCaller-owned retry key, ≤128 chars. Re-calling with the same key never executes twice: it returns the existing result, or waits for the op still in flight. Supply your own for anything large — if the MCP client times out (rather than the bridge), only a key you chose can be used to retry safely.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already disclose a non-read-only, idempotent update. The description adds substantive behavior beyond that: empty array removes all effects, validation happens before any node change, fields from other effect types are refused, per-item results isolate failures, and editor support is noted.

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?

Front-loads the action and effect list, then compactly covers removal semantics, validation, style alternative, return shape, and editor support. Every sentence carries useful information, and the return-shape sentence is especially valuable because no output schema exists.

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

Completeness5/5

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

For a complex effects-replacement tool, the description covers purpose, validation behavior, partial-failure semantics, alternative style application, supported editors, and the return shape. With the fully documented schema and annotations, an agent has enough context to call the tool correctly.

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%, so all parameter names, defaults, ranges, and nested progressive details are already documented in the schema. The description only restates that progressive can ramp blurs and lists effect types, adding little parameter meaning beyond the structured 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?

States a specific verb and resource: 'Replace the effects of nodes,' and enumerates the supported effect kinds. It also routes named effect styles to figma_apply_style_to_node, distinguishing this tool from style-creation and style-application siblings.

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

Usage Guidelines4/5

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

Explicitly says to use figma_apply_style_to_node for named effect styles and frames the tool as replacing node effects. It does not fully state when not to use this versus sibling property setters such as figma_set_fills or figma_set_strokes, so it is clear but not complete when/when-not routing.

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

Deploy Server

Other Tools