Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_lint_design

Run WCAG accessibility and design-quality checks on a Figma page or node and return categorized, severity-ranked findings for contrast, sizing, touch targets, tokens, components, naming, and layout.

Instructions

Run accessibility (WCAG) and design quality checks on the current page or a specific node tree. Checks color contrast ratios (variable-aware — resolves token bindings to actual colors), non-text contrast (SC 1.4.11), text sizing, touch targets, hardcoded values, detached components, naming conventions, and layout quality. Returns categorized findings with severity levels. Use natural language like 'check my design for accessibility issues' or 'lint this page'. Requires Canvas Bridge plugin.

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

Input Schema

NameRequiredDescriptionDefault
rulesNoRule filter: ['all'] (default), ['wcag'], ['design-system'], ['layout'], or specific rule IDs like ['wcag-contrast', 'wcag-non-text-contrast', 'detached-component']
nodeIdNoNode ID to lint (defaults to current page)
maxDepthNoMaximum tree depth to traverse (default: 10)
maxFindingsNoMaximum findings before stopping (default: 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the check categories, that contrast checking is variable-aware (resolves token bindings to actual colors), the return shape ('categorized findings with severity levels'), and a hard environmental prerequisite (Canvas Bridge plugin). It does not explicitly confirm the operation is read-only or note limits on the node tree size, which keeps it short of a 5.

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?

Front-loaded with the purpose in the first sentence, then evidence, then the return shape and prerequisite. The long comma-separated list of checks is informative rather than filler, though the natural-language phrasing examples are the weakest sentence and could be trimmed without loss.

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

Completeness4/5

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

For a 4-parameter, zero-required lint tool with no output schema, the description covers purpose, scope, check taxonomy, return format, and the plugin prerequisite. What an agent needs to invoke it correctly is present; only explicit read-only/mutation semantics and output field details are absent.

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 description coverage is 100%, so all four parameters (rules, nodeId, maxDepth, maxFindings) are already documented in the schema. The description only echoes the page-vs-node scoping and does not add syntax or defaulting details beyond what the schema states, so the baseline 3 applies.

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 ('Run accessibility (WCAG) and design quality checks') and scopes it to the current page or a node tree. It then enumerates the concrete check families (contrast ratios, SC 1.4.11 non-text contrast, text sizing, touch targets, hardcoded values, detached components, naming, layout), which makes it clearly distinguishable from siblings like figma_check_design_parity or figma_get_design_system_summary.

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?

Gives usable framing with example natural-language phrasings ('check my design for accessibility issues', 'lint this page') and states the prerequisite 'Requires Canvas Bridge plugin'. It does not name an alternative tool or state when-not to use it, so it stops short of full routing guidance.

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

Deploy Server

Other Tools