Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Move Process Definition

write_move_process_definition

Moves workflow process definitions between projects by specifying the source project, process definition codes, and target project code.

Instructions

batchMoveByCodes

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>",
      "codes": "<codes>",
      "targetProjectCode": "<targetProjectCode>"
    },
    "name": "write_move_process_definition"
  }
}

Input Schema

NameRequiredDescriptionDefault
codesYesPROCESS_DEFINITION_CODES
projectCodeYes路径参数 projectCode
targetProjectCodeYesTARGET_PROJECT_CODE

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.9/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description must carry the full behavioral burden and it carries none. It does not disclose that this is a mutating operation that relocates process definitions between projects, what happens to existing state in the source or target project, whether the move is reversible, 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?

The text is a single unpunctuated token with no front-loaded statement of purpose, subject, or effect. Brevity here reflects under-specification rather than disciplined editing.

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 mutating, three-parameter batch operation with no annotations and no output schema, so the description must explain side effects, target/source semantics, and error behavior. It supplies none of that, leaving an agent unable to call it safely.

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% across the three required parameters, so the schema itself does the documentation work and baseline 3 applies. The description adds no meaning beyond the schema — notably it does not clarify whether codes is a comma-delimited list or how projectCode (string path param) relates to targetProjectCode (integer).

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?

"batchMoveByCodes" is a camelCase identifier rather than a sentence; it hints at a batch move keyed by codes, which is a mild restatement of the tool name write_move_process_definition. It never states the resource (process definitions) or the outcome in prose, so an agent learns nothing it couldn't infer from the name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus the many sibling write tools (e.g. write_copy_process_definition, write_batch_export_process_definition_by_codes). The only implicit signal is 'batch', which suggests multiple items, but no conditions, prerequisites, or exclusions are given.

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