Skip to main content
Glama
aliyun
by aliyun

ListTasks

Retrieve and filter task lists from DataWorks projects using parameters like task type, owner, workflow, and sorting options to manage data processing workflows.

Instructions

获取任务列表

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ProjectIdNo项目ID
TriggerTypeNo触发方式类型
OwnerNo任务的责任人的账号ID
PageSizeNo每页的条目数,默认为10
SortByNo排序字段。支持修改时间、创建时间等字段,格式为"排序字段+排序方式(Desc/Asc)"(Asc可以缺省)。排序字段的枚举值如下:- `ModifyTime (Desc/Asc)`- `CreateTime (Desc/Asc)`- `Id (Desc/Asc)` 默认值:`Id Desc`
TriggerRecurrenceNo触发时的运行模式,TriggerType=Scheduler时生效
WorkflowIdNo所属工作流的ID
NameNo名称,支持模糊查询
RuntimeResourceNo资源组信息,这里请填入调度资源组标识符
ProjectEnvNo项目环境
PageNumberNo页码,从1开始,默认为1
TaskTypeNo任务类型。例如:- ODPS_SQL- SPARK- PY_ODPS- PY_ODPS3- ODPS_SCRIPT- ODPS_MR- COMPONENT_SQL- EMR_HIVE- EMR_MR- EMR_SPARK_SQL- EMR_SPARK- EMR_SHELL- EMR_PRESTO- EMR_IMPALA- SPARK_STREAMING- EMR_KYUUBI- EMR_TRINO- HOLOGRES_SQL- HOLOGRES_SYNC_DDL- HOLOGRES_SYNC_DATA
IdsNo任务的ID列表,可根据任务Id批量查询任务
Behavior1/5

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

No annotations are provided, so the description carries full burden for behavioral disclosure. The description '获取任务列表' reveals nothing about whether this is a read-only operation, whether it requires authentication, what the return format looks like, pagination behavior, rate limits, or error conditions. For a tool with 13 parameters and no annotation coverage, this is completely inadequate.

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

Conciseness2/5

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

While extremely concise with just three Chinese characters, this is under-specification rather than effective conciseness. The description fails to provide any meaningful information that would help an AI agent understand or use the tool correctly. Every sentence should earn its place, but this has no sentences to evaluate.

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

Completeness1/5

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

Given the complexity (13 parameters, no annotations, no output schema), the description is completely inadequate. It doesn't explain what the tool returns, how results are structured, pagination behavior, or any behavioral traits. For a list tool with many filtering options, this minimal description leaves critical gaps in understanding.

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 the schema already documents all 13 parameters thoroughly with descriptions and examples (e.g., SortBy with format details, TaskType with enum-like values). The description adds zero parameter information beyond what's in the schema, meeting the baseline of 3 when 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 '获取任务列表' (Get task list) is a tautology that restates the tool name 'ListTasks' in Chinese. It provides no additional specificity about what kind of tasks, what scope, or what distinguishes this from other list tools like ListTaskInstances or ListTaskOperationLogs. The purpose is minimally stated but lacks differentiation.

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

Usage Guidelines1/5

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

The description offers no guidance on when to use this tool versus alternatives. With sibling tools like GetTask (singular), ListTaskInstances, and ListTaskOperationLogs, there's no indication of when this list tool is appropriate versus those other task-related tools. No context or exclusions are provided.

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