Skip to main content
Glama
FigeloMCP
by mmonzera

create_svg

Converts an SVG markup string into editable vector nodes in Figma, enabling placement, sizing, and positioning within a chosen frame or channel.

Instructions

Create vector nodes from an SVG markup string.

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_svg"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
svgYesValid SVG markup string
nameNo
widthNo
heightNo
channelNoOptional Figma document channel, fileKey, or documentName when multiple Figma files are open
parentIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
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. It does not say where the nodes land (current page? parentId? selection?), whether the operation is destructive or additive, what happens on invalid markup, or how the 'channel' affects targeting when multiple files are open.

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 single sentence is front-loaded and waste-free, but brevity here comes at the cost of under-specification rather than economy of expression.

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?

With 8 parameters, no annotations, and no output schema, the description should explain placement, scaling, and multi-document targeting. Returning the created node IDs is also unstated, which matters for chaining into group_nodes or set_auto_layout.

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 only 25%: only 'svg' and 'channel' carry schema descriptions. The description mentions the SVG string but adds nothing about x/y, width/height, name, or parentId — notably whether width/height scale the artwork or set a new frame size, and whether parentId defaults to the current selection.

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?

States a specific verb and resource ('Create vector nodes') plus the input form ('from an SVG markup string'), which distinguishes it from sibling primitives like create_rectangle or create_frame. It is clear what the tool produces, though it does not name alternatives explicitly.

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 guidance on when to use this versus batch_create or the individual create_* primitives, and no mention of prerequisites such as an active Figma document or selection context. The agent must infer placement and routing from parameter names alone.

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