Skip to main content
Glama
aliyun
by aliyun

ListTaskInstances

Retrieve task instance lists from DataWorks to monitor execution status, filter by project, date, trigger type, or owner for workflow management.

Instructions

获取任务实例列表

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ProjectIdNo项目ID
BizdateNo业务日期。一般是周期实例定时时间的前一天的0点0分0秒,格式为毫秒级时间戳,如1743350400000
TriggerTypeNo触发方式类型。- Scheduler:周期调度触发- Manual:手动触发
OwnerNo任务的责任人的账号ID
TaskIdNo对应任务的ID
TaskIdsNo对应任务的ID列表,可根据任务Id批量查询任务实例
PageSizeNo每页的条目数,默认为10
WorkflowInstanceTypeNo所属工作流实例的类型。- SmokeTest:测试- Manual:手动任务- SupplementData:补数据- ManualWorkflow:手动工作流- Normal:周期调度
SortByNo排序字段。支持定时时间、开始时间等字段,格式为"排序字段+排序方式(Desc/Asc)"(Asc可以缺省)。排序字段的枚举值如下:- `TriggerTime (Desc/Asc)`- `StartedTime (Desc/Asc)`- `FinishedTime (Desc/Asc)`- `CreateTime (Desc/Asc)`- `Id (Desc/Asc)` 默认值:`Id Desc`
TriggerRecurrenceNo触发时的运行模式,TriggerType=Scheduler时生效。- Pause:暂停- Skip:空跑- Normal:正常运行
WorkflowIdNo所属工作流的ID
RuntimeResourceNo资源组信息,这里请填入调度资源组标识符
ProjectEnvNo项目环境。- Prod:生产- Dev:开发
TaskNameNo对应任务的名称,支持模糊查询
PageNumberNo页码,从1开始,默认为1
TaskTypeNo任务类型。各节点的TaskType取值,请参见[DataWorks节点合集](~~600169~~)
IdsNo任务实例ID列表,可根据任务实例Id批量查询多个任务实例信息
WorkflowInstanceIdNo所属工作流实例的ID
IdNo任务实例ID。任务实例存在重跑的情况,假如设置该参数,则返回包含重跑的历史信息,通过RunNumber区分每个历史信息
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. The description only states the action ('获取任务实例列表') without any details on permissions required, rate limits, pagination behavior (implied by PageSize and PageNumber parameters but not described), or what the return format looks like. This is inadequate for a tool with 19 parameters and 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.

Conciseness5/5

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

The description is extremely concise with a single phrase ('获取任务实例列表'), which is front-loaded and wastes no words. It efficiently conveys the core purpose without unnecessary elaboration, making it highly structured for its brevity.

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?

Given the tool's complexity (19 parameters, no annotations, no output schema), the description is insufficient. It does not address behavioral aspects like pagination, filtering logic, or return values, which are critical for an agent to use the tool effectively. The high parameter count and lack of output information make this description incomplete for practical use.

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?

The schema description coverage is 100%, meaning all parameters are documented in the input schema itself. The description adds no additional meaning beyond the schema, such as explaining relationships between parameters (e.g., how TaskId and TaskIds interact) or providing examples. With high schema coverage, the baseline score is 3, as the description does not compensate but also does not detract.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '获取任务实例列表' (Get task instance list) clearly states the verb ('获取' - get) and resource ('任务实例列表' - task instance list), which establishes the basic purpose. However, it lacks specificity about what distinguishes this tool from other list tools like ListTasks or ListWorkflowInstances, making it somewhat vague in comparison to siblings.

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 provides no guidance on when to use this tool versus alternatives. There is no mention of prerequisites, context, or exclusions, such as how it differs from ListTasks (which might list task definitions) or ListWorkflowInstances (which might list workflow instances). This leaves the agent without clear usage instructions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aliyun/alibabacloud-dataworks-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server