Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Delete Edge

delete_edge

Removes the connection line between an upstream and a downstream task in a DolphinScheduler workflow DAG, letting you rewire task dependencies after a project or process definition change.

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>",
      "processDefinitionCode": "<processDefinitionCode>",
      "preTaskCode": "<preTaskCode>",
      "postTaskCode": "<postTaskCode>"
    },
    "name": "delete_edge"
  }
}

Input Schema

NameRequiredDescriptionDefault
preTaskCodeYes上游任务编码
projectCodeYes项目Code
postTaskCodeYes下游任务编码
processDefinitionCodeYes流程定义编码

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure, and it adds almost nothing. It does not state that the edge must already exist, whether the operation is idempotent, what permissions are required, or what happens to the surrounding process definition when the link is removed. For a mutation tool with zero annotation coverage this is a significant gap.

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 short phrase is front-loaded and contains no filler, but its brevity here is under-specification rather than efficiency. There is no wasted wording, but also no structural help for the agent.

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 four required parameters, no annotations, no output schema, and a destructive operation, the description should say more about the effect of the deletion. It conveys only the resource being removed, leaving the agent to infer consequences, prerequisites, and return behavior entirely.

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%: all four parameters (projectCode, processDefinitionCode, preTaskCode, postTaskCode) are documented in the schema itself. The description adds no extra meaning about how these codes jointly identify the edge, so the baseline 3 applies.

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 has a specific verb+resource pair: '删除' (delete) plus '工作流任务连接线' (workflow task connection line), so an agent knows this removes an edge between two workflow tasks. It does not distinguish itself from siblings such as write_delete_edge, delete_upstream_relation, or delete_downstream_relation, which is the only thing keeping it below a 5.

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?

The description contains no when-to-use guidance, no prerequisites, and no mention of alternatives. The agent is given no signal about when to delete an edge versus using a relation-deletion sibling, so 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.

Deploy Server

Other Tools