Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Close Task Group

write_close_task_group

Closes a DolphinScheduler task group by ID, taking the group offline so new tasks cannot use its concurrency slots.

Instructions

closeTaskGroup

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": {
      "id": "<id>"
    },
    "name": "write_close_task_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID

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 it discloses nothing: not whether closing is reversible, what happens to running tasks inside the group, what permissions are needed, or what is returned. With no annotations and no behavioral text, a closed/destructive-looking write is completely opaque.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a single token with no structural waste, but this is brevity by omission rather than by editing; there is no front-loaded statement of purpose or constraint to evaluate.

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 write/mutating lifecycle operation with zero annotations, no output schema, and no explanation of effect or reversibility, the definition leaves an agent unable to predict consequences of invoking it.

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?

There is a single required parameter and the schema covers it at 100%, so the schema carries the parameter documentation. The description adds no meaning beyond the field, but per the high-coverage baseline a 3 is appropriate.

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?

"closeTaskGroup" merely restates the tool name in camelCase; it names a verb and a resource, but adds no scope, target system semantics, or clarification about what a 'task group' is or what 'close' means for it.

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 close a task group versus siblings such as write_start_task_group, write_update_task_group, or write_delete_task_definition_by_code. The agent must infer the operation's place in the lifecycle 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