Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_get_local_components

figma_get_local_components

Lists all components defined in a Figma file across every page, grouping variants under their component sets and including property definitions.

Instructions

List components defined in this Figma file (all pages). Variants are grouped under their component set, with property definitions.

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_get_local_components"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose useful behavior: variants are nested under their component set and property definitions are included. It is silent on read-only guarantees, response size/pagination for large files, and what happens when no components exist.

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?

Two short sentences, front-loaded with the scope constraint and followed by the grouping detail; nothing is padded. The parenthetical '(all pages)' is slightly awkward but earns its place by removing ambiguity about page-level filtering.

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, so the description must hint at the return shape, and it does so by stating that variants are grouped under component sets with property definitions. What is still missing is any sense of the per-component fields or volume, but for a zero-parameter listing tool this is close to sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing to disambiguate; the baseline of 4 applies. The description correctly does not invent parameter narrative and instead spends its words on scope and result shape.

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?

States a specific verb and resource ('List components defined in this Figma file') plus an explicit scope ('all pages'), which is more than a restatement of the name. It does not name a sibling such as figma_get_libraries or figma_get_document to sharpen the local-vs-library distinction, so it stops 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 Guidelines3/5

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

The word 'local' combined with 'this Figma file' implies the intended context (enumerating components in the currently open file), but there is no explicit when-to-use, when-not-to-use, or pointer to get_libraries for shared/published components. Guidance is inferable rather than stated.

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