Skip to main content
Glama
Forge-Space

@forgespace/ui-mcp

Official
by Forge-Space

analyze_design_image_for_training

Extracts colors, typography, components, and layout from UI design images for machine learning training. Privacy-friendly, no image storage.

Instructions

Analyze a UI design image to extract patterns, styles, and components for ML training. Does NOT store images - only extracts structured design data (colors, typography, components, layout). Privacy-friendly and zero-cost.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
image_dataYesBase64-encoded image data of the UI design reference to analyze for ML training
image_mime_typeNoMIME type of the imageimage/png
descriptionNoOptional description of the design (e.g., "Modern SaaS dashboard with glassmorphism effects")
component_nameNoOptional name for the design reference (auto-generated if omitted)
frameworkNoFramework context for code generation during analysisreact
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that images are not stored and that it's privacy-friendly and zero-cost, which are key behavioral traits. However, it does not explicitly state whether the operation is read-only or non-destructive beyond the storage claim.

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 sentences with no wasted words. The first sentence states the core purpose, the second adds critical behavioral context. Information is front-loaded and easy to parse.

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?

With no output schema, the description provides a reasonable summary of what is extracted. Given the tool's complexity (5 parameters) and sibling tools, the description is adequate but could be slightly more detailed about return format or error cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by summarizing the output (colors, typography, components, layout) and privacy aspects, which are not in the schema. This helps the agent understand the purpose of the parameters.

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 verb 'Analyze' and the resource 'UI design image', with specific extraction goals for ML training. It also distinguishes from siblings by noting that it does not store images.

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 usage for extracting design data but does not explicitly address when to use this tool versus alternatives like analyze_design_references or image_to_component. No when-not or alternative 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/Forge-Space/ui-mcp'

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