Skip to main content
Glama
RoleModel

Optics MCP Server

by RoleModel

Suggest Token Migration

suggest_token_migration

Replace hard-coded design values with system tokens by inputting a value like '#0066CC' or '16px' and optional category filter to get token suggestions for migration.

Instructions

Suggest design tokens for a hard-coded value

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesHard-coded value to find tokens for (e.g., "#0066CC", "16px")
categoryNoOptional category filter (color, spacing, typography)
Behavior2/5

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

No annotations are provided, and the description does not disclose behavioral traits such as whether it reads or mutates data, how it handles unrecognized values, or if it returns a single suggestion or multiple. The read-only nature is implied but not explicit.

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?

The description is a single, front-loaded sentence with no unnecessary words. It efficiently conveys the primary purpose.

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?

The description is adequate for a simple suggestion tool, but it lacks information about the output format or behavior (e.g., returns a list of suggestions, how suggestions are ranked). No output schema is provided.

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?

Input schema has 100% description coverage for both parameters ('value' and 'category'), so the description adds minimal value beyond what the schema already provides. No additional parameter context is given.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Suggest design tokens for a hard-coded value' clearly states the action (suggest) and the resource (design tokens) with context (hard-coded value). It distinguishes from siblings like 'search_tokens' and 'get_token'.

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?

The description implies the tool should be used when a hard-coded value needs a token replacement, but does not specify when not to use it or mention alternatives. No explicit guidance is provided.

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

Install Server

Other Tools

Latest Blog Posts

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/RoleModel/optics-mcp'

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