Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Stop Task

write_stop_task

Stops a running task in a DolphinScheduler project using its project code and task ID, letting AI agents halt task execution through the REST API.

Instructions

stop

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

Input Schema

NameRequiredDescriptionDefault
idYes路径参数 id
projectCodeYes路径参数 projectCode

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.2/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 burden, yet it discloses nothing about mutability, permissions, whether stopping is graceful or forceful, whether a running task loses progress, or what happens to already-stopped tasks. "stop" conveys only the vaguest notion of a state change.

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

Conciseness1/5

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

A single lowercase word with no structure and no front-loaded statement of purpose. This is under-specification, not conciseness; it fails to earn even the one word it spends.

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 two-required-parameter mutation tool with no annotations and no output schema, so the description must supply all behavioral context. It supplies none, leaving the agent unable to call it safely or correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is nominally 100%, but both fields are documented only as "路径参数 id" and "路径参数 projectCode" (path parameters), which identifies position but not what entity the id names or what projectCode scopes. The description adds zero semantic value on top of that minimal labeling, so it does not compensate for the thin schema text.

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?

"stop" is a bare fragment that merely echoes the verb in the tool name and never names the resource, scope, or effect. An agent cannot tell from this text whether it stops a single task instance, a task group, or a stream, nor how it differs from siblings such as write_start_task_group or write_close_task_group.

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, no prerequisites, and no mention of any alternative among the many task-related siblings. The single word gives the agent nothing to route on.

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