Skip to main content
Glama
figma-mcp-v2

figma-mcp-v2

by LukasAnda

Insert an image

figma_insert_image

Insert images into Figma from local paths, HTTPS URLs, or base64 as new rectangles, or fill existing layers by node ID.

Instructions

Places an image (from a local file path, an https URL, or base64) as a new rectangle, or as the fill of an existing layer (node_id).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "figma_insert_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
urlNoFigma link (or file key) of the file to edit. Needed only when the plugin is open in more than one file.
nameNo
widthNo
base64No
heightNo
node_idNoFill this existing layer instead of creating a rectangle
image_urlNo
parent_idNoParent frame/group/page id; defaults to the current page
image_pathNo
scale_modeNoFILL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.1/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false, which already covers safety. The description adds the useful fact that an existing layer's fill gets overwritten when node_id is supplied (a mildly destructive side effect), but doesn't explain source precedence between image_path/image_url/base64, nor default sizes when width/height are omitted.

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?

One dense, front-loaded sentence with no filler. Parenthetical source list and node_id mention are well placed, though a second sentence on input precedence would be better use of space than cramming everything into a single clause.

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?

A 12-parameter mutation tool with no output schema and only 25% schema coverage needs far more: default placement/size behavior, which image source wins when several are supplied, how scale_mode applies, and what gets returned. The description covers the core intent but not enough to call it confidently.

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 25%, so the description must compensate. It does explain how base64, image_path and image_url feed the image, and that node_id switches to fill mode, but it leaves 9 parameters undocumented: x, y, width, height, name, parent_id, scale_mode, and the source precedence among the three image inputs.

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?

Specific verb (places) and resource (image), and it names both operation modes: create a new rectangle or fill an existing layer. It doesn't distinguish itself from siblings like figma_create_from_svg or figma_create_node, so it falls short of a 5.

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?

The description explains the two modes and the node_id trigger for fill mode, which is implicit guidance. It gives no explicit when-to-use vs alternatives (e.g., when to use this instead of figma_create_from_svg or figma_create_node), no prerequisites about needing an open plugin file, and no notes on constants like scale_mode.

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