Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

set_corner_radius

Set a Figma node’s corner radius on all four corners or only selected corners by specifying the node ID, radius value, and optional corner flags.

Instructions

Set a node's corner radius, on all corners or the chosen ones

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": {
      "nodeId": "<nodeId>",
      "radius": "<radius>"
    },
    "name": "set_corner_radius"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYesThe ID of the node to modify
radiusYesCorner radius value
cornersNoOptional array of 4 booleans to specify which corners to round [topLeft, topRight, bottomRight, bottomLeft]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. "Set" implies mutation, but nothing is said about required permissions, what happens on nodes that do not support corner radii, idempotency, or units of the radius value — all meaningful gaps for a mutation tool with zero annotation coverage.

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?

A single front-loaded sentence with no filler; the trailing clause about corner selection is the only elaboration and it is relevant. Nothing could be removed without losing meaning.

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?

The tool is simple (3 params, no nested objects, no output schema) and the schema is fully documented, so the description is minimally adequate. It still omits node-type applicability and mutation side effects, which matter given the absence of 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%, including the [topLeft, topRight, bottomRight, bottomLeft] ordering for corners, so the baseline is 3. The description's "all corners or the chosen ones" loosely maps to the optional corners array but adds no format or unit detail beyond the schema.

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?

The description states a specific verb and resource ("Set a node's corner radius") and clarifies the scope (all corners or a chosen subset). It is unambiguous on its own, but it gives no cue to distinguish it from the many sibling set_* mutators, so it falls short of a 5.

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?

There is no explicit when-to-use guidance, no prerequisites (e.g. node types that support corner radius), and no mention of alternatives. The phrase "on all corners or the chosen ones" hints at the optional-corners variant but is a capability statement rather than usage guidance.

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