Skip to main content
Glama
Figma Vector MCP

Figma Vector MCP

by workingmodel

get_library_components

Lists local Figma document components available for use, with optional case-insensitive name filtering to find components quickly by query.

Instructions

List components available for use. Returns local document components. Filter by name with optional query.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_library_components"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoFilter by component name (case-insensitive contains)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It does add real behavioral context by scoping the source to local document components (implying not team/cloud library items), but it says nothing about result limits, ordering, permissions, or the shape of returned components beyond that boundary.

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?

Three short sentences with the resource stated first and the filter behavior last -- appropriately sized for a one-parameter read tool. The opening 'List components available for use' is slightly redundant with the following sentence but is not wasteful enough to penalize further.

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

Completeness3/5

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

For a simple, zero-required-parameter read tool with no output schema, the description covers the basics. It is, however, thin on what a component record contains and on how these results differ from get_components, leaving gaps an agent would want filled.

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?

Schema coverage is 100% and the single parameter already documents 'case-insensitive contains' filtering. The description's 'Filter by name with optional query' merely restates the schema, adding no new semantics such as behavior on no match or whether the query is ignored when omitted.

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 (List) and resource (components) and adds a scope qualifier: it returns local document components only. That scope hint partially distinguishes it, but the sibling get_components is never named or contrasted, so an agent cannot be fully certain which of the two to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied -- 'Filter by name with optional query' suggests a browse-then-narrow workflow, and 'local document components' hints at scope. There is no explicit when-to-use, when-not-to-use, or reference to the existing get_components sibling, leaving the choice to inference.

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