Skip to main content
Glama
andyjin5

蓝湖 Design Schema MCP

by andyjin5

lanhu_search_design_nodes

Read-only

Paginate search results for design nodes using filters like id, name, path, or text. Returns node metadata including geometry and design system identity. Ideal for navigating large designs or finding specific node IDs.

Instructions

分页检索单张设计图的轻量节点目录,返回 id/路径/几何/文案/DS 身份/visible。包含 full/summary 默认裁剪的隐藏节点;大型稿或需要定位 node_ids 时优先使用。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes蓝湖 URL,pid 必需。支持 detailDetach(含 image_id)、stage/product 等格式,例:https://lanhuapp.com/web/#/item/project/detailDetach?tid=xxx&pid=xxx&image_id=xxx
limitNo每页数量,默认和最大均为 100
queryNo按 id、图层名、路径、文案或 component 模糊搜索
designNo目标设计图:index 数字(lanhu_get_designs 返回的 index 字段)、设计图 id(uuid)或完整名称。URL 里已带 image_id 时可省略。
offsetNo分页偏移,默认 0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint. The description adds context about pagination, return fields, and inclusion of hidden nodes, which is valuable beyond the annotations.

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 concise two-sentence paragraph that front-loads the purpose and includes key details without redundancy. Every sentence adds value.

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?

The description covers what the tool returns, when to use it, and mentions pagination. Without an output schema, it provides a good overview. Could mention support for fuzzy search via query parameter, but overall complete for a search tool.

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 parameters are fully documented. The description does not add per-parameter details but provides overall context that the tool is paginated and returns specific fields, which is baseline sufficient.

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 that the tool searches a paginated node directory for a single design, returning specific fields (id, path, geometry, copy, DS identity, visible). This distinguishes it from sibling tools like preview, designs, schema, and slices.

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 explicitly says to prioritize this tool for large designs or when locating node_ids. It implies alternatives but does not explicitly list when not to use or name other tools.

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

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