Skip to main content
Glama
sand1018

figma-context-mcp-server

by sand1018

获取 Figma 节点截图

figma_get_screenshot
Read-onlyIdempotent

Capture a PNG screenshot of a specified Figma node by node ID to support design handoff, review, and AI design-to-code workflows.

Instructions

获取指定 Figma 节点的截图 (image/png)。

Args:

  • node_id (string, 必填): Figma 节点 ID

Returns: 截图 image。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idYesFigma 节点 ID,如 "0:118" 或 "0-118"。从 Figma URL 的 node-id 参数提取

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds the return media type (image/png) and that the payload is an image, which matters because there is no output schema, but it says nothing about size, scaling, or resolution behavior.

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?

Short and front-loaded, with purpose in the first clause. The Args/Returns blocks mostly duplicate the schema and annotation information rather than earning their space, keeping it just under top marks.

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 one-parameter read-only tool with full annotation coverage, the description covers purpose, the required input, and the return type. It lacks sibling differentiation and any note on image scaling/options, which are the only real gaps.

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% and the single parameter is fully documented in the schema, including the URL node-id extraction hint that the description omits. The description merely restates the parameter name, so baseline 3 applies.

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+resource: retrieve a screenshot of a specified Figma node, with output format (image/png) named. It does not differentiate itself from siblings such as figma_download_assets, which is the closest overlap, so it stops short of a 5.

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 mention of alternatives. An agent cannot tell from the description alone why it should call this rather than figma_download_assets or figma_get_page_context.

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