Skip to main content
Glama
figma-mcp-v2

figma-mcp-v2

by LukasAnda

Import SVG as layers

figma_create_from_svg

Creates vector layers in Figma from SVG markup, converting icons or illustrations into editable design elements.

Instructions

Creates vector layers from SVG markup (icons, illustrations).

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": {
      "svg": "<svg>"
    },
    "name": "figma_create_from_svg"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
svgYes
urlNoFigma link (or file key) of the file to edit. Needed only when the plugin is open in more than one file.
nameNo
parent_idNoParent frame/group/page id; defaults to the current page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), so the description's main added value is that the output is vector layers rather than a flat image. It says nothing about the fact that repeated calls create duplicate layers (non-idempotent), how x/y placement is applied, that a Figma URL is needed when multiple files are open, or whether the SVG is parsed/validated. For a mutation tool these are meaningful gaps 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?

A single short sentence, front-loaded with the verb and resource, with no filler. It is efficient, though the terseness leaves the definition under-specified rather than genuinely complete.

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?

This is a six-parameter mutation tool with no output schema and only one-third schema description coverage, yet the description is one clause long. An agent cannot learn placement semantics, duplicate-call behavior, or default parent from it. Relative to the tool's complexity, the description is substantially incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33% across six parameters; 'url' and 'parent_id' are documented in the schema, while svg, x, y, and name are not. The description mentions only the SVG input implicitly and adds no meaning about coordinate placement, default parent (current page), or naming behavior. It fails to compensate for the low coverage.

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 names a specific verb and resource — 'Creates vector layers from SVG markup' — which tells an agent exactly what input it needs (SVG source) and what comes out (editable vector layers, not a raster image). The parenthetical '(icons, illustrations)' scopes the typical use case. It does not explicitly contrast itself with figma_create_node or figma_create_component, leaving the SVG-specific distinction to the tool name.

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

Usage Guidelines3/5

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

Usage is only implied: the '(icons, illustrations)' hint and the requirement for SVG markup suggest importing small vector assets. There is no statement of when to prefer this over figma_create_node or figma_create_instance, and no prerequisites or exclusions are given. An agent can infer the context but receives no explicit routing guidance.

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