Skip to main content
Glama

pull_design_system

Sync design tokens, components, and styles from Figma to your local registry. Run at session start or after designer changes.

Instructions

Pull the full design system from Figma into the local registry (tokens, components, styles).

Prerequisites: Figma bridge must be running and a plugin must be connected. Start with memi connect or memi daemon start if not already connected. Check bridge status first with check_bridge_health.

Returns on success: { tokens: number, components: number, styles: number, lastSync: ISO timestamp }

Error behavior: Throws "Figma not connected" if no plugin is connected. Network timeouts surface as bridge errors.

Use this tool: at the start of any session that touches design tokens or component styles, or after a designer has made changes in Figma that need to be reflected in code. After pulling, use get_tokens to inspect specific token values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully discloses behavior: return format (JSON with counts and timestamp), error cases ('Figma not connected', network timeouts as bridge errors), and prerequisites. This is comprehensive for a tool with no parameters.

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?

The description is well-structured with clear sections: purpose, prerequisites, return format, error behavior, and usage guidance. It is front-loaded with the main action and every sentence adds value. No redundancy.

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

Completeness5/5

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

Given zero parameters and no output schema, the description provides all necessary context: what the tool does, prerequisites, return structure, error handling, and when to use it. It is fully self-contained.

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?

No parameters exist, and schema coverage is 100%. The description adds no parameter-specific info, which is appropriate. Baseline for 0 parameters is 4.

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?

The description clearly states 'Pull the full design system from Figma into the local registry' with a specific verb and resource. It enumerates what is included (tokens, components, styles) and distinguishes from sibling tools like get_tokens and pull_design_system_rest.

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?

Provides explicit when-to-use guidance: 'at the start of any session that touches design tokens or component styles, or after a designer has made changes'. Also lists prerequisites (Figma bridge) and suggests checking bridge health first. Does not explicitly state when not to use or list all alternatives, but the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sarveshsea/memi'

If you have feedback or need assistance with the MCP directory API, please join our Discord server