Skip to main content
Glama
the-real-talk

the-real-talk

set_effects

Replace a Figma node's effects with drop shadow, inner shadow, layer blur, or background blur; optionally bind shadow color and other values to variables.

Instructions

Replace the effects of a node: drop shadow, inner shadow (color optionally bound to a variable), layer blur, background blur.

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
nodeIdYes
effectsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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, and it does disclose the key destructive trait: 'Replace' signals the existing effect stack is overwritten, not appended. It says nothing about ordering, the 8-effect cap, or whether an empty array clears effects, so the safety picture is only partly drawn.

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?

A single front-loaded sentence with the verb and target first and the effect list trailing. Efficient, though the parenthetical variable note interrupts the enumeration slightly.

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?

For a two-parameter tool whose real complexity lives in the nested effect objects, the description covers the core operation and enumerates the effect kinds. Missing are the replacement/ordering semantics for the array and how an empty list is treated, which an agent would need before calling it safely.

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 0%, so compensation is needed; the description does add meaning by naming the effect types allowed and noting that the inner-shadow color can be variable-bound, which maps to colorVariable and the other *Variable fields. It leaves offset, radius, spread, visible, blendMode, and the radius/spread/offset variable bindings entirely unexplained.

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 and resource ('Replace the effects of a node') and enumerates the four effect types it handles, which separates it from sibling setters like set_paints or set_stroke_color. It does not explicitly name a sibling it competes with, keeping it short of a 5.

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 guidance on when this should be used versus a paint/stroke/style tool, nor any note on prerequisites such as required node types or plugin edit permissions. The only implied usage comes from the word 'node' and the effect type list.

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