Skip to main content
Glama
Figma Design Pipeline

Figma Design Pipeline

by spfr

figma_get_styles

List all published styles in a Figma file, including colors, text, effects, and grids, using the REST API. Extract the file key automatically from a Figma URL to retrieve design tokens.

Instructions

List all published styles (colors, text, effects, grids) in a Figma file. Uses REST API.

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

Input Schema

NameRequiredDescriptionDefault
figmaUrlNoFigma design URL (e.g., 'https://www.figma.com/design/ABC123/File-Name?node-id=1817:2817'). Extracts file key and node ID automatically. Once set, persists for the session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

B3.3/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. It does add one genuinely useful behavioral fact — 'Uses REST API' — which hints at token/auth requirements and that only published (not local/draft) styles are visible, but it says nothing about read-only safety, rate limits, or failure modes.

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 with zero filler, and the resource scope is front-loaded ahead of the implementation note. Nothing here is redundant with the tool name alone.

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

Completeness3/5

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

For a simple read tool this is close to adequate — scope and style types are clear and the parameter is covered by the schema. However, with no output schema and no annotations, the description gives no hint of the return shape (style keys, names, node IDs) or of the auth prerequisite implied by 'REST API'.

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 single figmaUrl parameter is already fully documented, including the extraction of file key/node ID and session persistence. The description adds no further meaning about the parameter, which is acceptable at this coverage level but not additive.

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 states a specific verb and resource ('List all published styles') and enumerates the style types covered (colors, text, effects, grids), which is more than the bare name. It does not explicitly distinguish itself from siblings like figma_get_components or figma_extract_tokens, 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 Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no alternative tool is named. The only navigational cue is the word 'published', which implies a scope restriction but leaves the agent to infer how this differs from the token-extraction or component siblings.

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