Skip to main content
Glama
Tiberriver256

Azure DevOps MCP Server

update_pull_request

Modify an existing Azure DevOps pull request by changing its title, description, status, draft state, reviewers, linked work items, or tags.

Instructions

Update an existing pull request with new properties, manage reviewers and work items, and add or remove tags

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoThe updated title of the pull request
statusNoThe updated status of the pull request
addTagsNoList of tags to add to the pull request
isDraftNoWhether the pull request should be marked as a draft (true) or unmarked (false)
projectIdNoThe ID or name of the project (Default: MyProject)
removeTagsNoList of tags to remove from the pull request
descriptionNoThe updated description of the pull request
addReviewersNoList of reviewer email addresses or IDs to add
repositoryIdYesThe ID or name of the repository
pullRequestIdYesThe ID of the pull request to update
addWorkItemIdsNoList of work item IDs to link to the pull request
organizationIdNoThe ID or name of the organization (Default: mycompany)
removeReviewersNoList of reviewer email addresses or IDs to remove
removeWorkItemIdsNoList of work item IDs to unlink from the pull request
additionalPropertiesNoAdditional properties to update on the pull request

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.6
    • addedInput schema / properties / additionalProperties / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Addedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It reveals that this is a mutation and which categories of fields change, but says nothing about side effects (reviewer notifications), whether omitted fields are preserved, reversibility of status changes, or permission requirements for a 15-parameter mutating tool.

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

Conciseness4/5

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

One compact sentence with the core verb and resource front-loaded and no filler. The trailing list is dense but each clause corresponds to actual parameter groups, so little is wasted.

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

Completeness3/5

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

For a 15-parameter mutation with no annotations and no output schema, the description covers the operation categories but leaves the behavior side thin. It does not need to explain return values (no output schema), yet prerequisites, side effects, and partial-update semantics remain unaddressed.

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 every parameter is already documented in the schema and the description need only add meaning beyond it. The description groups the parameters into reviewer/work-item/tag operations, which is mild organizational value, but adds no format, default, or constraint detail beyond what the schema states.

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?

States a specific verb and resource ('Update an existing pull request') and enumerates the three mutation families: properties, reviewers/work items, and tags. It's clear and distinguishable from create_pull_request by 'existing', though it never names that sibling explicitly.

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

Usage Guidelines3/5

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

Usage is implied by 'existing pull request' but there is no explicit when-to-use guidance, no preconditions (e.g. required permissions or repo state), and no reference to the alternative create_pull_request tool for the non-existing case.

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