Skip to main content
Glama
kicholiz

Figma Write Bridge MCP

by kicholiz

get_parent_chain

Walk up a Figma node's parent chain to return id, name, and type at each level for hierarchy mapping.

Instructions

Walk up the parent chain of a node, returning id/name/type at each level.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYes
maxDepthNo
stopAtIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose the return shape (id/name/type per level), which is useful given there is no output schema, but it says nothing about ordering (root-first vs node-first), root/termination behavior, or how the optional depth/stop parameters alter traversal.

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?

A single front-loaded sentence with zero waste, and the core action and return value lead. It is arguably under-sized for three undocumented parameters, which slightly undercuts 'appropriately sized'.

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

Completeness2/5

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

With no annotations, no output schema, and 0% parameter coverage, the description is the only carrier of behavioral meaning and it stops at one sentence. It omits traversal order, termination conditions, and the role of maxDepth/stopAtId, leaving real gaps for an agent to fill.

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 coverage is 0% and two of three parameters (maxDepth, stopAtId) have non-obvious names that the description never explains. Only nodeId is implicitly covered by 'of a node', leaving the depth-limit and stop-node semantics undocumented in both schema and description.

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 gives a specific verb+resource ('walk up the parent chain of a node') and even states what is returned (id/name/type at each level). It is clear what the tool does, though it never names or contrasts itself against ancestry-adjacent siblings like get_node_info or get_document_tree.

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 prerequisites, and no alternatives named. An agent gets no help deciding between this and the many other node-reading tools such as get_node_info or get_selection_context.

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