Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Query Task Instance List

query_task_instance_list

Retrieve a paginated list of task instances filtered by project, process instance, task name, status, or time range to inspect execution records.

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_instance_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNo运行主机IP
pageNoYes页码
endDateNo结束时间
pageSizeYes每页条数
taskCodeNo任务编码
taskNameNo任务实例名称
searchValNo搜索值
startDateNo开始时间
stateTypeNo运行状态类型
projectCodeYes项目编码
executorNameNo执行人名称
taskExecuteTypeNo任务执行类型
processInstanceIdNo流程实例ID
processInstanceNameNo流程实例名称
processDefinitionNameNo流程定义名称

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 burden. It discloses pagination ('分页查询') and filterability, but says nothing about sort order, default or maximum page size, required permissions, or the shape of results — significant gaps for a 15-parameter read tool.

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?

A single compact sentence with the core action front-loaded and no redundant wording. It is efficient, though its brevity borders on under-specification rather than optimal density.

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 15-parameter tool with no annotations and no output schema, one short sentence is thin. It omits several exposed filters (host, executorName, taskCode, searchVal, taskExecuteType, processDefinitionName) and does not describe what a page of results contains.

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 every parameter is already documented in the schema. The description mentions four filter dimensions (process instance, task name, status, time) but adds no syntax, format, or combination semantics beyond that, so it lands at the baseline.

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: paginated query of task instances ('分页查询任务实例'). This clearly distinguishes it from siblings dealing with process instances or task definitions, though it never names an alternative explicitly.

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 lists supported filter dimensions but gives no guidance on when to choose this tool over siblings like query_process_instance_list, query_tasks_by_process_instance, or query_task_definition_list_paging. Usage is only implied by the filter list, with no prerequisites or exclusions.

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