Skip to main content
Glama
figma-mcp-v2

figma-mcp-v2

by LukasAnda

Get Figma file overview

figma_get_file
Read-onlyIdempotent

Lists a Figma file's pages and top-level frames, sections, and components with IDs and sizes. Start here when a link has no node-id, then pass a frame ID to design, code, or screenshot tools.

Instructions

Lists a file's pages and the top-level frames/sections/components on each, with ids and sizes. Start here when a link has no node-id, then pass a frame's id to figma_get_design / figma_get_code / figma_get_screenshot.

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": {
      "url": "<url>"
    },
    "name": "figma_get_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFigma link, e.g. https://www.figma.com/design/<fileKey>/<name>?node-id=12-345 (right-click a layer > Copy link to selection). A bare file key also works.
sourceNoWhere to read from. auto (default): Figma's viewer protocol (no token, no Dev Mode), then the REST API if FIGMA_TOKEN is set, then the plugin. web/rest/plugin force one.auto

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 readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered; the description adds useful behavior beyond that by describing what is actually returned (pages, top-level frames/sections/components, ids, sizes). It stops short of noting limits such as very large files or result truncation, which would matter for an overview call.

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?

Two short sentences, zero filler: the first states the output, the second states when to call it and where its ids go next. The entry-point guidance is front-loaded where an agent will see it.

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?

For a read-only overview tool with no output schema, the description covers purpose, return contents, and the follow-up chain, and the schema covers source-selection behavior. Minor residual gaps are scaling/limits and whether all pages or only the first are listed, but nothing essential to a correct call is missing.

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 description coverage is 100%, so the url format and the auto/web/rest/plugin fallback chain are already fully documented in the schema. The description adds no parameter-level meaning of its own, only workflow context, so the baseline of 3 applies.

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?

States a specific verb and resource ('Lists a file's pages and the top-level frames/sections/components on each') plus the returned fields ('with ids and sizes'), which clearly separates it from figma_get_design, figma_get_code, and figma_get_screenshot that operate on a single node.

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?

Gives an explicit entry condition ('Start here when a link has no node-id') and an explicit handoff ('then pass a frame's id to figma_get_design / figma_get_code / figma_get_screenshot'), naming the sibling tools that take over.

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