Skip to main content
Glama

读取蓝湖页面流程

lanhu_get_flow

Retrieve locally saved page connections and optionally refresh Lanhu sidebar page metadata to maintain accurate design navigation maps.

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>"
    },
    "name": "lanhu_get_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdsNo
projectUrlYes蓝湖分享或页面 URL
includeSidebarNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden. It hints at two behaviors: data is read from a local cache, and left-side page metadata may be refreshed. It does not say whether the refresh writes to Lanhu, whether it requires auth, whether it can fail, or what the cached data looks like.

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 compact sentence with the primary action front-loaded and no filler. It is arguably too short rather than too long, but nothing in it is wasted.

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?

No output schema and no annotations, so the description must explain return shape, caching behavior, and the refresh side effect, yet it does none of these. For a three-parameter tool whose semantics are only partly documented, this is materially incomplete.

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 coverage is only 33%: only projectUrl is documented in the schema. The description never mentions pageIds (which pages to include) or includeSidebar, whose default true and link to '刷新蓝湖左侧页面元数据' remain unstated. It does not compensate for the coverage gap.

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

Purpose3/5

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

The description states a specific verb+resource: reading locally saved page connections (页面连线). However, it offers no differentiation from the near-identical sibling tools lanhu_get_flow_context and design_get_flow, so an agent cannot tell from the text which one returns flows versus flow context.

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 guidance on when to use this instead of lanhu_get_flow_context, design_get_flow, or lanhu_read_page, and no prerequisites or exclusions are given. Usage must be inferred entirely from the name.

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