Skip to main content
Glama
Figma Cache Design MCP

Figma Cache Design MCP

by Sasha-Zayets

cache_design

Stores Figma pages, sections, or blocks in a local disk cache so get_outline and get_block can retrieve them later without Figma API calls.

Instructions

Downloads one or more Figma designs (whole pages, sections, or individual blocks/parts) and stores them in the local MCP disk cache so that get_outline and get_block can work with them (and any nested child blocks) later without calling the Figma API. Provide at least one of: desktop, mobile, url, or urls.

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

Input Schema

NameRequiredDescriptionDefault
urlNoSingle Figma link with node-id without a specific viewport label
urlsNoMultiple Figma links with node-id (whole pages, sections, or individual blocks)
mobileNoFigma link to the mobile version (page or block) with node-id
desktopNoFigma link to the desktop version (page or block) with node-id
refreshNoForce refresh from Figma API instead of reading from local cache

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the key behavior that data is persisted to local disk and that later calls read from cache rather than the API. It omits auth requirements (Figma token), whether existing cache entries are overwritten or merged, API rate/quota cost, and what happens on partial failure.

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

Conciseness4/5

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

The purpose is front-loaded in the first clause, and the second sentence delivers the calling constraint with no filler. It is slightly dense in the opening sentence (three parenthetical scope clarifications) but nothing is wasted.

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 5-parameter, no-annotation, no-output-schema tool, the description covers purpose, persistence, and the input constraint, but leaves out what the call returns (cached identifiers, counts, status), auth prerequisites, and overwrite semantics — gaps an agent must guess at.

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?

Schema coverage is 100%, so per-parameter meaning is already documented. The description still adds a cross-parameter constraint the schema cannot express: 'Provide at least one of: desktop, mobile, url, or urls', which is essential since the schema lists zero required parameters.

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?

States a specific verb and resource ('Downloads one or more Figma designs ... stores them in the local MCP disk cache') and names the downstream consumers (get_outline, get_block), so an agent can place it precisely in the workflow. The scope (whole pages, sections, or individual blocks/parts) is also specified.

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?

Explains the context in which this is needed: to let get_outline and get_block work later 'without calling the Figma API', which implies when to invoke it. It does not mention when to skip it (e.g., already-cached content vs. refresh) or reference siblings like clean_cache/list_cache for cache management.

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