Skip to main content
Glama

set_effects

Apply shadow and blur effects to a Figma node. Specify color and offset for shadows, radius for blurs. Returns status and node ID.

Instructions

Set a node's effects. Shadows (DROP_SHADOW / INNER_SHADOW) need color + offset; blurs need radius. Returns { ok, nodeId }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYesFigma node id to apply effects to
effectsYesEffects to apply
Behavior3/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses the return format `{ ok, nodeId }`, which is useful since no output schema exists. However, it does not state whether setting effects replaces existing effects, whether shadows require a visible flag, or any permission requirements. The return value adds some transparency, but key behavioral details are missing.

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?

The description is two sentences, front-loaded with the primary verb and resource. The first sentence states the action, the second clarifies parameter requirements and the return value. There is zero wasted text.

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?

Given the tool's complexity (two parameters, one being a nested array), the description plus schema covers the essentials: what the tool does, required parameter details, and return value. It lacks explicit mention of behavior like replacing existing effects, but the provided information is sufficient for an agent to select and call the tool correctly in most cases.

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 baseline is 3. The description adds meaningful information beyond the schema by clarifying that shadows need color + offset and blurs need radius. This is especially valuable because the schema lacks a description for the radius field, making the description's clarification necessary for correct invocation.

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?

The description starts with a specific verb and resource: 'Set a node's effects.' It clearly distinguishes this from sibling tools like set_fills or set_text by naming the effect types (DROP_SHADOW, INNER_SHADOW, LAYER_BLUR, BACKGROUND_BLUR). The scope is unambiguous.

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 context of use is implied: it applies effects to a node. However, it does not explicitly state when to use this tool versus alternatives like set_reactions or set_fills, nor does it mention any exclusions or prerequisites. There is clear functional context but no direct comparison with sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/awdr74100/figwright'

If you have feedback or need assistance with the MCP directory API, please join our Discord server