Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Delete Task Definition By Code

write_delete_task_definition_by_code

Deletes a task definition by project code and task code in Apache DolphinScheduler, helping remove obsolete task definitions from a project.

Instructions

deleteTaskDefinition

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

Input Schema

NameRequiredDescriptionDefault
codeYes路径参数 code
projectCodeYes路径参数 projectCode

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.7/5.0
Behavior1/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, and it discloses nothing: not whether deletion is hard or soft, whether it is reversible, what dependent objects (versions, process relations, schedules) are affected, or what permissions are required. For a destructive mutation this is a critical omission.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single identifier-length string, so there is no wasted wording, but this is under-specification rather than conciseness. Nothing is front-loaded beyond the bare tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A destructive, irreversible-looking operation with no annotations, no output schema, and no description of effects or return behavior. An agent cannot safely decide whether or how to call this from the definition provided.

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 (code, projectCode) are documented in the schema as path parameters, so the baseline of 3 applies. The description itself adds no meaning about the identifier formats or how code is scoped by projectCode.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"deleteTaskDefinition" is a verb+resource, but it is only the tool name restated in camelCase with zero added specificity — no mention of what a task definition is, what scope it is deleted at, or which sibling delete tools differ from it. Sibling names like write_delete_task_definition_version and write_verify_task_can_delete are indistinguishable from this one based on the description alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance at all: no when-to-use, no when-not-to-use, no prerequisites (e.g., the sibling write_verify_task_can_delete), and no indication of whether this deletes a whole definition or only a specific version. An agent has nothing to route on.

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