Skip to main content
Glama
atezer

F-MCP (Figma MCP Bridge)

by atezer

figma_get_library_variables

Read-only

Retrieve variables from Figma team libraries with import keys, enabling programmatic import into target files without connecting the source library.

Instructions

List variables from team library collections with import keys. Uses figma.teamLibrary API — works in the TARGET file, no need to connect the DS source file. Returns variable name, key (for importVariableByKeyAsync), resolvedType, collection, and library name. Use the returned keys with figma_bind_variable or figma.variables.importVariableByKeyAsync() in figma_execute.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
figmaUrlNoFigma file URL for routing.
fileKeyNoTarget a specific connected file.
queryNoFilter variables by name (case-insensitive contains)
collectionNameNoFilter by collection name (exact match)
libraryNameNoFilter by library name (exact match, e.g. '❖ SUI')
limitNoMax results (default 100)
Behavior4/5

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

Annotations already declare readOnlyHint=true. The description adds context: 'works in the TARGET file, no need to connect the DS source file', clarifying operational scope and no side effects. It does not contradict annotations.

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 sentences, no redundant information, and the key action (list variables) is front-loaded. Every sentence adds value.

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?

Given no output schema, the description lists return fields (name, key, resolvedType, collection, library name). It mentions the API and target file context, but could optionally discuss prerequisites (e.g., team library availability) or limit behavior.

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 100%, so the baseline is 3. The description does not add meaning beyond the schema descriptions; it simply restates filtering parameters without additional context.

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 lists variables from team library collections with import keys, distinguishing it from siblings like figma_get_variables (which likely focuses on local variables). It specifies the API used and key return fields.

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 explains how to use the output (keys for figma_bind_variable or importVariableByKeyAsync), but does not explicitly contrast with alternatives or state when not to use this tool. However, the guidance is clear and actionable.

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