Skip to main content
Glama
Figma Vector MCP

Figma Vector MCP

by workingmodel

resolve_color

Look up a registered color alias and return its r, g, b, a values (0–1). Use it to convert stored color aliases into concrete channel values for Figma vector work.

Instructions

Look up a color by its registered alias. Returns r, g, b, a values (0–1).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "alias": "<alias>"
    },
    "name": "resolve_color"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasYesThe color alias to look up

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose the read-only nature and the exact return payload (r, g, b, a in 0-1), which is useful. It does not say what happens when the alias is unregistered (error vs. empty result), leaving a real behavioral gap for a lookup tool.

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 short sentences, front-loaded with purpose then return format, with no filler or redundancy.

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

Completeness4/5

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

For a one-parameter lookup with no annotations and no output schema, the description covers purpose, input meaning, and return value shape. The only omission is the not-found behavior, which is minor at this 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?

Schema coverage is 100% and the single parameter is already documented as 'The color alias to look up'. The description adds only the qualifier that the alias is 'registered', a marginal gain over the schema.

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 (look up) and resource (a color by its registered alias), which is clearly distinct from a registration or mutation tool. It does not explicitly name a sibling to contrast with, but the scope is unambiguous on its own.

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?

Implicit guidance only: the phrase 'registered alias' signals the precondition that the alias must already exist in the document. There is no statement of when to prefer this over other color tools, nor any exclusion or failure guidance.

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