Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Create Task Definition

write_create_task_definition

Creates and saves a DolphinScheduler task definition for a specified project by submitting the project code and task-definition JSON.

Instructions

save

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>",
      "taskDefinitionJson": "<taskDefinitionJson>"
    },
    "name": "write_create_task_definition"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectCodeYes路径参数 projectCode
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 bears the full burden of behavioral disclosure and delivers nothing: it does not say whether the call creates or overwrites, whether a version is produced, what permissions or project scope are required, or whether the operation is destructive. "save" does not even confirm the mutation semantics implied by the write_ prefix.

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 word is technically short but is under-specification rather than conciseness; there is no front-loaded statement of purpose or scope. Nothing in the text earns its place because it conveys no actionable information.

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 creation/mutation tool with no annotations and no output schema, the description should at minimum state what is created, where it lands, and what comes back. None of that is present, leaving the agent unable to invoke the tool correctly from the definition alone.

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% for both required parameters (projectCode, taskDefinitionJson), so the schema already documents the inputs. The description adds no meaning beyond it — notably it gives no hint about the expected shape or schema of the taskDefinitionJson string, which is the most error-prone input.

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?

"save" is a bare verb that names no resource and does not distinguish this create-task-definition tool from the many sibling write_create_* tools. The tool name carries nearly all of the meaning; the description adds no scope, no target object, and no output expectation.

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 at all, no mention of alternatives such as write_update_task_definition or write_release_task_definition, and no statement of when this tool should not be used. An agent must infer entirely from the name.

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