Skip to main content
Glama
kkse7en

WorkBuddy Figma

by kkse7en

get_component_context

Read Figma component, component set, or instance properties and descendants to gather design-to-code context. Omit node ID to use the current editor selection.

Instructions

Read component, component set or instance properties and descendants.

Input Schema

NameRequiredDescriptionDefault
depthNo
nodeIdNoFigma node ID, e.g. 12:34. Omit to use the editor selection where supported.
profileNoUse summary for discovery; full preserves detailed fields (default).
maxBytesNoBudget for returned JSON metadata; screenshots have separate limits.
maxNodesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It implies a read-only operation but says nothing about selection fallback behavior (nodeId is optional), truncation when maxBytes/maxNodes budgets are hit, or whether screenshots are included; those limits are only implicit in the schema bounds.

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 no filler. It is efficient, though it is arguably too terse given the tool's five parameters and missing behavioral context.

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?

For a tool with five parameters, no output schema and no annotations, the description leaves major gaps: return shape, default behavior, selection fallback and truncation semantics are all unstated. What the description needs to carry, it does not.

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 description coverage is 60%: nodeId, profile and maxBytes are documented, but depth and maxNodes have no description anywhere. The description adds no parameter meaning at all, so it fails to compensate for the undocumented traversal and node-count parameters.

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?

States a specific verb ('Read') and resource ('component, component set or instance properties and descendants'), so the scope is clear. It does not distinguish itself from siblings like get_design_context or get_metadata, which appear to overlap.

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?

No indication of when this should be used instead of get_design_context, get_metadata or get_motion_context. The agent must infer the choice from the name alone, and the one bit of guidance present ('summary for discovery; full preserves detailed fields') lives in the schema, not the description.

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