Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_get_libraries

figma_get_libraries

Retrieves local components, styles, variables, fonts, pages, and file metadata from a live Figma file to inspect design context and available assets.

Instructions

Get local components, styles, variables, fonts, pages, and file metadata.

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

Input Schema

NameRequiredDescriptionDefault
nodeIdNo
includeAvailableFontsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses almost none of it: nothing about whether this is read-only (implied only by 'Get'), what happens when nodeId is omitted vs supplied, whether the call is expensive/rate-limited, or what the payload looks like across six heterogeneous resource categories. 'file metadata' is particularly opaque about whether it returns the whole document.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, which is good, but that brevity is achieved by omission rather than by economy. The resource list reads as an undifferentiated enumeration with no hierarchy or priority cues.

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?

This is a broad aggregate tool with two undocumented parameters, no annotations, and no output schema to clarify return shape. For that complexity the description is significantly under-specified — it should at minimum say whether all six resource families are always returned and how nodeId and includeAvailableFonts change the result.

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

Parameters2/5

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

Schema description coverage is 0%, so the description needed to define both parameters. It never mentions nodeId or includeAvailableFonts; only the word 'fonts' faintly hints at the latter. An agent cannot tell from this text whether nodeId scopes the result to a subtree or is required for any of the listed resources.

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?

The description uses a clear verb ('Get') and enumerates the concrete resources returned: local components, styles, variables, fonts, pages, and file metadata. However, it makes no attempt to distinguish this aggregate call from the many specialized siblings (figma_get_local_components, figma_get_styles, figma_get_variable_defs, figma_get_fonts, figma_get_pages, figma_get_metadata), so the agent cannot tell whether this is a union or something different.

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?

There is no guidance on when to call this bundled tool versus the single-resource siblings, no statement about prerequisites (auth/scope, whether it reads the currently open file), and no exclusions. The agent must guess, and guessing wrong means fetching far more data than needed or duplicating a parallel call.

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