Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Import Process Definition

write_import_process_definition

Imports a workflow process definition into a specified DolphinScheduler project using its project code and a JSON request body.

Instructions

importProcessDefinition

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>",
      "body": "<body>"
    },
    "name": "write_import_process_definition"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes请求体 JSON 字符串
projectCodeYes路径参数 projectCode

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 carries the full behavioral burden and delivers nothing. It does not say whether an import overwrites an existing definition, creates a new version, validates the body, requires project-level permissions, or is reversible — all critical for a mutation tool whose only payload is an opaque JSON string.

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 token is technically concise but is under-specification rather than efficient structure; there is nothing front-loaded because there is nothing to load. Every possible useful sentence was omitted.

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 no annotations, no output schema, and a raw-JSON body parameter whose shape is undefined anywhere, the definition is completely inadequate. An agent cannot know what a valid body looks like, what import semantically does, or what to expect on success.

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?

With schema coverage at 100% and only two parameters, the schema already documents both fields (projectCode as a path parameter, body as a JSON string). The description adds no meaning beyond the schema, so the baseline of 3 applies. It could have added value by describing the expected body structure, which the schema leaves completely opaque.

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 only "importProcessDefinition", a camelCase restatement of the tool name. It conveys no verb-plus-resource scope, no statement of what an import actually does (overwrite, new version, merge), and gives the agent no way to distinguish it from siblings such as write_copy_process_definition or write_create_process_definition. This is tautology rather than a purpose statement.

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 when-to-use guidance at all: no prerequisites, no conditions under which import is preferred over create/copy/update, and no mention of any sibling alternative. An agent must infer usage entirely from the name in the context of a large write-tool catalog.

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