Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Query Downstream Relation

query_downstream_relation

Identify downstream workflow tasks linked to a specified project and task code, helping you trace dependencies and assess the impact of changes.

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": {
      "projectCode": "<projectCode>",
      "taskCode": "<taskCode>"
    },
    "name": "query_downstream_relation"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskCodeYes任务编码
projectCodeYes项目Code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/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 discloses nothing about permissions, whether traversal is single-level or recursive, pagination, or result shape. Only the weak implication of 'query' (a read) is conveyed, which is why this is not a 1.

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 description is a single short phrase with zero redundancy, which is good, but its brevity reflects under-specification rather than disciplined editing. There is no structure to front-load because there is only one clause.

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, and no explanation of what a downstream relation returns or how deep it goes, the definition is thin for a query tool. An agent can guess it is safe and read-only, but cannot tell whether the result is a direct edge list or a full downstream tree.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and both parameters (projectCode, taskCode) are documented in the schema, so the baseline is 3. The description adds no meaning about how the two identifiers combine to select the downstream set, but it is not required to given full schema coverage.

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 phrase '查询下游工作流任务关系' does name a verb (query) and a resource (downstream workflow task relation), which is slightly more specific than the title 'Query Downstream Relation'. However, it is essentially a translated restatement of the tool name and gives no detail on what a 'relation' comprises, so it is only marginally more informative than the identifier itself.

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 guidance at all: nothing distinguishes this from siblings such as query_upstream_relation or query_dependent_lineage_tasks, and no prerequisite or exclusion is stated. The agent must infer the read-only direction semantics purely from the name.

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