Skip to main content
Glama
atezer

F-MCP (Figma MCP Bridge)

by atezer

figma_scan_ds_compliance

Read-only

Scan a completed Figma screen to verify design system compliance. Returns a pass/fail score with detailed coverage breakdown, hardcoded color and font samples, and overflow analysis.

Instructions

v1.9.4: FINAL GATE — Full DS compliance scan for a completed screen. Returns the same score + breakdown as figma_validate_screen PLUS: (1) coverage = granular bind percentages (fills/paddings/radius/itemSpacing/textStyle/textColor/strokes), (2) samples.hardcodedHex = up to 8 nodes with hardcoded SOLID colors, (3) samples.hardcodedFontSize = up to 8 text nodes with hardcoded fontSize (no textStyleId), (4) samples.primitiveFrames = up to 8 frames that should have been DS component instances, (5) overflow = root auto-layout overflow analysis (frameSize vs contentSize). If passed: false, Claude MUST fix listed violations before presenting the screen as complete. Threshold 85 default (stricter than validate_screen's 80) because this flags granular gaps. Read-only — never mutates the file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYesNode ID of the completed screen to audit
fileKeyNoTarget a specific connected file.
figmaUrlNoFigma file URL for routing.
thresholdNoPass threshold (0-100). Default 85. Below this, screen is non-compliant and must be fixed.
expectedDsNoExpected DS library name (e.g. '❖ My-DS')
Behavior5/5

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

Explicitly declares 'Read-only — never mutates the file', consistent with annotations. Discloses threshold behavior and return value structure (samples, overflow). No contradictions.

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?

Concise yet detailed, uses numbered list for clarity, front-loads purpose. Every sentence adds value with 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?

Covers tool purpose, behavior, return data (including samples and overflow), and usage instructions. No output schema needed given comprehensive description.

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 covers all 5 parameters with descriptions. Description adds minimal extra value (e.g., default threshold, expectedDs purpose). Baseline 3 is appropriate as schema does the heavy lifting.

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?

Description clearly states it performs a 'Full DS compliance scan for a completed screen' and lists specific return values (coverage, samples, overflow). It distinguishes from sibling figma_validate_screen by noting stricter threshold and granular gaps.

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?

States it's a 'FINAL GATE' for completed screens and instructs Claude to fix violations if passed: false. Implicitly differentiates from validate_screen via default threshold (85 vs 80). Lacks explicit when-not-to-use but 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/atezer/FMCP'

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