Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Query Task Definition List Paging

query_task_definition_list_paging

Retrieves a paginated list of task definitions in a project, with filters for task name, workflow name, task type, and execution type.

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>",
      "pageNo": "<pageNo>",
      "pageSize": "<pageSize>"
    },
    "name": "query_task_definition_list_paging"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoYes页码
pageSizeYes每页条数
taskTypeNo任务类型
projectCodeYes项目编码
searchTaskNameNo任务名称搜索值
taskExecuteTypeNo任务执行类型
searchWorkflowNameNo工作流名称搜索值

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 behavioral burden, yet it discloses only that results are paginated. It says nothing about ordering, maximum page size, permission requirements, how the optional filters combine, or what the response contains — all critical for a 7-parameter query tool with no output schema.

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?

It is a single front-loaded sentence with zero padding; nothing is wasted. The brevity is efficient even if it leaves the definition under-specified, which is penalized in the other dimensions.

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?

For a tool with 7 parameters, 3 of them required, no annotations, and no output schema, one sentence is not enough. The description should at least explain filter combination semantics and paging expectations; instead the agent must rely entirely on the schema.

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 each of the 7 parameters is already documented in the schema, and the baseline is 3. The description adds only the scoping notion that results are constrained to a project, which loosely reinforces projectCode but does not clarify taskType vs taskExecuteType or how search values are matched.

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?

"分页查询项目下的任务定义列表" states a specific verb (paginated query), resource (task definition list), and scope (within a project), which separates it from siblings like query_task_definition_detail or query_task_definition_versions. It stops short of explicitly naming a sibling, so it lands at 4 rather than 5.

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?

The description gives no when-to-use guidance, no exclusions, and no pointer to alternatives such as query_task_definition_detail or get_task_list_by_process_definition_code. Only the word "分页" hints that this is for browsing lists rather than fetching a single definition.

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