Skip to main content
Glama

figma_get_node_props

Read-onlyIdempotent

Retrieve component properties and text layers from a Figma node. Use this to discover valid property names before setting component text or to verify design system text styles in Phase 5 validation.

Instructions

Get the component properties and all text layers of a node. Call this before figma_set_component_text to discover valid property names. Also useful for Phase 5 validation — verify DS text styles are applied. Returns: { type, name, componentProperties: [{key, type, value}], textLayers: [{id, name, chars}] }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYes
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is clear. Description adds value by detailing the return structure (componentProperties, textLayers). No contradictions.

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?

Three sentences front-loaded with purpose, no filler. Every sentence adds value: purpose, usage guidance, return format.

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?

For a simple read tool with one parameter and no output schema, the description covers purpose, return format, and usage context. No gaps given the complexity.

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?

Only one parameter (nodeId) with no schema description. The description doesn't elaborate on the parameter but its purpose is inferred from context. Baseline 3 with low schema coverage but simple parameter.

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?

Description clearly states the tool gets component properties and text layers of a node. It distinguishes itself from related siblings like figma_set_component_text and figma_get_text_info by focusing on discovery and validation.

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?

Explicitly says 'Call this before figma_set_component_text to discover valid property names' and mentions use for Phase 5 validation. Provides clear when-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/miapre/mimic-ai'

If you have feedback or need assistance with the MCP directory API, please join our Discord server