Skip to main content
Glama
Rompni

figma-rest-mcp

by Rompni

Get Figma file versions

get_file_versions
Read-only

Retrieve the complete version history for any Figma file, with automatic pagination to fetch all saved versions, enabling review of design changes over time.

Instructions

GET /v1/files/{key}/versions — version history. Auto-follows pagination.next_page. Scope: file_versions:read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesFigma file key or URL (figma.com/design/... or figma.com/file/...)
page_sizeNo
auto_paginateNoFollow pagination automatically (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the read-only nature is covered. The description adds valuable behavioral details beyond annotations: automatic pagination following and the required OAuth scope (file_versions:read), giving the agent important invocation context.

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?

A single compact sentence packs the endpoint, purpose, pagination behavior, and scope without waste. It is front-loaded with the key information, though a slightly clearer separation between purpose and behavior could make it even more readable.

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 moderately simple read tool with three parameters and no output schema, the description covers the essential behavioral context: endpoint, pagination, and scope. It does not explain the response format, but 'version history' gives a reasonable expectation; annotations cover the read-only safety profile.

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 67%, so the schema documents 'file' and 'auto_paginate' but not 'page_size'. The description's auto-pagination note reinforces the meaning of auto_paginate, but it does not address page_size sizing or behavior, leaving a gap that the schema does not fully fill.

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 states a specific verb ('get') and resource ('/v1/files/{key}/versions') and clarifies the purpose as 'version history'. This distinguishes it from sibling file tools like get_file and get_nodes, none of which target version history.

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?

Usage is implied by the phrase 'version history' and the endpoint path, making it clear the tool is for retrieving version data. However, it does not explicitly state when to choose this over alternatives or when not to use it, which is a moderate gap.

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