lanhu-mcp has 5 tools with Chinese descriptions and reasonable naming (verb_noun pattern). However, critical gaps undermine quality: (1) Input schemas are present but lack type definitions for most parameters, all 5 tools have string parameters with no explicit 'type' field visible in the schema objects; (2) Descriptions are present but generic and lack LLM-optimization guidance (e.g., 'lanhu_get_design' says 'get cleaned structured data' but doesn't explain WHEN to call it vs lanhu_get_screenshot, or what the output structure is); (3) No output schemas documented, tools return data but LLMs cannot plan downstream calls; (4) Error handling is minimal, no recovery guidance or categorization; (5) Parameters lack constraints (enums, ranges, patterns). The server targets a specific domain (design-to-code) but does not follow composition patterns (e.g., lanhu_login is a prerequisite but not documented as a dependency in other tools).
下载蓝湖设计稿中已标注的切图资源(图标、图片、背景图)。文件按类型命名:bg-1.webp、img-1.webp、icon-1.webp。返回下载清单,供用户确认后在代码中引用。
获取蓝湖设计稿的清洗后结构化数据,作为开发参考资料。返回精简图层树,包含 UnoCSS class、元素类型和图片引用。获取后应先展示给用户确认,再进行代码编写。
获取蓝湖设计稿预览图,用于视觉参考。通过 API 直接下载设计稿渲染图。应展示给用户确认设计意图后再编写代码。
启动浏览器登录蓝湖并保存 cookie。通常在 cookie 过期时自动调用。
解析蓝湖邀请/分享链接为项目参数(project_id、team_id、image_id)。也支持解析标准蓝湖 URL。
Input schemas lack explicit type definitions. All 5 tools declare parameters as strings but do not include 'type: string' in the schema objects. JSON Schema requires explicit types for LLM parsing.
No output schemas documented. Tools return data (sketchData, previewUrl, downloadList) but LLMs cannot infer structure or plan chaining. Downstream tools cannot be composed reliably.
Descriptions lack LLM-optimization guidance. No explanation of WHEN to call each tool (e.g., when to use lanhu_get_design vs lanhu_get_screenshot), prerequisites (lanhu_login must run first), or what output fields mean. Descriptions are 50 - 65 chars, below the 194-char baseline for A+ tools.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 48 | 2026-07-28+ | v2 |
No error handling or recovery guidance. Tools may fail (auth, network, invalid URL) but provide no actionable error messages. LLMs cannot self-correct or retry intelligently.
Optional parameters (image_id, output_path, format, scale) lack defaults or constraints. LLMs may omit required fields or pass invalid values (e.g., scale=5 when only 1|2|3 valid). No enum constraints visible.