Skip to main content
Glama

Create vector

figma_create_vector
Idempotent

Draw custom shapes in Figma from SVG path data: blobs, dividers, arrows, logos, chart lines. Set fill, stroke, and size for editable designs.

Instructions

Draw any shape from SVG path data — a blob, a wave divider, a custom arrow, a logo mark, a chart line. path is the d of an SVG (M L H V C S Q T A Z, absolute or relative). width/height scale it (one keeps its proportions). Give stroke without fill for an open line. For a whole SVG file (an icon) use figma_import_svg. Editors: Design; unverified: FigJam, Slides.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNo
yNo
fillNo
nameNo
pathYese.g. "M0 40 C 60 0, 120 80, 180 40 L180 80 L0 80 Z".
widthNo
heightNo
sizingNoHow it sizes, as in Figma's panel: { "horizontal": "fill" } to take the parent column's width; "hug" fits content; "fixed" keeps the number.
strokeNo
sessionNoOptional sessionId or file name, to pick a Figma file when more than one is connected.
parentIdNo
strokeWeightNo
idempotencyKeyNoCaller-owned retry key, ≤128 chars. Re-calling with the same key never executes twice: it returns the existing result, or waits for the op still in flight. Supply your own for anything large — if the MCP client times out (rather than the bridge), only a key you chose can be used to retry safely.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false). The description adds editor-compatibility context (Design verified; FigJam/Slides unverified), which is genuinely behavioral and not in the annotations. It does not, however, describe placement/parenting behavior or what happens with the created node beyond creation.

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?

It is front-loaded with the core purpose, then progressively adds parameter guidance, the alternative tool, and editor support. Every sentence carries distinct, non-redundant information with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description never claims to explain return values, which is appropriate. For a 13-parameter mutation tool with only 31% schema coverage it still leaves positioning/parenting and sizing semantics unexplained, but it covers purpose, key parameters, alternative routing, and editor scope well enough to call the tool correctly in the common case.

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 coverage is only 31%, so the description is expected to compensate. It does add real meaning for `path` (SVG `d` syntax and the allowed command letters), `width`/`height` scaling with aspect-ratio preservation, and stroke/fill interaction. But with 13 parameters, several (x, y, name, sizing, session, parentId, strokeWeight) get no semantic help, leaving the coverage gap only partially filled.

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 states a precise verb+resource - drawing an arbitrary shape from SVG path data - and illustrates it with concrete use cases (blob, wave divider, arrow, logo mark, chart line). It explicitly differentiates from the sibling figma_import_svg, so an agent can pick between the two without opening either schema.

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

Usage Guidelines5/5

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

It gives an explicit alternative with the condition that selects it: 'For a whole SVG file (an icon) use figma_import_svg.' It also states a usage rule for stroke-vs-fill ('Give `stroke` without `fill` for an open line') and notes which editors are verified vs unverified, so both the routing and the applicability are covered.

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

Deploy Server

Other Tools