Skip to main content
Glama

读取统一设计流程

design_get_flow

Reads flow nodes and connections from Lanhu, Figma, or Mockplus project URLs so you can map design page workflows locally.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only hints via '本地' (local) that results may come from local project data rather than a live remote fetch. It says nothing about authentication/share-link requirements, behavior when the provider is 'auto' versus explicit, paging limits for pageIds, or what happens if a provider is unreachable.

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?

It is a single front-loaded sentence with zero filler, which is structurally clean. However, at this length it is under-specified rather than appropriately concise for a four-parameter, three-provider tool.

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?

With no annotations, no output schema, 25% parameter coverage and only one required parameter explained, the description leaves too much unexplained: the shape of returned nodes/edges, how provider='auto' is resolved, and what includeSidebar (defaulting to true) pulls in. A tool spanning three design providers needs more than one sentence.

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% — only projectUrl carries a description ('蓝湖分享或页面 URL'). The description adds a little value by enumerating Lanhu/Figma/Mockplus, which maps onto the provider enum, but pageIds and includeSidebar remain undocumented in both places, leaving half the parameters opaque for a multi-provider read.

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 states a concrete verb plus resource — reads flow nodes and connections — and names the three supported design providers (Lanhu, Figma, Mockplus), so an agent knows what comes back without opening the schema. It stops short of differentiating itself from close siblings like design_get_flow_context or lanhu_get_flow; the word '本地' (local) hints at a distinction but never makes it explicit.

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 when-to-use or when-not-to-use guidance: the description never says to prefer design_get_flow_context when surrounding hierarchy is needed, nor how this differs from the provider-specific lanhu_get_flow. The agent must infer usage purely from the tool name.

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