Skip to main content
Glama
MrDgbot
by MrDgbot

lanhu_design

Analyze Lanhu design projects by providing a project URL. Choose mode: list designs, analyze with HTML/CSS/tokens, extract slices, or get tokens only. Supports design selection by name, index, or 'all'. Use with detailDetach URLs.

Instructions

Unified Lanhu design tool. Supports listing, analyzing, extracting tokens, and getting slices.

Modes:

  • list: List all designs in the project

  • analyze: Full design analysis with HTML+CSS, tokens, layout (default)

  • slices: Extract slice/asset info for download

  • tokens: Extract design tokens only (fonts, colors, shadows, etc.)

For detailDetach URLs (contains image_id), pass design_names='all'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesLanhu project URL. Supports stage and detailDetach formats.
modeNoOperation mode. Default: analyze.analyze
design_namesNoDesign name(s), index, or 'all'. Required for analyze/slices/tokens. Number = index from list, exact string = match by name or id.
includeNoContent to include in analyze mode. Default: ['html', 'tokens']. Options: html, image (base64), tokens, layout, layers, slices.
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses the unified nature, modes, and special URL handling. However, it does not mention any side effects, authentication needs, or rate limits, which would be helpful.

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 well-structured with a clear overview, bulleted modes, and a concise note on detailDetach URLs. Every sentence is informative and earns its place.

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 no output schema and no annotations, the description covers the essential functionality well. It could mention what each mode returns, but the modes are self-explanatory. The lack of output schema is compensated by the detailed mode descriptions.

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 the description adds value beyond schema by explaining the relationship between modes and parameters, especially design_names requirement for analyze/slices/tokens and include default. It also explains special URL formats.

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 'Unified Lanhu design tool' and lists four distinct modes (list, analyze, slices, tokens), each with a specific verb and resource. It distinguishes itself from siblings lanhu_page and lanhu_resolve_invite_link by focusing on design-level operations.

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 explains when to use each mode and mentions special handling for detailDetach URLs with design_names='all'. However, it doesn't explicitly state when not to use this tool or provide alternatives for overlapping functionality.

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/MrDgbot/lanhu-mcp'

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