Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_get_metadata

figma_get_metadata

Retrieve Figma file metadata, page list, current page, and selection count to inspect design context before reading or editing nodes.

Instructions

Get Figma file metadata, page list, current page, and selection count.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "figma_get_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden, and it does disclose the returned payload (file metadata, page list, current page, selection count), which is valuable since there is no output schema. However, it says nothing about side effects, permission or auth requirements, how the target file is resolved with zero parameters, or what 'selection count' means when nothing is selected.

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 front-loaded sentence with no padding; every item in the list adds information. Nothing is redundant or buried.

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 zero-parameter read tool with no output schema, the description covers the essentials by naming what comes back. It falls short on how the file context is determined without any input parameter, and on the substantial overlap with figma_get_pages and figma_get_selection siblings.

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

Parameters4/5

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

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description's listed outputs are the only semantics an agent gets, and they are stated plainly.

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?

States a specific verb (Get) and resource (Figma file metadata) and even enumerates the contents: page list, current page, selection count. It is clear what the tool returns, but it never distinguishes itself from siblings such as figma_get_pages, figma_get_selection, or figma_get_document, whose names suggest overlapping data.

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 when-to-use guidance, no when-not-to-use, and no mention of alternatives. An agent cannot tell from this sentence whether to call this lightweight metadata call or the more specific figma_get_pages / figma_get_selection siblings.

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