Skip to main content
Glama
MCP Azure DevOps Server
by fabriciofs

repo_update_pull_request

Update an existing pull request's title, status, description, or target branch so Azure DevOps reviewers see accurate review details.

Instructions

Update an existing pull request.

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": {
      "repositoryId": "<repositoryId>",
      "pullRequestId": "<pullRequestId>"
    },
    "name": "repo_update_pull_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoNew title.
statusNoNew status.
descriptionNoNew description.
repositoryIdYesThe repository ID.
pullRequestIdYesThe pull request ID.
targetRefNameNoNew target branch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing beyond the word 'Update'. It does not say whether this is a partial or full replacement update, whether fields are optional, whether status transitions (active/abandoned/completed) are constrained, or what permissions are required. Only the bare implication of mutation is conveyed.

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 single sentence is front-loaded and free of padding, but its brevity comes from omission rather than efficiency — nothing substantive is stated. There is no structural cue about required vs optional fields or the update semantics.

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?

This is a six-parameter mutation tool with no annotations and no output schema, so the description is the only place behavioral context could live, and it says almost nothing. An agent cannot learn from it what a successful update returns, how partial updates behave, or what the status enum implies operationally.

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 (title, status, description, repositoryId, pullRequestId, targetRefName) is already documented in the schema, and the enum on status is declared there. The description adds no meaning beyond the schema, which sets this at the baseline 3.

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?

"Update an existing pull request" is essentially the tool name (repo_update_pull_request) rendered as a sentence, with no added specificity about what parts of the PR can be changed or what 'update' covers. It gives no signal distinguishing it from siblings such as repo_update_pull_request_reviewers or repo_update_pull_request_thread, which an agent must disambiguate by name alone.

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 when-to-use guidance, no prerequisites, and no mention of alternatives or exclusions. The agent must infer from the name alone that this is for editing PR metadata rather than reviewers, threads, or creating a new PR.

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

Deploy Server

Other Tools