Skip to main content
Glama

get_constraint

Retrieve constraint details for Figma nodes, including optional child nodes, to analyze and manage design layouts effectively. Supports batch processing for efficiency.

Instructions

Get constraints for one or more Figma nodes (optionally including children).

Returns: Array of constraint info for each node, including children if requested.

Input Schema

NameRequiredDescriptionDefault
includeChildrenNoIf true, include constraints for all children of the node(s).
nodeIdNoThe ID of a single node to get constraints for.
nodeIdsNoAn array of node IDs to get constraints for in batch.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "includeChildren": { "description": "If true, include constraints for all children of the node(s).", "type": "boolean" }, "nodeId": { "description": "The ID of a single node to get constraints for.", "type": "string" }, "nodeIds": { "description": "An array of node IDs to get constraints for in batch.", "items": { "type": "string" }, "type": "array" } }, "type": "object" }

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/amalinakurniasari/conduit'

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