Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Batch Delete Process Instance By Ids

write_batch_delete_process_instance_by_ids

Deletes multiple process instances in a project by their IDs, using projectCode and comma-separated processInstanceIds. Removes specified execution records in batch.

Instructions

batchDeleteProcessInstanceByIds

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>",
      "processInstanceIds": "<processInstanceIds>"
    },
    "name": "write_batch_delete_process_instance_by_ids"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectCodeYes路径参数 projectCode
processInstanceIdsYes流程实例ID集合,如果有多个流程实例则用 "," 分隔

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 provided, so the description carries the full behavioral burden, yet it discloses nothing. It does not state that this is destructive, whether running instances can be deleted, what happens to partial failures, or what errors occur for unknown IDs.

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?

It is a single token with zero structural waste, but this is under-specification rather than conciseness. There is no front-loaded statement of effect or scope for an agent to act on.

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 destructive, annotation-free batch mutation with no output schema, the definition provides no information about consequences, limits, or result shape. It is not sufficient for an agent to call this 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%, with both projectCode and processInstanceIds documented in the schema itself, including the comma-separated convention for multiple IDs. Per the high-coverage baseline, this is a 3, though the description adds nothing on top.

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?

"batchDeleteProcessInstanceByIds" is a camelCase restatement of the tool name, not an independent explanation of purpose. It technically signals a batch delete of process instances, but it offers no differentiation from the closely related sibling write_delete_process_instance_by_id.

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 whatsoever: no indication of when batch delete is preferable to single-instance delete, no prerequisites, and no warnings about scope.

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