Skip to main content
Glama
arimunandar

figsnap-mcp

by arimunandar

Set or clear a stroke

figma_set_stroke
Destructive

Replace a Figma node’s strokes with a solid color, set stroke weight and opacity, or remove all strokes. Designed for borders and outlines.

Instructions

Replaces a node’s strokes with one solid colour, and optionally sets the stroke weight. Pass remove: true to take the stroke off entirely. Borders in Figma are strokes, not fills — a row outline or an icon drawn as an outline needs this rather than figma_set_fill.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorNoHex colour, like "#1e88e5". Omit only with remove.
nodeIdYesThe node to stroke.
removeNoRemove every stroke instead of setting one.
weightNoStroke weight in pixels. Left alone when omitted.
opacityNoStroke opacity, 0 to 1. Default 1.
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already signal mutability and destructiveness, and the description adds useful behavioral detail: replacing all existing strokes rather than appending, and removing the stroke entirely with remove: true. This goes beyond the annotations without contradicting them.

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?

Three sentences with no filler: the main behavior, the removal mode, and the key alternative are each front-loaded and useful. Every sentence earns its place.

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?

The description is nearly complete for a 5-parameter mutation tool with rich schema coverage. It covers the primary behavior, the remove variant, and the fill-vs-stroke distinction. It doesn't describe return values or side effects on unmentioned stroke properties, but those are minor given the schema and annotations.

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 description coverage is 100%, so the schema already documents color, nodeId, remove, weight, and opacity. The description adds conceptual meaning around stroke-as-outline and the role of remove, but doesn't substantially extend parameter-level semantics beyond the schema.

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 names a specific verb and resource: 'Replaces a node’s strokes with one solid colour'. It also explicitly distinguishes strokes from fills and from figma_set_fill, so an agent can tell this tool apart from the closest sibling.

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

Usage Guidelines5/5

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

The description gives direct when-to-use guidance: 'a row outline or an icon drawn as an outline needs this rather than figma_set_fill'. It also explains the remove: true case for clearing strokes, giving clear conditions for both configuration modes.

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

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/arimunandar/figsnap-mcp'

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