Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

update_work_item

DestructiveIdempotent

Modify an existing Azure DevOps work item by setting fields such as title, state, assignee, priority, tags, area or iteration path, and description.

Instructions

Update an existing work item

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": {
      "workItemId": "<workItemId>"
    },
    "name": "update_work_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoOverwrite/set the complete set of tags
stateNoThe updated state of the work item
titleNoThe updated title of the work item
areaPathNoThe updated area path for the work item
priorityNoThe updated priority of the work item
tagsToAddNoList of tags to append to the work item
assignedToNoThe email or name of the user to assign the work item to
workItemIdYesThe ID of the work item to update
descriptionNoUpdated work item description. When descriptionFormat is omitted or "html", the field preserves its existing format (HTML or Markdown); set descriptionFormat to "markdown" to store or switch System.Description to Markdown. Other multi-line text fields (i.e., System.History, AcceptanceCriteria, etc.) use HTML format by default. Do not use CDATA tags.
tagsToRemoveNoList of tags to remove from the work item
iterationPathNoThe updated iteration path for the work item
additionalFieldsNoAdditional Azure DevOps fields to update by reference name (fields not exposed as named parameters). Example for Bug severity: { "Microsoft.VSTS.Common.Severity": "1 - Critical" } (accepted values: "1 - Critical", "2 - High", "3 - Medium", "4 - Low"). Multi-line text fields (i.e., System.History, AcceptanceCriteria, etc.) must use HTML format. Do not use CDATA tags.
descriptionFormatNoFormat for the description field: omit or pass "html" to preserve the field's existing format (cannot revert a Markdown field back to HTML), or pass "markdown" to store/switch System.Description as Markdown (irreversible once saved).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.13
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed2 schema fields changedv1.0.11
    • changedInput schema / properties / description / description
      Previous value: -"Work item description in HTML format. Multi-line text fields (i.e., System.History, AcceptanceCriteria, etc.) must use HTML format. Do not use CDATA tags."New value: +"Updated work item description. When descriptionFormat is omitted or \"html\", the field preserves its existing format (HTML or Markdown); set descriptionFormat to \"markdown\" to store or switch System.Description to Markdown. Other multi-line text fields (i.e., System.History, AcceptanceCriteria, etc.) use HTML format by default. Do not use CDATA tags."
    • addedInput schema / properties / descriptionFormat
      Added value: +{
      +  "description": "Format for the description field: omit or pass \"html\" to preserve the field's existing format (cannot revert a Markdown field back to HTML), or pass \"markdown\" to store/switch System.Description as Markdown (irreversible once saved).",
      +  "enum": [
      +    "html",
      +    "markdown"
      +  ],
      +  "type": "string"
      +}
  3. Changed2 schema fields changedv1.0.6
    • changedInput schema / properties / additionalFields / description
      Previous value: -"Additional fields to update on the work item. Multi-line text fields (i.e., System.History, AcceptanceCriteria, etc.) must use HTML format. Do not use CDATA tags."New value: +"Additional Azure DevOps fields to update by reference name (fields not exposed as named parameters). Example for Bug severity: { \"Microsoft.VSTS.Common.Severity\": \"1 - Critical\" } (accepted values: \"1 - Critical\", \"2 - High\", \"3 - Medium\", \"4 - Low\"). Multi-line text fields (i.e., System.History, AcceptanceCriteria, etc.) must use HTML format. Do not use CDATA tags."
    • addedInput schema / properties / additionalFields / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  4. Changed3 schema fields changed
    • addedInput schema / properties / tags
      Added value: +{
      +  "description": "Overwrite/set the complete set of tags",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / tagsToAdd
      Added value: +{
      +  "description": "List of tags to append to the work item",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / tagsToRemove
      Added value: +{
      +  "description": "List of tags to remove from the work item",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  5. Changed2 schema fields changedv1.0.0
    • changedInput schema / properties / additionalFields / description
      Previous value: -"Additional fields to update on the work item"New value: +"Additional fields to update on the work item. Multi-line text fields (i.e., System.History, AcceptanceCriteria, etc.) must use HTML format. Do not use CDATA tags."
    • changedInput schema / properties / description / description
      Previous value: -"The updated description of the work item"New value: +"Work item description in HTML format. Multi-line text fields (i.e., System.History, AcceptanceCriteria, etc.) must use HTML format. Do not use CDATA tags."
  6. First observed

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare this is a write operation with destructiveHint=true, idempotentHint=true and openWorldHint=true, so the description is not contradicting them. However, it adds no behavioral context of its own: it does not say whether omitted fields are preserved, what can be overwritten or lost, that descriptionFormat changes are irreversible, or what the response looks like.

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

Conciseness3/5

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

The description is a single clean sentence with no wasted words, but it is undersized relative to a 13-parameter destructive mutation. Brevity here comes at the cost of information rather than being genuinely tight and front-loaded.

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 destructive, open-world update tool with 13 parameters and nested additionalFields, the description omits partial-update semantics, overwrite risks, and format irreversibility. The rich schema compensates for parameter meaning, but the description itself leaves an agent without the behavioral context needed to call this safely.

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% and each of the 13 parameters carries its own documentation, including the nuanced descriptionFormat and additionalFields behavior. The description adds nothing beyond that, so the schema is doing all the work and the baseline score of 3 applies.

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?

"Update an existing work item" states a specific verb and resource, so an agent knows this mutates an existing work item rather than creating one. It does not distinguish itself from siblings like create_work_item or get_work_item beyond the verb, and adds no scope detail.

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 gives no guidance on when to use this versus alternatives such as create_work_item, nor any prerequisites like required permissions or whether partial updates are allowed. Usage must be inferred entirely from the name and schema.

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