Skip to main content
Glama
sso-ss

figma-unified-mcp

by sso-ss

figma_create_path

Create vector paths from coordinate points for charts, curves, and shapes. Supports straight lines and smooth Catmull-Rom curves.

Instructions

Create a vector path from points. Much simpler than create_from_svg for charts, curves, and shapes. Supports straight lines and smooth (Catmull-Rom) curves.

Examples:

  • Line chart: points=[{x:0,y:80},{x:50,y:20},{x:100,y:60}], curveType="smooth"

  • Triangle: points=[{x:50,y:0},{x:100,y:100},{x:0,y:100}], closed=true, fillColor="#FF0000"

  • Sparkline: points=[{x:0,y:50},{x:25,y:10},{x:50,y:70},{x:75,y:30},{x:100,y:50}], curveType="smooth", strokeColor="#00FF00"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNo
yNo
nameNoPath
closedNoClose the path (connect last point to first)
pointsYesArray of {x, y} coordinates. Minimum 2 points.
parentIdNo
curveTypeNo"straight" for line segments, "smooth" for Catmull-Rom spline curvesstraight
fillColorNoFill color (useful for closed paths or area charts)
strokeColorNoStroke color, e.g. "#FF0000" or {r:1,g:0,b:0}
strokeWeightNo
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It mentions support for straight lines and smooth Catmull-Rom curves, and examples illustrate closure and colors, but it does not disclose details about node creation context, return values, or side effects beyond the obvious 'Create' statement.

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 well-structured and front-loaded: the first sentence states purpose, the second provides comparison, and the examples add practical context. It is concise enough for the tool's complexity without unnecessary filler.

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 10 parameters and no output schema or annotations, the description provides a good starting point with examples but omits return value information and leaves several parameters unexplained (e.g., parentId, name, strokeWeight). It is adequate but not comprehensive for an agent.

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?

The schema covers 50% of parameters, and the description adds meaning through concrete examples showing how to use points, curveType, closed, fillColor, and strokeColor. However, it does not explain parameters like name, parentId, strokeWeight, or the top-level x/y, relying on the schema partially.

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 tool creates a vector path from points, with a specific verb ('Create') and resource ('vector path from points'). It distinguishes itself from sibling 'create_from_svg' by noting it is 'Much simpler for charts, curves, and shapes,' providing clear scope.

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

Usage Guidelines4/5

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

The description gives explicit context that this tool is preferable to create_from_svg for charts, curves, and shapes, guiding the agent on when to choose it. However, it does not explicitly state when to use create_from_svg instead, so it lacks explicit exclusions.

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/sso-ss/figma-unified-mcp'

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