Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Batch Start Process Instance

write_batch_start_process_instance

Starts multiple process instances in a DolphinScheduler project in one request, using specified definitions, schedule time, failure strategy, warning settings, and priority.

Instructions

batchStartProcessInstance

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

Input Schema

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

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 provided, so the description carries the full burden of behavioral disclosure, and it discloses nothing. It does not mention that this is a mutating batch operation, what it does to the targeted process definitions, whether dryRun/runMode change the effect, or what permissions are required.

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 one token with zero waste, but that brevity is under-specification rather than conciseness. There is no front-loaded purpose statement or structure for the agent to anchor 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?

A batch mutation with 22 parameters, 7 required, no annotations and no output schema demands far more explanation than a bare identifier. An agent cannot tell what is started, in what scope, or with what side effects, so the definition is inadequate for this complexity.

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 95%, so the schema already documents nearly all 22 parameters, and the baseline of 3 applies even though the description adds no parameter meaning. The description contributes nothing beyond the schema, but the schema itself covers the semantics.

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 the literal tool name in camelCase ("batchStartProcessInstance"), so it only restates the title and adds no independent statement of what the tool does. Nothing distinguishes it from the sibling write_start_process_instance beyond the word "batch", which is already in the name.

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 guidance at all about when to use this tool, when to prefer write_start_process_instance or write_force_start instead, or what preconditions must hold. An agent has to infer everything from the name alone.

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