Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Query Dynamic Sub Workflow Instances

query_dynamic_sub_workflow_instances

Retrieve dynamic sub-workflow instances by project code and task instance ID to inspect their execution details.

Instructions

查询动态子工作流实例

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>",
      "taskId": "<taskId>"
    },
    "name": "query_dynamic_sub_workflow_instances"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYes任务实例ID
projectCodeYes项目编码

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2/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, yet it discloses nothing beyond the read implication of '查询' — no result shape, no pagination, no scope or permission constraints, no behavior when taskId belongs to a non-sub-workflow task. For an unannotated query tool this is effectively zero added disclosure.

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 short phrase with no wasted words, but the brevity stems from under-specification rather than discipline — there is no front-loaded statement of scope, result, or relationship to the parent workflow. Conciseness here buys nothing because there is no substantive content to compress.

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?

The tool itself is simple (two required integer params, complete schema, no output schema), but the description leaves ambiguous the central domain question: what a 'dynamic sub workflow instance' is and how the returned set relates to the taskId provided. Given the dense cluster of similar-sounding sibling query tools, more context is needed to disambiguate.

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 taskId and projectCode documented inline as '任务实例ID' and '项目编码', so the schema already does the explanatory work. The description adds no meaning beyond that, which matches the baseline of 3 for high-coverage schemas.

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?

The description is a direct restatement of the tool name/title ('查询动态子工作流实例' = query dynamic sub workflow instances), with no elaboration of what a dynamic sub workflow instance is or how it differs from the many sibling query tools. It names a verb and resource, but only by echoing the identifier, so an agent learns nothing it did not already read in the name.

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 when-to-use guidance, no exclusions, and no pointer to alternatives such as query_parent_instance_by_sub or query_sub_process_instance_by_task, which appear to be closely related. The agent must infer the tool's role purely from its 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