Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

by Shivam990q

audit_accessibility_and_security

Check a Figma design URL for APCA and WCAG 2.2 contrast compliance, exposed secrets, and prompt injection risks. Use it to catch accessibility and security issues before handoff.

Instructions

Runs APCA & WCAG 2.2 contrast compliance, DLP secret leak scanning, and prompt injection defense.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "audit_accessibility_and_security"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFigma design URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It states the three analyses but not whether the tool mutates the Figma file, whether it is read-only/safe to re-run, whether it needs auth or scopes, or what it returns — all critical for a scan that touches design contents and secrets.

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?

One dense sentence with no filler, and the three capabilities are front-loaded. Minor imprecision ("runs ... contrast compliance" rather than "checks contrast compliance") but nothing wasteful.

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

Completeness2/5

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

With no output schema and no annotations, the description should explain the shape of the result (findings list, pass/fail, severity, remediation hints) and its safety profile. Instead it stops at naming the checks, so an agent cannot predict what comes back from a call.

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?

There is a single required parameter and the schema describes it fully ("Figma design URL"), so the baseline is met. The description adds no extra meaning such as whether a node/branch URL is accepted or whether the URL must point to a specific frame.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names three concrete checks (APCA/WCAG 2.2 contrast, DLP secret leak scanning, prompt injection defense) so the resource and action are unambiguous, and it is clearly distinguishable from the canvas/code-generation siblings. It does not explicitly contrast itself with any sibling, keeping it out of 5 territory.

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

Usage Guidelines2/5

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

The description never says when to run the audit, whether it is expected before handoff or checkpointing, whether it requires a design to already exist, or what an agent should do with the results. No exclusions or alternatives are stated, leaving the agent to infer usage from the name alone.

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