Skip to main content
Glama

create_effect_style

Creates or updates a named drop-shadow effect style in Figma by defining shadow color, offset, blur, spread, and inner/outer settings.

Instructions

Create (or update by name) a drop-shadow effect style.

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": {
      "name": "<name>",
      "shadows": "<shadows>"
    },
    "name": "create_effect_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoTarget file (fileKey, id or name). Defaults to the most recently active file.
nameYes
shadowsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations, so the description carries the full burden, and it discloses little beyond the upsert-by-name behavior. It does not say whether an update replaces the entire shadow list, what permissions or file state are needed, or what happens when the name collides across scopes — all material for an unannotated mutation tool.

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 no filler, and the upsert nuance is placed inline where it matters. It is efficient, though it borders on underspecified rather than genuinely concise for a required-array mutation tool.

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

Completeness2/5

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

For a mutation tool with no annotations, no output schema, and two-thirds of its parameters undocumented, the description leaves too much unstated. An agent cannot tell what the call returns, whether updates merge or replace shadows, or what errors a name collision produces.

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 33%, with only 'file' documented in the schema. The description adds real meaning for 'name' by explaining it doubles as the update key, but the required 'shadows' array — its per-shadow fields and the minItems=1 constraint — is left entirely to self-describing names.

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 plus resource: create (or update by name) a drop-shadow effect style. The resource type distinguishes it from create_paint_style and create_text_style without needing to name them, since the style family is explicit. It falls short of 5 only because it doesn't explicitly contrast the upsert behavior against a separate update tool.

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?

No guidance on when to choose this over the sibling style creators or over apply_style, and no prerequisites or exclusions stated. The parenthetical 'or update by name' hints at a use case but does not tell the agent when that path applies versus creating fresh.

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