Skip to main content
Glama
teyepe

systembridge-mcp

by teyepe

analyze_ui

Identify UI components and colors from screenshots or mockups, then match them against your design system tokens to find gaps and inconsistencies.

Instructions

Analyze UI elements and colors against the design system. Describe the components you see and the colors used — get back which components are in the system, which colors match existing tokens (using perceptual color distance), and what gaps exist. Useful for reverse-engineering a screenshot or mockup into system terms.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorsNoComma-separated hex colors observed in the UI, e.g. '#3B82F6, #EF4444, #F3F4F6, #1F2937'
componentsYesComma-separated list of UI components visible, e.g. 'button, card, text-input, badge, avatar'
descriptionNoOptional description of the UI being analyzed, e.g. 'Dashboard with sidebar navigation and data cards'
Behavior4/5

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

Without annotations, the description carries the full burden of behavioral transparency. It discloses the output: 'get back which components are in the system, which colors match existing tokens (using perceptual color distance), and what gaps exist.' This adequately informs the agent about the tool's behavior, though it does not mention nondestructive nature or potential performance characteristics.

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 two sentences, front-loaded with the tool's action and output, followed by a use case. Every sentence adds value without redundancy or unnecessary detail.

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?

Given the tool has no output schema and only three string parameters, the description sufficiently covers the return values: which components are in the system, matching colors, and gaps. It is complete enough for an agent to understand what to expect, though it lacks specific formatting details of the output.

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 description coverage is 100%, so each parameter is already documented in the input schema. The description does not add new meaning beyond the schema; it merely repeats 'components you see' and 'colors used.' The baseline of 3 is appropriate as the description provides no additional parameter context.

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 clearly states the tool's purpose: 'Analyze UI elements and colors against the design system.' It specifies inputs (components and colors) and outputs (which match tokens, gaps). This distinguishes it from siblings like analyze_coverage or check_contrast, which serve different analysis functions.

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

Usage Guidelines4/5

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

The description provides clear usage context: 'Useful for reverse-engineering a screenshot or mockup into system terms.' It implies when to use this tool (when analyzing UI elements against a design system) but does not explicitly exclude cases or reference sibling alternatives. Still, the context is sufficient for an agent to decide.

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/teyepe/systembridge-mcp'

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