Skip to main content
Glama

ui_design_system

Read-onlyIdempotent

Generate actionable visual direction for any product. Output includes core tasks, information architecture, density, typography, color strategy, component principles, and screenshot acceptance criteria.

Instructions

生成可执行的视觉方向,而不是风格标签拼盘。输出核心任务、信息架构、内容密度、排版与色彩策略、组件原则、明确禁用项和截图验收标准。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
avoidNo项目特定禁用项,如 卡片瀑布、大标题、装饰性图标、大面积空白。
stackNo技术栈,如 react、nextjs、vue、nuxt、html。仅影响实现建议,不决定审美。
densityNo内容密度。专业后台通常 compact,通用产品 comfortable,营销页 spacious。
keywordsNo兼容旧调用方。等价于 brand_personality,后续应改用 brand_personality。
referencesNo参考产品或设计方法,如 Linear、Apple、Vercel。只提取结构方法,不照抄视觉。
descriptionNo页面或产品的核心任务、关键内容和使用场景。不要只写视觉形容词。
screen_typeNo页面类型,如 professional-dashboard、workflow-console、marketing-page、commerce-catalog、commerce-detail、content-workspace。未传时自动判断。
product_typeYes产品类型,如 SaaS、交易系统、医疗应用、电商或品牌官网。
target_scoreNo视觉验收目标分数。低于该分数不得交付。
target_audienceNo目标用户及其专业程度、使用频率和主要压力。
visual_directionNo指定视觉方向。内置方向包括 editorial-precision、operational-clarity、calm-trust、product-storytelling、commerce-focus,也支持自定义名称。
brand_personalityNo品牌气质,如 精准、可信、克制。字符串可用逗号分隔。

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed12 schema fields changedv4.0.0
    • addedInput schema / properties / avoid
      Added value: +{
      +  "description": "项目特定禁用项,如 卡片瀑布、大标题、装饰性图标、大面积空白。",
      +  "oneOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  ]
      +}
    • addedInput schema / properties / brand_personality
      Added value: +{
      +  "description": "品牌气质,如 精准、可信、克制。字符串可用逗号分隔。",
      +  "oneOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  ]
      +}
    • addedInput schema / properties / density
      Added value: +{
      +  "description": "内容密度。专业后台通常 compact,通用产品 comfortable,营销页 spacious。",
      +  "enum": [
      +    "compact",
      +    "comfortable",
      +    "spacious"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / description / description
      Previous value: -"系统说明(推荐):详细描述产品功能、特点、使用场景。例如:'政府类网站,需要权威、可信、易用的设计风格,面向公众提供政务服务'。这将帮助推理引擎生成更准确的设计方案。"New value: +"页面或产品的核心任务、关键内容和使用场景。不要只写视觉形容词。"
    • changedInput schema / properties / keywords / description
      Previous value: -"关键词(可选):逗号分隔的关键词,如 'professional, modern, trustworthy, authoritative'(专业、现代、可信、权威)。用于辅助匹配设计风格。"New value: +"兼容旧调用方。等价于 brand_personality,后续应改用 brand_personality。"
    • changedInput schema / properties / product_type / description
      Previous value: -"产品类型(必填):SaaS, E-commerce, Healthcare, Fintech, Government(政府), Education(教育), Portfolio, Agency 等。这是推理引擎的核心输入。"New value: +"产品类型,如 SaaS、交易系统、医疗应用、电商或品牌官网。"
    • addedInput schema / properties / references
      Added value: +{
      +  "description": "参考产品或设计方法,如 Linear、Apple、Vercel。只提取结构方法,不照抄视觉。",
      +  "oneOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  ]
      +}
    • addedInput schema / properties / screen_type
      Added value: +{
      +  "description": "页面类型,如 professional-dashboard、workflow-console、marketing-page、commerce-catalog、commerce-detail、content-workspace。未传时自动判断。",
      +  "type": "string"
      +}
    • changedInput schema / properties / stack / description
      Previous value: -"技术栈(推荐):react, vue, nextjs, nuxtjs, tailwind, html, svelte, astro 等。用于生成特定技术栈的实现建议和配置代码。"New value: +"技术栈,如 react、nextjs、vue、nuxt、html。仅影响实现建议,不决定审美。"
    • changedInput schema / properties / target_audience / description
      Previous value: -"目标用户(可选):如 'B2B企业', 'C端消费者', '政府公务员', '普通市民', '开发者' 等。帮助推理引擎选择合适的设计风格。"New value: +"目标用户及其专业程度、使用频率和主要压力。"
    • addedInput schema / properties / target_score
      Added value: +{
      +  "default": 8.5,
      +  "description": "视觉验收目标分数。低于该分数不得交付。",
      +  "maximum": 10,
      +  "minimum": 7.5,
      +  "type": "number"
      +}
    • addedInput schema / properties / visual_direction
      Added value: +{
      +  "description": "指定视觉方向。内置方向包括 editorial-precision、operational-clarity、calm-trust、product-storytelling、commerce-focus,也支持自定义名称。",
      +  "type": "string"
      +}
  2. Addedv3.0.16

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and idempotentHint=true, meaning the tool doesn't change state and produces consistent results. The description aligns with this by describing generation of a design direction without side effects. It adds value by detailing what the tool outputs (e.g., 'explicit disallowed items'), which goes beyond annotation hints. No contradiction.

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, dense sentence that front-loads the core distinction and lists all output deliverables. Every phrase is meaningful, and there is no redundancy. It efficiently uses 50 characters to set context and then specifies outcomes.

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 high parameter schema coverage (100%) and annotations, the description is largely complete. It could be improved by briefly mentioning the return format or what '截图验收标准' entails, but the core directive is clear. The absence of an output schema is compensated by the description listing concrete deliverables.

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

Parameters5/5

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

Schema description coverage is 100%, so baseline is 3. The description goes beyond by emphasizing that output is executable, not just style tags. While most parameters have thorough schema descriptions, the tool description adds a strategic layer that clarifies purpose, compensating for the lack of extra parameter details in the tool description itself. The description effectively frames all 12 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 tool generates executable visual direction, distinguishing it from a 'collage of style tags'. It lists specific outputs: core tasks, information architecture, content density, typography, color strategy, component principles, explicit disallowed items, and screenshot acceptance criteria. This differentiates it from sibling tools like 'ui_search' (searching) and 'start_ui' (a different UI task).

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 implicitly sets context by contrasting with 'style tag collages', suggesting when not to use it. However, it does not explicitly state when to use this tool versus alternatives like 'start_ui' or 'converge'. The sibling list is diverse, but no direct exclusions or alternatives are mentioned.

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

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/mybolide/mcp-probe-kit'

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