Skip to main content
Glama

create_effect_style

Destructive

Create a new local effect style for drop shadow, inner shadow, or blur. Set properties like type, color, radius, offset, and opacity.

Instructions

Create a new local effect style (drop shadow, inner shadow, or blur).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesStyle name e.g. 'Shadow/Card'
typeNoEffect type: DROP_SHADOW (default), INNER_SHADOW, LAYER_BLUR, or BACKGROUND_BLUR
colorNoShadow color as hex e.g. #000000 (default #000000, shadows only)
radiusNoBlur radius in pixels (default 8 for shadows, 4 for blurs)
spreadNoShadow spread in pixels (default 0, shadows only)
offsetXNoShadow X offset in pixels (default 0, shadows only)
offsetYNoShadow Y offset in pixels (default 4, shadows only)
opacityNoShadow color opacity 0–1 (default 0.25, shadows only)
descriptionNoOptional style description
Behavior3/5

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

Annotations already provide destructiveHint:true, so the description doesn't need to re-emphasize that. However, it adds no further behavioral insight (e.g., whether it overwrites existing styles, permissions needed, or document-level effects). The description is acceptable but does not go beyond the annotations.

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?

The description is a single concise sentence that efficiently communicates the tool's purpose. It is appropriately front-loaded but could benefit from a slight expansion for completeness.

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?

Given the tool has 9 parameters and no output schema, the description is insufficient. It does not explain the return value, effect on the document, or any side effects (e.g., the style is added to the current document's local styles). The complexity is not matched by the description's brevity.

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 100%, so the description does not need to explain parameters further. The baseline score of 3 is appropriate as the description adds no additional parameter meaning beyond what the schema already provides.

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 clearly states the action ('Create'), the resource ('local effect style'), and explicitly lists the supported types ('drop shadow, inner shadow, or blur'), fully distinguishing from sibling tools like create_paint_style.

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 use this tool versus alternatives among the many creation sibling tools. No mention of prerequisites, context, or situations where this tool is preferred.

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/vkhanhqui/figma-mcp-go'

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