Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Update Process Definition

write_update_process_definition

Updates an existing workflow process definition in DolphinScheduler, including name, node layout, task relations, task definitions, and optional release state.

Instructions

update

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": "<name>",
      "locations": "<locations>",
      "taskRelationJson": "<taskRelationJson>",
      "taskDefinitionJson": "<taskDefinitionJson>"
    },
    "name": "write_update_process_definition"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes路径参数 code
nameYes流程定义名称
timeoutNo
locationsYes流程定义节点坐标位置信息(json格式)
descriptionNo流程定义描述信息
projectCodeYes路径参数 projectCode
globalParamsNo
releaseStateNo发布流程定义
executionTypeNo
taskRelationJsonYes
taskDefinitionJsonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.3/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 of behavioral disclosure, and it discloses nothing. It does not say what is mutated, whether the update is partial or full replacement, whether publishing/release state changes, whether it requires an existing definition, or whether it is reversible or idempotent.

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?

One word is technically concise but represents under-specification rather than economy of expression. There is no front-loaded statement of purpose because there is no content at all.

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 mutation tool with 11 parameters, 6 required, no annotations, and no output schema, this description is completely inadequate. An agent cannot safely construct a call from it; it would have to rely entirely on schema field names and guesswork.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 11 parameters, only 6 documented in the schema (55% coverage), the description must compensate for the undocumented ones, and it provides zero parameter information. The vague 'update' also gives no clue which parameters are the update payload versus identifiers, nor how taskRelationJson and taskDefinitionJson must be shaped.

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 the single word "update", which merely restates the verb already present in the tool name. It names no resource, scope, or effect, so an agent learns nothing beyond the fact that some mutation occurs; the resource ('process definition') is only inferable from the name itself.

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 when-not-to-use guidance, and no reference to any alternative such as write_create_process_definition or write_release_process_definition. Nothing indicates under what conditions an agent should call this tool rather than a sibling.

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