Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

get_styles

Retrieve a Figma document's local styles—colors, text, effects, and grids—to inspect and reuse design assets.

Instructions

Get the document's local styles: colours, texts, effects and grids

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": "get_styles"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. 'Get' clearly signals a read-only, zero-parameter operation, and the enumeration of style categories adds real information about scope (local only). It does not say what the response looks like or whether styles are sorted/identified, which is a gap for a schema-less return.

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?

A single sentence, front-loaded with the verb and resource, with the category list compactly folded into a colon clause. No filler or redundancy.

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 zero-parameter read with no annotations and no output schema, the description covers what the tool fetches and the four style kinds, which is reasonable. However, with no output schema, the shape of the returned style objects (IDs, names, nesting per category) is left entirely undefined, so the agent cannot anticipate what it will receive.

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 no parameters, so there is nothing for the description to disambiguate. Baseline 4 applies; the enumeration of style types is a small bonus but not parameter-related.

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 ('Get the document's local styles') and enumerates the four categories returned: colours, texts, effects and grids. An agent can distinguish this from get_variables or get_local_components on the strength of 'styles' alone, though no sibling is named explicitly.

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 guidance and no alternative mentioned. The word 'local' implies a scope boundary (as opposed to library styles or variables), but the agent must infer that distinction rather than being told when to pick this over get_variables.

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