Skip to main content
Glama
Figma Vector MCP

Figma Vector MCP

by workingmodel

set_effect

Apply drop shadow, inner shadow, layer blur, or background blur to a Figma node. Overwrite existing effects with REPLACE mode or add new ones with APPEND to build layered styling.

Instructions

Apply effects (drop shadow, inner shadow, layer blur, background blur) to a node. Use mode REPLACE (default) to overwrite all effects, or APPEND to add to existing ones.

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_effect"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoREPLACE overwrites all existing effects (default). APPEND adds to the existing effects array.REPLACE
nodeIdYesFigma node ID
effectsYesOne or more effects to apply

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the important destructive trait: REPLACE overwrites all existing effects. It says nothing about permissions, what happens with unsupported node types, or error behavior, which matters for a mutation tool with zero annotation coverage.

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?

Two sentences, front-loaded with the operation and its scope, then the mode semantics. Nothing is redundant with respect to the task of choosing and calling the tool.

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

Completeness4/5

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

The tool is a simple setter with 100% schema coverage and no output schema, so the description need not explain returns. It covers effect types and the destructive default, leaving only edge cases (invalid node, unsupported node types) undocumented.

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?

Schema coverage is 100%, so the schema already documents nodeId, mode, and the nested effect properties. The description adds a little by spelling out the REPLACE default semantics and the add-vs-overwrite consequence in plain language, though it largely restates the schema's mode description.

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?

Names a specific verb ('Apply') and resource ('effects ... to a node') and enumerates the four supported effect types, so the agent knows exactly what this tool produces. It stops short of naming a sibling to contrast with, but effect-setting is clearly distinct from the set_* property setters around it.

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 second sentence gives real guidance on REPLACE vs APPEND, but that is parameter-level guidance rather than tool-selection guidance. There is no statement of when to prefer this tool over, say, apply_style or which node types accept effects, so usage is only implied.

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