Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as ready→made MCP. If you published it, claim ownership there.

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "inspect_figma"
  }
}

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.
refreshNoOnly matters if the user turned on "Cache Figma data" on the ready→made account page (off by default): then ignore the cached copy and refetch from Figma. Without that setting nothing is cached and every call fetches from Figma, so this flag has no effect. Default false.
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. Changed1 schema field changed
    • changedInput schema / properties / refresh / description
      Previous value: -"Ignore 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."New value: +"Only matters if the user turned on \"Cache Figma data\" on the ready→made account page (off by default): then ignore the cached copy and refetch from Figma. Without that setting nothing is cached and every call fetches from Figma, so this flag has no effect. Default false."
  2. 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 burden and does well: it declares the non-converting, read-only nature, describes the returned artifacts, flags the convert-limit check, and notes the call is free. It stops short of stating side-effect/permission posture explicitly (the token scope is only in the schema) and says nothing about latency or large-file behavior, leaving a small gap.

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?

Front-loaded with the core action and non-conversion contrast, then usage, then cost. Dense but every clause carries information; the long parenthetical return-value list is slightly packed but earns its place given there is no output schema.

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?

No output schema exists, so the description must cover return shape and it does thoroughly, including the convert-limit verdict and candidate frames that drive the next step. Auth and caching subtleties are handled by the fully documented schema, so nothing material 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 coverage is 100% and every parameter (url, node, depth, refresh, figmaToken) already has a substantive description, including the node-id override and the conditional cache semantics. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 and resource ('Outline a Figma file or frame') and immediately contrasts it with the sibling 'WITHOUT converting'. The enumeration of what is returned (layer tree, counts, convert-limit check, candidate child frames) makes the output distinguishable from convert_figma 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 explicit trigger conditions: when the user supplies a whole-file link, and when convert_figma reports a frame too large. Both the when-to-use and the routing alternative are named, so no inference is required.

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