Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Delete Task Process Relation

delete_task_process_relation

Deletes a task-to-workflow relation using project, task, and process definition codes, allowing obsolete task associations to be removed from a DolphinScheduler workflow.

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

Input Schema

NameRequiredDescriptionDefault
taskCodeYes任务编码
projectCodeYes项目Code
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 disclosing behavior. It signals that the operation is destructive ('删除'), but it says nothing about permissions, whether deletion cascades, whether it is idempotent, or what happens if the relation does not exist.

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 front-loaded phrase with zero wasted words. However, its brevity reflects under-specification rather than disciplined conciseness, since it omits behavior and usage context entirely.

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?

This is a destructive mutation tool with no annotations and no output schema, yet the description offers only a four-word label. An agent lacks the behavioral context needed to call this safely against the many similar relation-deletion siblings.

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 all three required parameters (projectCode, taskCode, processDefinitionCode) are documented in the schema itself. The description adds no meaning beyond the schema, so the baseline of 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 names a specific verb ('删除' / delete) and a specific resource ('工作流任务关系' / workflow task relation), so an agent can tell what the tool acts on. However, it does not differentiate itself from closely related siblings such as delete_downstream_relation, delete_upstream_relation, or the similarly named write_delete_task_process_relation.

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 guidance on when to use this tool versus the many sibling relation-deletion tools. It also omits prerequisites, such as whether the relation must exist or whether the parent task or process must be in a particular state.

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