Skip to main content
Glama
yhoyoex

OpenCode Figma MCP

by yhoyoex

set_effects

Replace drop shadows, inner shadows, layer blurs, and background blurs on a Figma node. Pass an empty array to clear all effects.

Instructions

Replace the effects (drop/inner shadows, layer/background blur) of a node. Pass an empty array to clear all effects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYesID of the node
effectsYesEffects to set on the node, in order

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.9/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 disclosure burden. It does communicate the destructive replace semantics and the empty-array clearing behavior, which is meaningful, but says nothing about return values, error behavior for invalid nodes, or Figma quirks (e.g. only one drop shadow/inner shadow allowed per node).

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 short sentences, zero filler, with the core action front-loaded and the edge case (clearing) immediately following. Nothing should be removed.

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 two-parameter setter with no output schema and no annotations, the description covers what is set and the clearing case, but leaves the mutation's side effects and failure modes unaddressed. Adequate minimum, with clear gaps for an agent reasoning about a write operation.

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 and the effect object fields (baseline 3). The description adds semantics beyond the schema by explaining that an empty effects array clears all effects, a behavior not derivable from the schema alone.

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 a node') and enumerates exactly which effect kinds are covered (drop/inner shadows, layer/background blur). "Of a node" implicitly separates it from the effect-style siblings (create_effect_style, apply_effect_style), and the second sentence pins down the clear-all case.

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 empty-array instruction is a useful concrete usage rule, but there is no guidance on when to use this direct node setter versus apply_effect_style or create_effect_style, nor any prerequisites (e.g. which node types accept which effect kinds). Usage is implied rather than stated.

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