Skip to main content
Glama
atezer

F-MCP (Figma MCP Bridge)

by atezer

figma_enumerate_published_components

Read-only

Enumerate published components from a Figma library without the file being open. Filter by name substring to manage large libraries and prevent context overflow.

Instructions

List published COMPONENT + COMPONENT_SET of a library via the Figma REST API. Works WITHOUT the library file being open in plugin — use when the DS library is subscribed in the target file but library tabs aren't open. Requires figma_set_rest_token (one-time). v3.4+ RESPONSE SHAPE: items are compact by default ({name, key, kind}) — descriptions stripped to keep responses <10KB. Pass filter to search by name substring; large libraries (1000+ components) REQUIRE filter to avoid context overflow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax items returned. Default 200. Hard cap 500 to prevent context overflow.
filterNoSubstring filter on component name (case-insensitive). Use for libraries with many components (1000+): e.g. filter='button'.
libraryFileKeyYesLibrary file key. Extract from URL: figma.com/design/<FILE_KEY>/...
includeDescriptionNoInclude component description text (can be very long — 10KB+ per item). Default false.
Behavior5/5

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

Annotations indicate readOnlyHint=true and destructiveHint=false. The description adds valuable context: response shape is compact by default, descriptions stripped to keep <10KB, and large libraries (1000+) require filter to avoid overflow. No contradictions.

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?

Single paragraph, front-loaded with purpose, no wasted words. Every sentence adds value. Efficient and clear.

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

Completeness5/5

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

Despite no output schema, the description explains response shape and version (v3.4+). Covers all key aspects: purpose, usage, parameters, limitations. Very complete for this tool.

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?

Schema coverage is 100% with decent descriptions. The description adds extra meaning: explains limit hard cap (500), filter's substring nature, libraryFileKey extraction, and includeDescription warning about length. Adds value beyond schema.

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 uses a specific verb ('List') and resource ('published COMPONENT + COMPONENT_SET of a library via the Figma REST API'), clearly distinguishing it from siblings like figma_enumerate_library_components. It also notes the tool works without the library file being open.

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?

Explicitly states when to use: when library is subscribed but tabs aren't open. Mentions prerequisite (figma_set_rest_token) and gives guidance for large libraries (use filter). Lacks explicit alternatives but still clear.

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/atezer/FMCP'

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