Skip to main content
Glama

获取统一设计流程上下文

design_get_flow_context

Generates a Mermaid diagram of page flows across Lanhu, Figma, and Mockplus, then returns AI-ready development context from the shared project URL.

Instructions

返回跨设计平台页面流程的 Mermaid 图和 AI 开发上下文。

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

Input Schema

NameRequiredDescriptionDefault
pageIdsNo
providerNoauto
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?

No annotations exist, so the description carries the full disclosure burden. It implies a read operation via '返回' but says nothing about authentication, per-provider behavior, how pageIds and includeSidebar affect the result, or what the 'AI development context' portion actually contains. Only the output categories are disclosed, not the behavior.

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

Conciseness3/5

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

A single short sentence with no filler, but it is under-specified rather than tight: the brevity comes at the cost of the parameters and routing information the agent needs. Front-loading the output type is good.

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?

Four parameters (one required, one enum), no output schema, and no annotations make this a tool where the description should do heavy lifting. It mentions the two return components, which is useful given there is no output schema, but leaves all non-required parameters and provider behavior unexplained.

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 25% — just projectUrl is documented. The description does not explain pageIds (scope of pages included), provider (the auto/lanhu/figma/mockplus enum), or includeSidebar, even though 'cross-platform' hints at provider without clarifying it. It fails to 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 names a specific output (a Mermaid diagram of page flow plus 'AI development context') and the scope ('cross-platform'), which is more than a restatement of the name. However, it never distinguishes this tool from the near-identically named siblings lanhu_get_flow_context and design_get_flow, so an agent cannot tell which one to pick from the description alone.

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?

No when-to-use guidance, no prerequisites, and no exclusions are given. Given three sibling tools that appear to return flow context (lanhu_get_flow_context, design_get_flow, lanhu_get_flow), the absence of routing guidance is a real selection risk.

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