Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Update Process Instance

write_update_process_instance

Update a process instance's task definitions, task relations, global parameters, timeout, and schedule settings in DolphinScheduler; optionally sync the changes to the process definition.

Instructions

updateProcessInstance

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>",
      "id": "<id>",
      "taskRelationJson": "<taskRelationJson>",
      "taskDefinitionJson": "<taskDefinitionJson>",
      "syncDefine": "<syncDefine>"
    },
    "name": "write_update_process_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes路径参数 id
timeoutNoPROCESS_TIMEOUT
locationsNo流程实例节点坐标位置信息(json格式)
syncDefineYes更新流程实例的信息是否同步到流程定义
projectCodeYes路径参数 projectCode
globalParamsNoPROCESS_GLOBAL_PARAMS
scheduleTimeNo定时时间,空字符串表示当前天
taskRelationJsonYesTASK_RELATION_JSON
taskDefinitionJsonYes任务定义JSON

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 disclosure burden, yet it says nothing about mutation semantics, permissions, or whether omitted fields (timeout, locations, globalParams) are cleared. For a write tool that replaces taskRelationJson and taskDefinitionJson, the silence about destructive effects is a serious 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?

The single fragment is short but that is under-specification rather than conciseness; there is no front-loaded statement of action or outcome. Nothing is structured for the agent to 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?

With 9 parameters (5 required), no annotations, and no output schema, this definition should explain the update scope and side effects. It supplies none of that, so an agent cannot judge whether calling it is safe or what state results.

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 every parameter is documented in the input schema and the baseline is 3. The description adds no meaning beyond the schema, but it also does not need to compensate for a coverage gap.

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 identifier "updateProcessInstance", which restates the tool name/title without adding a specific verb phrase, resource scope, or any differentiation from siblings such as write_update_process_definition. An agent learns nothing about what is actually updated (topology, schedules, global params) beyond the word 'update'.

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?

No guidance at all on when to use this tool versus alternatives. There is no mention of preconditions, no exclusion of related tools like write_update_process_definition or write_start_process_instance, and no note that existing instances must already exist.

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