Skip to main content
Glama
figma-capture-mcp

figma-capture-mcp

by LanceShu

Capture Webpage

capture_webpage

Capture a webpage or specific CSS-selected element and convert it into a Figma design, with configurable delays and support for history or hash router modes.

Instructions

Capture a webpage using Figma's HTML-to-design feature. Supports both history and hash router modes.

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL of the webpage to capture (e.g., http://localhost:5173, https://example.com)
delayNoDelay in milliseconds before triggering capture
selectorNoCSS selector of the element to capturebody

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.5

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It hints that it works with history and hash routers, but it never states what gets created, where the resulting design appears, whether login or a running local dev server (implied by the localhost example URL) is required, or that capture is slow enough to warrant the delay parameter.

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?

Two compact sentences with the core purpose front-loaded and no filler. It is efficient, though the second sentence about router modes is dense and unexplained, which slightly undercuts its effectiveness.

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?

For a tool that mutates a design workspace, with zero annotations and no output schema, the description is thin on outcomes and environment requirements. An agent knows roughly what it does but not what it gets back, how long it takes, or what conditions must hold before calling it.

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 coverage is 100%, with url, delay, and selector each documented in the schema, so the baseline of 3 applies. The description adds no meaning beyond the schema for any of the three parameters; the router-mode sentence does not map cleanly to a parameter.

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?

States a specific verb and resource ('Capture a webpage') and qualifies it with the mechanism ('Figma's HTML-to-design feature'), so an agent can tell it converts a live page into a design rather than taking a screenshot or fetching HTML. It stops short of naming what artifact is produced or where it lands, so it is clear but not fully differentiated from other capture-like operations.

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?

There is no when-to-use guidance, no prerequisites, and no alternatives. The only usage-adjacent statement is router mode support, which tells the agent about SPA compatibility but not when to pick this tool over anything else.

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