Skip to main content
Glama

export_video

Read-only

Export an animated Figma top-level frame to MP4, WebM, or GIF on disk. Use for Smart Animate or Motion keyframe content; returns file path or reason.

Instructions

Export an animated Figma top-level frame to an MP4 / WebM / GIF file on disk. Pass any node in the frame (or the frame itself) — its enclosing top-level frame is encoded across the animation's duration. Requires the Figma Design editor and a frame with animated content (Smart Animate / Motion keyframes); a static frame, a nested frame, or FigJam / Dev Mode yields path:null with a reason (and, when reason is failed, Figma’s own message in error). Encoding is a heavy render — call it on its own, not concurrently with other tool calls, or the render can fail. Returns { nodeId, format, path, reason?, error? }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fpsNoFrames per second (MP4/WebM: 12/24/30/60; GIF: 8/12/15/24/30). Defaults per format.
formatYesMP4 / WebM (video) or GIF (looping)
nodeIdYesA node in the animated frame to export; its enclosing top-level frame (a frame placed directly on a page) is what gets encoded — pass the frame itself or any descendant
outPathYesFile path to write the video to (parent dirs created if missing)
qualityNoMP4/WebM quality; ignored for GIF
loopCountNoGIF only: number of loops; 0 = loop forever
constraintNoOutput size: a SCALE multiplier (0.5/0.75/1/1.5/2/3/4) or a fixed WIDTH/HEIGHT in px
Behavior5/5

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

Despite readOnlyHint: true, the description adds substantial behavioral context: it is a heavy render that should be called alone, failure modes are clearly described (path:null with a reason, and Figma's own error when reason is 'failed'), and prerequisites are stated. These details go beyond what annotations alone provide.

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 dense but every sentence serves a purpose: purpose, node selection, prerequisites/failure modes, concurrency warning, and return shape. It is slightly wordy in the middle section listing failure cases, but generally well-structured and front-loaded with the primary action.

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

Completeness5/5

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

The description covers all critical operational aspects: input requirements, output formats, failure conditions, performance constraints, and the returned object shape. With no output schema, it fully communicates what the agent can expect, making it complete for a tool of this complexity.

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?

The input schema already has 100% parameter coverage with detailed descriptions for all 7 parameters. The tool description reinforces the nodeId semantics ('Pass any node in the frame or the frame itself') but does not add additional meaning beyond the schema. Baseline of 3 is appropriate.

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?

The description clearly states the verb 'Export' and the specific resource: 'an animated Figma top-level frame' to targeted output formats ('MP4 / WebM / GIF file on disk'). It also details the node-acceptance nuance (any node in the frame or the frame itself), which differentiates it from sibling export tools like export_pdf.

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?

The description provides explicit context on when to use the tool (requires Figma Design editor and animated content) and when not to use it (static frame, nested frame, FigJam, Dev Mode all yield path:null). It also warns against concurrent calls. However, it does not explicitly name alternative sibling tools like export_pdf for static exports, so it falls short of a 5.

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/awdr74100/figwright'

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