Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Query Task Group By Project

query_task_group_by_project

Fetches task groups for a specified project using pagination, enabling AI agents to browse grouped tasks by project code, page number, and page size.

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": {
      "pageNo": "<pageNo>",
      "projectCode": "<projectCode>",
      "pageSize": "<pageSize>"
    },
    "name": "query_task_group_by_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoYes页码
pageSizeYes每页条数
projectCodeYes项目编码

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure, yet it says nothing about whether this is a read-only operation, what permissions are needed on the project, how results are ordered, or what the response looks like. The phrase '分页查询' hints at pagination but pageNo/pageSize are already in the schema, so no genuine behavioral context is added.

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

Conciseness3/5

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

It is a single front-loaded phrase with zero wasted wording, which is structurally clean. However, the brevity crosses into under-specification: there is no sentence that earns extra value, because none is present.

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?

This is a query tool with no output schema, so the description should at least characterize what a task group record contains or how pages behave; it does neither. With three required parameters and no annotations, the definition leaves the agent guessing about permissions, result contents, and ordering.

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%, so all three parameters (pageNo 页码, pageSize 每页条数, projectCode 项目编码) are already documented in the schema. The description adds no meaning beyond that, such as paging limits, default sort, or projectCode format — baseline 3 applies when the schema does the heavy lifting.

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 reads as a direct restatement of the tool name/title: 'query task groups by project, paginated' adds only the word '分页' (pagination), which is already evident from the pageNo/pageSize parameters. It does not articulate scope, ordering, or how results differ from siblings like query_task_group_by_status or query_all_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 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 mention of when this is preferable to query_task_group_by_status or query_all_task_group, and no prerequisites such as authorization on the project. The only implied usage is that a project code is required, which is already enforced by the schema's required list.

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