Skip to main content
Glama
Rompni

figma-rest-mcp

by Rompni

Get team component sets

get_team_component_sets
Read-only

Retrieve published component sets from a Figma team library. Use it to list reusable UI components for design systems or component discovery.

Instructions

GET /v1/teams/{team_id}/component_sets — published team library component sets. Auto-paginates meta.cursor.after. Scope: team_library_content:read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
teamNoTeam id or team URL (figma.com/files/team/<id> or figma.com/files/<org>/team/<id>). REST /v1/me does not return team_id.
team_idNoAlias of team: numeric team id or team URL.
page_sizeNoPage size (Figma default 30).
auto_paginateNoFollow pagination automatically (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A3.8/5.0
Behavior4/5

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

The description adds 'Auto-paginates meta.cursor.after' and 'Scope: team_library_content:read', which are behavioral traits not present in the annotations (readOnlyHint and openWorldHint). This provides useful context on pagination and authorization, exceeding what annotations alone convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence packs the endpoint, resource scope, pagination behavior, and required auth scope. All information is front-loaded, with zero filler or redundancy.

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 read-only list endpoint without an output schema, the description covers the resource, pagination, and auth scope. It does not describe the return format, but that is not required without an output schema. Minor gap: no mention of how the 'team' parameter relates to the path, but the schema handles that. Overall, sufficiently complete.

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 the baseline is 3. The description does not add parameter-level meaning beyond the schema; it merely reflects the endpoint. No additional semantics are provided, so a 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 HTTP verb and resource ('GET /v1/teams/{team_id}/component_sets') and specifies 'published team library component sets', distinguishing it from team components, team styles, and file-level component sets. It is unambiguous and specific.

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?

The description does not provide any guidance on when to choose this tool over alternatives like get_team_components or get_file_component_sets. It states the resource but gives no contextual cues about use cases, exclusions, or prerequisites beyond the endpoint itself.

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