Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

create_work_item

Creates Azure DevOps work items such as tasks, bugs, or user stories with fields for title, assignment, priority, tags, and parent relationships.

Instructions

Create a new 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": {
      "workItemType": "<workItemType>",
      "title": "<title>"
    },
    "name": "create_work_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoTags to add to the work item
titleYesThe title of the work item
areaPathNoThe area path for the work item
parentIdNoThe ID of the parent work item to create a relationship with
priorityNoThe priority of the work item
projectIdNoThe ID or name of the project (Default: MyProject)
assignedToNoThe email or name of the user to assign the work item to
descriptionNoWork item description. Defaults to HTML format; set descriptionFormat to "markdown" to store and render as Markdown. Other multi-line text fields (i.e., System.History, AcceptanceCriteria, etc.) use HTML format by default. Do not use CDATA tags.
workItemTypeYesThe type of work item to create (e.g., "Task", "Bug", "User Story")
iterationPathNoThe iteration path for the work item
organizationIdNoThe ID or name of the organization (Default: mycompany)
additionalFieldsNoAdditional Azure DevOps fields to set 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: "html" (default) or "markdown". Setting "markdown" instructs Azure DevOps to store and render System.Description as Markdown (cannot be reverted back to HTML once saved).

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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: +"Work item description. Defaults to HTML format; set descriptionFormat to \"markdown\" to store and render as 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: \"html\" (default) or \"markdown\". Setting \"markdown\" instructs Azure DevOps to store and render System.Description as Markdown (cannot be reverted back to HTML once saved).",
      +  "enum": [
      +    "html",
      +    "markdown"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv1.0.6
    • changedInput schema / properties / additionalFields / description
      Previous value: -"Additional fields to set 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 set 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"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / tags
      Added value: +{
      +  "description": "Tags to add to the work item",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  4. Changed5 schema fields changedv1.0.0
    • changedInput schema / properties / additionalFields / description
      Previous value: -"Additional fields to set on the work item"New value: +"Additional fields to set 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 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."
    • addedInput schema / properties / organizationId
      Added value: +{
      +  "description": "The ID or name of the organization (Default: mycompany)",
      +  "type": "string"
      +}
    • changedInput schema / properties / projectId / description
      Previous value: -"The ID or name of the project"New value: +"The ID or name of the project (Default: MyProject)"
    • changedInput schema / required
      Previous value: -[
      -  "projectId",
      -  "workItemType",
      -  "title"
      -]New value: +[
      +  "workItemType",
      +  "title"
      +]
  5. First observed

TDQS

C2.2/5.0
Behavior2/5

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

The annotation readOnlyHint=false already tells the agent this is a mutating operation, so the description needed to add something else and did not. It omits what the tool returns (e.g., the new work item's ID), whether project/organization defaults apply, and any permission or validation behavior for a 13-parameter creation call.

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 single sentence is technically waste-free but is under-specified rather than concise; it front-loads nothing useful and offers no structure for a tool with this many options. Length is not the problem, emptiness is.

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 mutation tool with 13 parameters, a nested object, and no output schema, the description supplies no context about outcome, required-vs-optional expectations, or defaults (projectId/organizationId defaults are buried in the schema). The rich schema prevents a 1, but the description itself is close to empty.

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%, with every parameter including the nested additionalFields object documented in detail, so the schema carries the parameter burden. The description adds nothing to that, which is the baseline 3 case rather than a deficiency in itself.

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?

"Create a new work item" restates the tool name (create_work_item) almost verbatim, adding no scope, target system, or distinguishing detail. An agent can infer it creates a work item, but nothing about what kind, where, or how it differs from siblings like update_work_item.

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?

There is no guidance on when to use this versus create_test_case, update_work_item, or create_work_item_attachment, and no prerequisites or context are stated. The agent must infer the appropriate situation from the name alone.

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