Skip to main content
Glama
GEON1999

Handle Figma MCP

by GEON1999

swap_style

Replace a Figma paint style everywhere it's used with a new style.

Instructions

Find all usages of a specific paint style and replace them with another style.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toStyleIdYesThe ID of the new style to use.
fromStyleIdYesThe ID of the style to replace.
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. While it states the replacement action, it does not mention whether the change is persisted immediately, whether it can be undone, or if any permissions are required. This is a significant gap for a mutation tool, as the agent cannot infer the side effects or reversibility.

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 a single, well-structured sentence that front-loads the primary action and resource. Every word earns its place, with no filler or repetition of schema information.

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?

This is a simple 2-parameter tool with no output schema, so the description does not need to detail return values. However, it lacks behavioral context such as scope (e.g., whether all usages across the entire document or just the current page) and potential safety implications. It is minimally sufficient but leaves room for more guidance.

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?

The schema covers 100% of parameters with clear descriptions, so the baseline is 3. The description adds the context of 'usages' (implying global scope) but does not provide additional syntax or format details beyond what the schema already offers. It does not compensate for any missing parameter explanation, but none is needed.

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 uses a specific verb ('find all usages and replace') with a clear resource ('paint style'), immediately conveying the global find-and-replace capability. This distinguishes it from sibling tools like 'apply_paint_style' (which likely applies a style to a selection) and 'get_styles' (which lists styles).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly establishes the context: use when you need to replace all occurrences of one paint style with another. However, it does not explicitly state when not to use it or mention alternatives, such as 'apply_paint_style' for targeted changes. It provides clear context but lacks explicit exclusions.

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/GEON1999/cursor-talk-to-figma-mcp-local'

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