Skip to main content
Glama
kicholiz

Figma Write Bridge MCP

by kicholiz

import_component_by_key

Import a library component into the current Figma file using its componentKey, and optionally rename the main component.

Instructions

Import a library component into the current file using its componentKey. Optionally rename the imported main component.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew name for the imported main component.
componentKeyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/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 implies a mutation into the current file but says nothing about required permissions, behavior when the component is already imported, whether it fails on unknown keys, or what is returned.

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?

Two tight sentences with the core action front-loaded and the optional behavior second. No filler or redundancy.

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 mutation tool with no annotations, no output schema, and a required parameter left undocumented, the description is too thin. It omits prerequisites, result shape, and the distinction from sibling import tools.

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 only 50%, and the undocumented parameter is the required one: componentKey has no schema description. The description merely restates 'using its componentKey' without adding format, source, or validation meaning, so it fails to compensate for the coverage gap.

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 states a specific verb and resource ('Import a library component into the current file') and even names the key identifier. However, it does not distinguish itself from the near-identical sibling import_component_set_by_key, leaving the agent to infer the component-vs-set distinction.

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 and no mention of alternatives, despite several closely related siblings (import_component_set_by_key, import_variable_by_key, import_style_by_key, create_instance_from_component_key). The agent gets no help choosing between these import tools.

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