Skip to main content
Glama
aliyun
by aliyun

UpdateTask

Modify DataWorks task configurations including scheduling, resources, scripts, dependencies, and outputs to adapt workflows to changing requirements.

Instructions

更新任务 *This Tool has a 'MCP Resource',please request UpdateTask(MCP Resource) to get more examples for using this tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
IdNo任务ID
NameYes名称
OwnerYes任务的责任人的账号ID
RerunModeYes任务是否允许重跑的配置。- AllDenied:失败或成功都不可重跑- FailureAllowed:只有失败可重跑- AllAllowed:失败或成功均可重跑
TriggerYes任务触发方式
RuntimeResourceYes运行环境配置,如资源组信息
ScriptNo运行脚本信息
DescriptionNo描述信息
RerunTimesNo重试次数,当任务设置为可重跑时生效
RerunIntervalNo重试时间间隔,单位秒
TimeoutNo任务执行超时时间,单位秒
InstanceModeNo实例生成模式。-T+1(第二天生成)-Immediately(立即生成)
EnvTypeNo项目环境。- Prod:生产- Dev:开发
DataSourceNo关联数据源信息
ClientUniqueCodeNo任务的客户端唯一码,用来唯一标识一个任务。用于实现异步和幂等,创建时如果不指定,系统将自动生成,该代码将与资源ID进行唯一绑定。更新、删除资源时如果指定该参数,应与创建时的客户端唯一码保持统一
OutputsNo输出信息
DependenciesNo依赖信息
InputsNo输入信息
TagsNo任务标签列表
Behavior1/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It only states '更新任务' (Update task), which implies a mutation but gives no details on permissions required, side effects (e.g., if updates affect running instances), rate limits, or response format. This is inadequate for a complex update tool with 19 parameters.

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?

The description is under-specified with only '更新任务' (Update task), which is not conciseness but a lack of content. The additional note about an 'MCP Resource' is irrelevant to tool understanding and adds clutter without value, failing to front-load useful information.

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 tool's complexity (19 parameters, nested objects, no output schema, and no annotations), the description is completely inadequate. It does not explain the scope of updates, behavioral implications, or usage context, leaving the agent with insufficient information to invoke the tool correctly beyond 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 the schema already documents all parameters thoroughly (e.g., 'Id' as task ID, 'Trigger' with detailed subproperties). The description adds no parameter information beyond what the schema provides, meeting the baseline of 3 where the 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 '更新任务' (Update task) is a tautology that merely restates the tool name 'UpdateTask' in Chinese. It does not specify what resource is being updated (e.g., a task in a workflow system) or distinguish it from sibling tools like 'BatchUpdateTasks' or 'UpdateTaskInstances', leaving the purpose vague and undifferentiated.

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 provides no guidance on when to use this tool versus alternatives. It does not mention prerequisites (e.g., needing a task ID), exclusions, or compare it to sibling tools like 'BatchUpdateTasks' for multiple updates or 'UpdateTaskInstances' for instance-level modifications, offering no usage context.

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