Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FIGMA_TOKENNoA Figma personal access token; or set FIGMA_CLIENT_ID and FIGMA_CLIENT_SECRET
KIT_CACHE_DIRNoWhere file snapshots are kept (default ~/.kit/cache)
FIGMA_CLIENT_IDNoClient id of your own Figma OAuth app, to sign in through the browser
FIGMA_CLIENT_SECRETNoClient secret of your own Figma OAuth app

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
read_outlineA

Start here. Pages, sections and screens (top-level frames) of a file with ids, names and sizes; screen contents are not expanded. Cheap: text only.

read_frame_textA

Visible text of screens or any nodes, in reading order, joined by " · ". The cheapest way to know what a screen shows: prefer it to renders. Header/footer text repeated across 3+ screens is printed once.

read_searchA

Find screens by text or layer name (case and accent insensitive). Returns matches grouped by screen with ids, to read next with read_frame_text.

read_commentsA

Comment threads of a file, newest first, each with the screen it is pinned to. Filter by node ids to get only comments on those nodes or inside them.

read_structureA

Layer tree of a node for implementing it: one line per layer with size, auto layout, fills, strokes, radius, text style and component. Hidden layers skipped. Bounded by depth and node count.

read_stylesA

List a file's design tokens: local variables per collection with a value per mode, Figma styles (colors, text, effects, grids) with their values, and components and component sets with keys. Use it before implementing or editing, to reuse tokens and to get a componentKey for write_create; for the styles of one node, use read_structure. Variables need the kit bridge plugin in the file: without it the answer says so and lists the rest.

read_renderA

Picture of one node. Costly: an image stays in context for the rest of the conversation (~1.4K tokens at 1024px). Use only for layout questions text cannot answer; render the smallest child that shows it, not whole screens. Live (edits show at once) when the kit bridge plugin runs in the file.

read_bridgeA

Status of the kit bridge plugin, which editing needs: the files open in Figma with the plugin running, their current page, the selected nodes (ids to read or edit "what I selected"), and the round trip time.

write_propsA

Change texts and properties of existing nodes, several in one call (one undo step). Answers with the changed nodes only. Needs the kit bridge plugin running in that file (read_bridge).

write_createA

Create nodes under a parent (default: the current page): FRAME, SECTION, RECTANGLE, ELLIPSE, TEXT, COMPONENT, COMPONENT_SET (its children are COMPONENT variants named "Prop=Value, Other=Value"), or INSTANCE of a component (componentKey from read_styles, or componentId). Nest children to build a whole tree in one call. Needs the kit bridge plugin running in that file (read_bridge).

write_commentA

Post a comment on a file, pinned to a node, or reply to a thread. Works without the plugin. Needs the file_comments:write token scope.

delete_nodesA

Delete nodes (one undo step in Figma). Needs the kit bridge plugin running in that file (read_bridge).

exec_runA

Run JavaScript in the plugin with the full Figma Plugin API (figma), for what the other tools cannot do. The body of an async function: return a small JSON-serializable value, not nodes. Keep each call small (a few hundred nodes); build big designs in several calls. Needs the kit bridge plugin running in that file (read_bridge).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 13 tools

Disambiguation4/5

The read_* family is clearly differentiated by target: outline (page map), search (find by text), structure (layer tree), frame_text (cheap visible text), render (image), styles (tokens), comments, and bridge status. The only soft overlaps are read_frame_text vs read_render vs read_search (all answer 'what does this screen show'), which the descriptions explicitly rank in cost/use, and exec_run, which by design can do anything but is framed as the last resort.

Naming Consistency4/5

Consistent snake_case with a readable read_/write_ prefix convention that maps to side-effect-free vs mutating calls. Minor deviations: delete_nodes uses no prefix despite being a mutation, and exec_run doesn't fit the read_/write_ scheme, weakening the prefix's meaning slightly.

Tool Count5/5

13 tools sits comfortably in the well-scoped range. Each tool earns its place: cheap text-first readers, a bounded render, targeted writers, and one escape hatch, with no redundant near-duplicates.

Completeness4/5

Read coverage is thorough (pages, screens, text, structure, tokens, comments, renders) and mutation covers create, edit props, delete, comment, plus exec_run for anything else. Gaps remain: no dedicated move/reorder, no creation or editing of design tokens/styles/variables (only reading them), and no comment resolution/delete, though exec_run largely backstops these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues