Skip to main content
Glama
atezer

F-MCP (Figma MCP Bridge)

by atezer

figma_scan_ds_compliance

Read-only

Audit a completed Figma screen for design system compliance. Returns score, coverage percentages, hardcoded color/font samples, and overflow analysis to flag violations requiring fixes.

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

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

Annotations indicate readOnlyHint=true, which description matches. Description goes further by detailing returned data (coverage, samples, overflow) and explaining threshold difference. No annotations are contradicted.

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?

Description is dense but well-structured with bulleted returns. Each sentence adds value. Could be slightly more concise, but it's effectively front-loaded and clear.

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?

Despite no output schema, description fully explains all return data (score, breakdown, coverage, samples, overflow). Covers behavior on failure and read-only nature. Complete for a scan tool.

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 baseline 3. Description adds value for threshold: explains default (85) and why it's stricter than validate_screen. No new info for other params beyond schema, but this extra context justifies a 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?

Description states tool is a 'Full DS compliance scan for a completed screen' with specific result extras (coverage, samples, overflow) that distinguish it from sibling figma_validate_screen. It also notes a stricter default threshold (85 vs 80).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says 'Read-only — never mutates the file' and instructs Claude to fix violations if passed: false. The 'FINAL GATE' label implies it's the last check. No contradictions or missing guidance.

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