Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Get Project Worker Group

get_project_worker_group

Retrieves worker groups for a specified DolphinScheduler project by project code, enabling users to inspect available worker groups for task scheduling.

Instructions

QUERY_WORKER_GROUP_LIST

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": {
      "project_code": "<project_code>"
    },
    "name": "get_project_worker_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_codeYes项目Code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.8/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 of behavioral disclosure, and it discloses nothing. It does not state that this is a read-only lookup, whether permissions or project scoping are required, whether results are paginated, 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.

Conciseness2/5

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

The text is short, but brevity here reflects under-specification rather than economy; there is no sentence structure, no front-loaded purpose statement, and nothing that earns its place as an explanation.

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 (one required param, no nesting), but with zero annotations and no output schema the description should at minimum say it is a read operation and what the returned group list represents. None of that is present, leaving the definition inadequate for correct selection.

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?

With a single parameter at 100% schema description coverage, the schema already documents project_code and the baseline is 3. The description adds no syntax, format, or scoping meaning beyond that, so it neither helps nor misleads.

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 the bare token "QUERY_WORKER_GROUP_LIST", which merely restates the tool name/title in an all-caps code form rather than stating a verb and resource in prose. It gives no indication of what a "worker group" contains or what is being queried, so an agent cannot distinguish this from siblings such as get_worker_groups or get_all_worker_groups based on the text alone.

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 exclusions, and no mention of alternatives. Given many closely related siblings (get_worker_groups, get_all_worker_groups, get_worker_address_list), the absence of routing guidance leaves the agent to guess from names alone.

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