Skip to main content
Glama

ready→made MCP

inspect_figma

Outline a Figma file or frame WITHOUT converting: layer tree (names, ids, types, sizes), node count, text/image/vector counts, whether the frame is within the convert limit, and a list of section-sized child frames that are good convert_figma candidates. Use it to pick the right frame when the user gives a whole-file link, or when convert_figma says a frame is too large. Free.

Input Schema

NameRequiredDescriptionDefault
urlYesFigma URL (https://www.figma.com/design/<fileKey>/…?node-id=<id>) or a bare file key. Without node-id the whole file is outlined.
nodeNoNode id such as "12:345" or "12-345". Overrides node-id in the URL.
depthNoLevels of children to include. Default 3.
refreshNoIgnore the cached copy of this file and refetch from Figma. Default false. Cached Figma data (7 days, per account) is reused when the file version is unchanged.
figmaTokenNoA Figma personal access token (figd_…) with the "File content: read" scope. Usually configured once as the x-figma-token header in the MCP client; pass it here only if the header is not set. It is forwarded to Figma for this call and never stored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose the salient behavior: this is a non-converting inspection that previews the convert limit, and it is 'Free' (no credit consumption). It does not explicitly declare read-only/non-destructive status or how large the response can get; caching and token handling are covered only by the schema, not the prose.

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?

Two sentences with the verb and the non-conversion constraint front-loaded, followed by the concrete output inventory. The enumeration is long but every item is decision-relevant for choosing a frame; slightly denser than strictly necessary.

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?

There is no output schema, so the description must explain the return value — and it does so item by item, including the convert-limit verdict and candidate frames that drive follow-up calls. Nothing an agent needs in order to call this correctly and interpret the result is missing.

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 100%, so all five parameters (url, node, depth, refresh, figmaToken) are already fully documented in the schema. The description adds no syntax or format meaning beyond hinting at the layer-tree depth and frame selection. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

States a specific verb ('Outline') and resource ('a Figma file or frame'), then enumerates exactly what comes back: layer tree, node count, text/image/vector counts, convert-limit status, and candidate child frames. The explicit 'WITHOUT converting' clause plus the named sibling convert_figma makes it distinguishable from its alternatives at a glance.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives two concrete triggering conditions — the user supplies a whole-file link, or convert_figma reports a frame is too large — and implies the alternative (convert_figma) that should be used instead once the right frame is found. No inference required to decide when to call this.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources