Skip to main content
Glama

连接设计平台页面

design_connect_pages

Build local page flows by connecting Lanhu, Figma, or Mockplus pages using their real thumbnails; missing or failed image downloads return an error instead of using substitute images.

Instructions

使用 Lanhu、Figma 或 Mockplus 页面各自的真实缩略图建立本地流程;缺图或下载失败直接报错,禁止截图、文件封面或其他图片替代。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectUrl": "<projectUrl>",
      "fromPageId": "<fromPageId>",
      "toPageId": "<toPageId>"
    },
    "name": "design_connect_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
replaceNo
providerNoauto
toPageIdYes
conditionNo
fromPageIdYes
projectUrlYes蓝湖分享或页面 URL
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose one important behavior: if the thumbnail is missing or download fails, the tool errors out rather than falling back. It does not say whether the flow is persisted locally, what happens on duplicate connections, or whether auth/network access is required — significant unknowns for an 8-parameter tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One compact sentence with the core action front-loaded, followed by the failure/fallback constraint. No filler words. Slight density in the prohibition clause but nothing extraneous.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 8 parameters, 3 required, no output schema, and no annotations, the description covers only the image-sourcing rule. It omits what fromPageId/toPageId represent, what the returned flow looks like, and how 'condition' affects the connection — leaving the agent under-informed for correct invocation.

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

Parameters2/5

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

Schema description coverage is only 13%, so the description should compensate but does not. It names no parameters at all: label, condition, description, replace, fromPageId, toPageId, and the provider enum (auto/lanhu/figma/mockplus) are left entirely to the schema, and the semantics of 'condition' and 'replace' remain opaque.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific action: establish a local flow using the real thumbnails of Lanhu/Figma/Mockplus pages. This is a concrete verb+resource, and the mention of three platforms hints at the multi-provider nature of the tool. It does not explicitly distinguish itself from the sibling lanhu_connect_pages, which appears to be the Lanhu-only counterpart.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, and no sibling is named as an alternative. The only guidance is a prohibition (do not substitute screenshots or covers), which is a constraint, not routing guidance. An agent must infer from the provider enum that this tool spans platforms while lanhu_connect_pages does not.

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