Skip to main content
Glama
neozhehan

Figma Edit MCP

Create Node from SVG

create_svg

Create a node in Figma from an SVG markup string, specifying parent node and optional position.

Instructions

Create a node from an SVG markup string.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNoX position
yNoY position
svgYesThe SVG XML string
nameNoName for the new node
parentIdYesParent ID to append to
parentNodeNameNoParent Name to verify against

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the created node
nameYesName of the created node
Behavior2/5

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

The description is minimal and does not disclose behaviors like authentication requirements, error handling on invalid SVG, or side effects such as modifying existing nodes. Annotations provide only openWorldHint, which is vague.

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?

The description is a single sentence without wasted words. It is concise, though it could benefit from front-loading key constraints like the SVG format requirement.

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?

Given the tool has 6 parameters, 2 required, and an output schema, the description is adequate but lacks explanation of relationships (e.g., parentId vs parentNodeName) or usage context. The output schema likely covers return values, keeping completeness moderate.

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 covers all 6 parameters with descriptions, achieving 100% coverage. The description adds no extra semantics beyond what the schema already provides, so baseline score of 3 is appropriate.

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 clearly states the action (create) and the resource (a node from SVG markup). It distinguishes from siblings like create_shape, create_text, etc., which require different input formats.

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?

No guidance on when to use this tool vs alternatives, such as create_shape or create_component. The description does not mention prerequisites or context for using SVG input.

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

Install Server

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/neozhehan/figma-edit-mcp'

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