Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Start Process Instance

write_start_process_instance

Starts a DolphinScheduler workflow process instance using project, process definition, schedule time, failure strategy, warning type, and priority settings.

Instructions

startProcessInstance

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>",
      "scheduleTime": "<scheduleTime>",
      "failureStrategy": "<failureStrategy>",
      "warningType": "<warningType>",
      "processInstancePriority": "<processInstancePriority>"
    },
    "name": "write_start_process_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNo是否空跑
runModeNo运行模式
timeoutNo超时时间
versionNo
execTypeNo指令类型
testFlagNo测试标识
tenantCodeNo操作系统租户
projectCodeYes路径参数 projectCode
startParamsNo
warningTypeYes发送策略
workerGroupNoworker群组
scheduleTimeYes定时时间,空字符串表示当前天
startNodeListNo开始节点列表(节点name)
executionOrderNoEXECUTION_ORDER
taskDependTypeNo任务依赖类型
warningGroupIdNo发送组ID
environmentCodeNo环境代码
failureStrategyYes失败策略
allLevelDependentNoALL_LEVEL_DEPENDENT
processDefinitionCodeYes流程定义编码
complementDependentModeNo补数依赖的类型
processInstancePriorityYes流程实例优先级
expectedParallelismNumberNo补数任务自定义并行度

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 behavioral burden and delivers none of it. It does not say that this triggers a real workflow run, what failureStrategy or warningType imply operationally, whether dryRun exists as a safety valve, or whether the call is idempotent or reversible.

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 single token is technically brief, but this is under-specification rather than conciseness. There is nothing front-loaded because there is nothing at all, and no structure to guide an agent through a 23-parameter mutation.

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?

This is a high-complexity mutation with 23 parameters, 6 required, no annotations, and no output schema. The description supplies zero information about triggering behavior, expected response, or parameter interactions, leaving the agent entirely dependent on field-level schema text.

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 91% across 23 parameters (6 required), so the schema itself already documents nearly every field, including the Chinese descriptions for dryRun, workerGroup, and scheduleTime semantics. The description adds no meaning beyond the schema, which is the baseline 3 case rather than a failure.

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 bare token "startProcessInstance", a camelCase restatement of the tool name rather than a plain-language statement of what the tool does. An agent can infer it starts a process instance, but nothing about scope, side effects, or how it differs from write_batch_start_process_instance or write_force_start is conveyed.

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 prerequisites, and no mention of any alternative. The sibling list contains several plausibly overlapping tools (batch start, force start, start-check), and the definition gives the agent nothing to discriminate 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