Skip to main content
Glama

连接蓝湖页面

lanhu_connect_pages

Connects two Lanhu pages into a local workflow by linking their actual thumbnails and saving flow notes; it errors if a thumbnail is missing or fails to download.

Instructions

使用两个蓝湖页面各自的真实缩略图建立本地流程并保存说明;缺图或下载失败直接报错,禁止截图或其他图片替代。

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": "lanhu_connect_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
replaceNo
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 load: it usefully discloses that it writes a local flow plus a saved description, and that missing/failed thumbnails cause a hard error rather than a fallback. However, it does not state what replace=true destroys, whether the operation is idempotent, or what permissions or auth the Lanhu project requires — significant gaps for an unannotated mutation.

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?

A single dense sentence, front-loaded with the action and followed by the constraint, with no filler. It is compact to the point of terseness, but every clause carries information.

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 7-parameter, 3-required mutation with no annotations and no output schema, the description covers the core behavior and one failure mode but leaves the parameter surface and the return/result almost entirely undocumented.

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 14% (just projectUrl), so the description is responsible for the other six parameters. It only loosely implies fromPageId/toPageId via '两个蓝湖页面' and vaguely gestures at label/description via '保存说明', leaving condition, replace, and their formats and defaults completely unexplained.

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?

The description names a specific verb (建立本地流程, connect) and resource (两个蓝湖页面), and adds the distinctive constraint that the connection must be built from each page's real thumbnail. It is clearly a distinct operation from list/read/capture siblings, though it never states how it differs from the near-identical sibling design_connect_pages.

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?

It states a hard constraint (abort on missing image, no screenshot substitutes) but gives no guidance on when to call this instead of lanhu_get_flow, lanhu_open_flow_editor, or lanhu_capture_page, and no prerequisites such as needing both pages already existing or already downloaded.

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