Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Delete Upstream Relation

write_delete_upstream_relation

Deletes upstream task dependencies from a DolphinScheduler workflow task by specifying project, task, and predecessor task codes.

Instructions

deleteUpstreamRelation

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>",
      "preTaskCodes": "<preTaskCodes>"
    },
    "name": "write_delete_upstream_relation"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskCodeYes路径参数 taskCode
projectCodeYes路径参数 projectCode
preTaskCodesYesPRE_TASK_CODES

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 burden, yet it discloses nothing: no statement that this is an irreversible mutation, no permission or dependency requirements (e.g. whether tasks must exist), no effect on related relations, and no confirmation behavior. For a destructive delete operation with zero annotation coverage this is a critical gap.

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 only because it says nothing; a bare identifier is under-specification, not conciseness. There is no structure, no front-loaded purpose statement, and no information an agent could act on.

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?

For a 3-required-parameter destructive tool with no annotations and no output schema, the description should explain what is removed, what it depends on, and what happens on success. None of that is present, leaving the agent to guess from the name alone.

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%, so the three required parameters (projectCode, taskCode, preTaskCodes) are already documented in the schema and the baseline is 3. The description adds no meaning beyond the schema, but it also does not need to per the coverage rule.

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 'deleteUpstreamRelation' with no verb, resource, or scope spelled out in prose. An agent can infer a delete of an upstream relation only by decoding the identifier, which is tautology rather than description. It does not distinguish this tool from the near-identical sibling delete_upstream_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?

There is no when-to-use guidance, no prerequisites, and no routing to alternatives such as query_upstream_relation or write_delete_downstream_relation. The sibling list contains a snake_case duplicate (delete_upstream_relation), and the description gives no basis for choosing between them.

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