Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Get Lineage By Name

get_lineage_by_name

Retrieve a workflow lineage list by name in a DolphinScheduler project to trace dependencies and data flow.

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": {
      "project_code": "<project_code>"
    },
    "name": "get_lineage_by_name"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_codeYes项目Code
work_flow_nameNo

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 supplied, the description carries the full burden and does little with it. It does not say whether lineage is upstream, downstream, or both, whether results are paginated or depth-limited, what permissions the project scope requires, or what the returned list contains.

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?

The single sentence is compact and front-loaded with the verb and resource, so nothing is padded. Brevity here is under-specification rather than efficiency, since the same short sentence could have carried one clarifying clause about the optional name filter.

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 no annotations, no output schema, and only half the parameters described in the schema, the description is too thin. An agent cannot reliably predict the return shape, the direction of the lineage, or the behavior when only project_code is supplied.

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 50%, so the description needs to compensate and does not. Its 'by name' phrasing actually conflicts with the schema, where work_flow_name is optional and project_code is the sole required field; it never explains what omitting work_flow_name yields (all workflows in the project, presumably) or how project_code scopes the query.

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 does name a specific verb and resource ('query workflow lineage list by name'), so the general intent is graspable. However, it gives no hint of how this lineage listing differs from the sibling tool query_dependent_lineage_tasks, and the stated 'by name' framing is misleading given that work_flow_name is optional while project_code is the required parameter.

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 choose this tool over the other lineage-related sibling, no prerequisites, and no statement of what kind of situation calls for a lineage lookup. The agent is left to infer everything from the name alone.

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

Deploy Server

Other Tools