Skip to main content
Glama
atezer

F-MCP (Figma MCP Bridge)

by atezer

figma_validate_screen

Read-only

Validate a Figma screen against design-system discipline criteria. Returns a compliance score across instance coverage, token binding, and auto-layout coverage to identify non-compliant screens.

Instructions

Validate a screen against design-system discipline criteria. Returns a compliance score (0-100) across 3 dimensions: instance coverage (library usage), token binding coverage (bound variables), and auto-layout coverage. Use this AFTER creating a screen to verify DS compliance. If score < minScore, Claude should delete the screen and rebuild it using DS components + token bindings. v1.9.4: breakdown now always includes coverage (granular fills/paddings/radius/itemSpacing/textStyle bind ratios) + overflow (root auto-layout overflow). For hardcoded samples + primitive fallback list, use figma_scan_ds_compliance instead. 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 screen to validate
expectedDsNoExpected DS library name (e.g. '❖ SUI') for library match scoring
minScoreNoMinimum acceptable score (0-100). Below this, the screen is considered non-compliant.
Behavior5/5

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

Discloses that the tool is read-only and never mutates the file, consistent with annotations. Adds detail about the output structure (breakdown includes coverage and overflow) and the post-processing guideline, enhancing transparency.

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 comprehensive yet well-structured, with no wasted words. It front-loads the main purpose and includes version info, alternative tool, and usage instructions efficiently.

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 the 5 parameters, 1 required, and no output schema, the description fully explains what the tool returns (compliance score, breakdown dimensions) and provides context for usage and behavior, making it complete for an agent.

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% with descriptions, but the tool description adds context (e.g., expectedDs for library match scoring, minScore meaning, nodeId as the screen). This goes slightly beyond schema definitions, justifying 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?

The description clearly states the tool validates a screen against design-system criteria and returns a compliance score across 3 dimensions. It distinguishes itself from the sibling tool figma_scan_ds_compliance by specifying when to use each.

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 tells when to use: 'AFTER creating a screen to verify DS compliance.' Also provides a conditional action for when score < minScore, and directs when to use the sibling tool instead.

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