Skip to main content
Glama
echobt

@echobt/figma-mcp

by echobt

export_asset_pack

Export a Figma .fig file as a structured asset pack with manifest, images, vectors, node screenshots, and design specs.

Instructions

THE agent packaging tool. Writes a directory with MANIFEST.json, AGENTS.md (MUST NOT invent SVG paths), images/{hash}.ext real binaries, vectors/* true-geometry SVGs, nodes/{id}/node.svg+node.png+design-spec.json. Returns manifest summary + absolute outputDir + policy banner. Never dumps full images as base64. Agents must read/copy files from the pack.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdNoOptional root node GUID; omit for top-level page frames
filePathYesPath to the .fig file
maxDepthNoTree depth for true SVG (default 40)
maxNodesNoMax root nodes when exporting full doc (default 50)
outputDirYesDirectory to write the asset pack into
includeSpecsNoWrite design-spec.json (default true)
includeImagesNoWrite images/ binaries (default true)
includeScreensNoWrite node.png via resvg of true SVG (default true)
includeVectorsNoWrite vectors/ true SVGs (default true)
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that the tool writes files to a directory, must not invent SVG paths, never dumps base64 images, and that agents must read files from the pack. However, it does not mention potential overwriting of existing files or required permissions.

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?

The description is relatively short and front-loaded with the key purpose. It could be slightly more concise by removing the imperative 'Agents must read/copy files from the pack.' but overall it is efficient.

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?

Given no output schema, the description appropriately summarizes return values (manifest summary, absolute outputDir, policy banner) and outlines the directory structure. However, it does not explain interactions between boolean flags or performance considerations.

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%, so baseline is 3. The description adds no extra meaning beyond the schema descriptions; it merely restates the output structure. No parameter-specific elaboration is provided.

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?

Description clearly states the tool's purpose: 'THE agent packaging tool. Writes a directory with MANIFEST.json, AGENTS.md...'. It lists specific output files and distinguishes itself from sibling tools by positioning itself as the primary packaging tool.

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

Usage Guidelines3/5

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

The description implies usage by describing the output, but does not explicitly state when to use this tool versus alternatives like save_node_assets or export_design_spec. No when-not-to-use guidance is provided.

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/echobt/figma-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server