Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Create Process Task Relation

write_create_process_task_relation

Creates a directed task dependency in a DolphinScheduler workflow by linking pre-task and post-task codes within a process definition.

Instructions

save

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": "write_create_process_task_relation"
  }
}

Input Schema

NameRequiredDescriptionDefault
preTaskCodeYesPRE_TASK_CODE
projectCodeYes路径参数 projectCode
postTaskCodeYesPOST_TASK_CODE
processDefinitionCodeYes流程定义编码

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.4/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 it discloses nothing: not that this is a mutation, not whether it is idempotent, not what happens on duplicate or missing task codes, and not what the response contains.

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?

A one-word description is not concise so much as under-specified; there is no structure, no front-loaded statement of purpose, and nothing that earns its place beyond the title.

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 four-parameter mutation tool with no annotations and no output schema, the definition is completely inadequate — an agent cannot tell what the tool does, when to call it, or what it returns from the description 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 schema itself documents all four required parameters and the baseline of 3 applies. The description adds no meaning beyond the schema — it does not even clarify that preTaskCode/postTaskCode are task definition codes rather than task instance IDs.

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

Purpose1/5

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

The description is a single word, "save", which merely restates the write/create implication already present in the tool name. It does not say that a relation between a pre-task and a post-task within a process definition is being created, nor does it distinguish this tool from siblings such as create_process_task_relation.

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 when-to-use guidance, no mention of prerequisites (e.g. the tasks and process definition must already exist), and no reference to alternatives like create_process_task_relation or the delete/query relation siblings.

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