Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Query Executing Workflow

query_executing_workflow

Query currently executing workflow instances by process definition ID or instance ID within a project to monitor active runs and troubleshoot in-progress jobs.

Instructions

按流程定义ID或实例ID查询正在执行的流程实例

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>",
      "processInstanceId": "<processInstanceId>"
    },
    "name": "query_executing_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes流程定义ID
projectCodeYes项目编码
processInstanceIdYes流程实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full disclosure burden. It implies a read-only query but says nothing about permissions/project scoping, whether results are paginated, what happens when no executing instance matches, or what shape the response takes.

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

Conciseness4/5

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

A single compact sentence with no filler, front-loading the lookup keys and the 'currently executing' qualifier. It is efficient, though its brevity is part of why the behavioral and guidance gaps exist.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and three required parameters, the description should do more work. It does not clarify result format, empty-result behavior, project scoping, or how the two identifier paths interact, which leaves an agent under-informed for a multi-key query tool.

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 coverage is 100%, with each of the three parameters documented inline, so the baseline is 3. The description adds a mild but real tension: it frames lookup as 'by definition ID OR instance ID', while the schema requires all three including projectCode, which could mislead an agent into omitting one.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb (查询/query) and a specific resource (正在执行的流程实例 / currently executing process instances), scoped by definition ID or instance ID. It is clear what the tool returns, but it never distinguishes itself from nearby siblings such as query_process_instance_by_id or query_process_instance_list, so an agent must guess which one applies.

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 explicit when-to-use or when-not-to-use guidance, and no alternative tool is named. The phrase '正在执行' implies a status filter, but nothing tells the agent how this differs from querying a single instance by ID or listing instances, leaving the selection decision entirely to inference.

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