Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Verify Task Can Delete

write_verify_task_can_delete

Checks whether a task can be deleted by validating project, workflow, and task codes, helping prevent removal of tasks that are still in use.

Instructions

verifyTaskCanDelete

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>",
      "taskCode": "<taskCode>"
    },
    "name": "write_verify_task_can_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskCodeYes任务定义代码
projectCodeYes路径参数 projectCode
processDefinitionCodeYes流程定义编码

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.9/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 disclosure burden and provides none. It does not say whether this mutates state, what permission model it checks, what it returns on success/failure, or whether it is safe to call repeatedly.

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 short but not concise in any useful sense — a single bare token with no front-loaded verb, scope, or qualifier. Under-specification, not economy of wording.

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 three-required-parameter verification tool with no annotations and no output schema needs the description to explain the check and its result; the description supplies nothing at all.

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% (taskCode, projectCode, processDefinitionCode each documented), so the schema already carries parameter meaning. The description adds no clarification about why all three identifiers are needed together, so the baseline of 3 applies.

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?

The description is just the camelCase tool name restated as "verifyTaskCanDelete" with no expansion. It hints at a permission/eligibility check before a task deletion, but never states the resource, the check's outcome, or how it differs from siblings like write_delete_task_definition_by_code.

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, no precondition statement, and no mention of any alternative tool. An agent must infer from the name alone that this is a pre-deletion safety check rather than the deletion itself.

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