Skip to main content
Glama
Figma Vector MCP

Figma Vector MCP

by workingmodel

create_vector_from_svg

Create fully editable vector nodes on a Figma canvas from SVG strings, including paths, shapes, and groups.

Instructions

Place a fully editable vector node on the Figma canvas from an SVG string. Supports any valid SVG including paths, polylines, polygons, circles, and groups. The created node is fully editable in Figma.

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": "create_vector_from_svg"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
svgYesComplete SVG string including <svg> wrapper
nameNoLayer name
parentIdNoParent frame/group node ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the key outcome (an editable vector node is placed on the canvas) and the SVG coverage, which is real behavioral context. However, it says nothing about positioning semantics, where the node is parented when parentId is omitted, whether a Figma document/channel connection is required, how invalid SVG is handled, or what the call returns (no output schema exists to cover that gap).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The capability is front-loaded in a strong opening sentence, but the third sentence ("The created node is fully editable in Figma") merely repeats "fully editable" from sentence one, and the middle sentence's primitive list overlaps with the sibling tools. It is short but contains one clearly redundant sentence.

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?

For a 5-parameter mutation tool with no annotations and no output schema, the description is too thin on the details an agent needs to call it correctly: coordinate semantics, parenting behavior, connection prerequisites, error behavior, and the returned node reference are all absent. It covers what the tool does but not how to invoke it safely or what to expect back.

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 coverage is 60%, with x and y left undocumented in the schema, so the description should be compensating for those. Instead it mentions no parameters at all: no explanation of the coordinate space for x/y, of parentId's default behavior when omitted, or of name defaults. It adds zero meaning beyond what the schema already declares.

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 gives a specific verb and resource ("Place a fully editable vector node on the Figma canvas from an SVG string"), and the input format itself separates it from the shape-specific siblings like create_path and create_rectangle. It stops short of naming any alternative explicitly, so an agent must infer which sibling to prefer when it has a raw path or rectangle rather than SVG.

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: "from an SVG string" tells the agent this is the SVG-input path, and the list of supported primitives (paths, polylines, polygons, circles, groups) hints it should be preferred over the individual primitive tools for compound artwork. There is no explicit when-to-use, when-not-to-use, or named alternative, so the agent gets context but no routing rule.

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