Skip to main content
Glama

figma_get_components

Read-onlyIdempotent

Retrieve every published component in a Figma file to enable design asset discovery and reuse in automation or AI agent workflows.

Instructions

Get all published components in a Figma file.

Input Schema

NameRequiredDescriptionDefault
file_keyYes
personal_access_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.11
    • changedInput schema / required
      Previous value: -[
      -  "personal_access_token",
      -  "file_key"
      -]New value: +[
      +  "file_key"
      +]
  2. Addedv0.1.5

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already disclose readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds that only published components are returned, which is useful scope context. It does not mention authentication requirements, pagination, or result limits, so it is not rich beyond the annotations.

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?

The description is a single front-loaded sentence with no wasted words. It efficiently conveys the action, scope, and resource.

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

Completeness3/5

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

For a simple read-only tool with rich annotations and no output schema, the description is minimally adequate. However, it leaves the authentication parameter unexplained and does not clarify whether results are paginated or scoped to a particular file version. Those omissions matter for a two-parameter tool with zero schema coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for the two undocumented parameters. It implies that a Figma file is targeted, loosely corresponding to file_key, but never explains personal_access_token or authentication requirements. The parameter semantics are therefore substantially under-specified.

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?

The description states a specific verb and resource: 'Get all published components in a Figma file.' The 'published' qualifier narrows scope usefully. It does not distinguish this tool from siblings such as figma_get_file or figma_get_node, so it falls 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 guidance on when to use this tool versus alternatives like figma_get_file, figma_get_node, or figma_get_team_projects. The description also omits any prerequisites or context about when published-components listing is appropriate.

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

Deploy Server

Other Tools