Skip to main content
Glama
aliyun

AlibabaCloud DevOps MCP Server

Official
by aliyun

update_work_item

Update a work item by modifying its fields such as subject, status, priority, labels, and custom values. Use separate methods for attachments and effort fields to ensure correct data handling.

Instructions

[Project Management] Update a work item. 调用参数结构:除 organizationId / workItemId 外,所有要更新的字段必须放在 updateWorkItemFields 对象中(包括 subject / description / formatType / status / assignedTo / priority / labels / sprint / trackers / verifier / participants / versions / customFieldValues)。 描述中插入图片:先调 create_workitem_attachment 拿到返回值的 embedMarkdown(formatType="MARKDOWN")或 embedHtml(formatType="RICHTEXT"),拼进 updateWorkItemFields.description,同时 updateWorkItemFields.formatType 设为对应值。⚠️ 不要把 create_workitem_attachment 返回的 url 嵌入 description,那是 30 秒过期的 OSS 临时签名。 受控字段提醒:实际工时(fieldId 101587)与预计工时(fieldId 101586)为云效受控系统字段,不能通过 updateWorkItemFields.customFieldValues 修改;请改用 create_effort_record/update_effort_recordcreate_estimated_effort/update_estimated_effort

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workItemIdYesWork item ID
organizationIdYesOrganization ID
updateWorkItemFieldsYes
Behavior5/5

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

With no annotations provided, the description carries full responsibility. It discloses critical behavioral details: the requirement to nest all updatable fields in updateWorkItemFields, the 30-second expiry of OSS temporary signed URLs when embedding images, and the restriction on modifying controlled system fields (fieldId 101587/101586). These go beyond standard expectations and are clearly communicated with a warning symbol.

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 well-structured with clear paragraphs and bullet-like points. Every sentence serves a purpose: the main action, parameter nesting rule, image insertion workflow, and controlled field warning. It avoids redundant phrasing and is appropriately sized for the tool's complexity.

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

Completeness5/5

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

Given the complex nested object and many fields, the description is thoroughly complete. It covers all relevant scenarios: standard updates, special image handling, and prohibited field modifications with alternative tool references. No output schema exists, but the description does not need to explain return values; it addresses all potential user questions and pitfalls.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already provides descriptions for all parameters, but the description adds significant meaning: it explains the mandatory grouping of update fields, the formatType implications for description formatting, and the exact field IDs that cannot be updated via customFieldValues. This enriches the schema information and helps avoid common mistakes.

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

Purpose5/5

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

The description clearly states 'Update a work item' with the category [Project Management], listing the specific fields that can be updated (subject, description, formatType, status, etc.). It distinguishes itself from sibling tools like create_work_item and update_effort_record by specifying its scope and explicitly pointing to alternative tools for controlled fields.

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

Usage Guidelines5/5

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

The description provides explicit when-to-use guidance: it is for updating work items, and it explicitly says NOT to use it for controlled fields (actual/estimated effort) and directs to create_effort_record/update_effort_record and create_estimated_effort/update_estimated_effort instead. It also includes a detailed workflow for inserting images via create_workitem_attachment, making usage conditions very clear.

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-devops-mcp-server'

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