Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Query Schedule List Paging

query_schedule_list_paging

Retrieve paginated schedule configurations for a workflow definition using project code, required process definition code, page number and size, with optional name search.

Instructions

分页查询某流程定义下的定时调度配置。processDefinitionCode 必填:DolphinScheduler 的 /schedules 接口在缺少该参数时返回 10080,容易被误判成权限问题。

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

Input Schema

NameRequiredDescriptionDefault
pageNoYes页码
pageSizeYes每页条数
searchValNo按名称搜索,可选
projectCodeYes项目编码
processDefinitionCodeYes流程定义编码,必填;取自 query_process_definition_list_paging 返回的 code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It does add genuinely useful context: the upstream /schedules API returns code 10080 when processDefinitionCode is missing, which is easily mistaken for a permissions failure. However, it says nothing about authentication needs, pagination limits, ordering, or the read-only nature of the call beyond the word '查询'.

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

Conciseness5/5

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

Two tight sentences: purpose first, then the critical constraint and failure mode. Nothing is redundant and the most actionable warning is front-loaded.

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

Completeness3/5

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

For a five-parameter paged listing tool with no annotations and no output schema, the description covers purpose and the key required-parameter pitfall but leaves the return shape, pagination behavior, and searchVal semantics entirely to the schema. Adequate but with clear gaps.

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 five parameters are already documented, including that processDefinitionCode comes from query_process_definition_list_paging. The description reinforces the requiredness of processDefinitionCode and ties it to a specific error code, but adds no new semantics for pageNo, pageSize, projectCode, or searchVal, so baseline 3 is appropriate.

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 states a specific verb and resource: a paginated query of schedule (cron/timer) configurations scoped to a single process definition. That scope distinguishes it from a general schedule listing, though it does not explicitly contrast with similarly named siblings such as write_query_schedule_list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by 'paged query of the schedules under a process definition,' and the required processDefinitionCode is emphasized. No explicit when-to-use/when-not-to-use guidance or named alternative tool is provided, so routing between this and related schedule query tools is left 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