Skip to main content
Glama
hasanozcan

Azure DevOps MCP Server

by hasanozcan

Update pull request comment

update_pull_request_comment

Replace an existing comment in an Azure DevOps pull request thread. Requires confirmation and proper permissions to apply the update.

Instructions

Replace a top-level or reply comment inside a pull request thread. Azure DevOps author and permission rules apply. Requires write tools and confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmYesMust be true to perform the mutation.
contentYesMarkdown comment body.
projectNoProject name or ID. Omit to use AZURE_DEVOPS_DEFAULT_PROJECT.
threadIdYes
commentIdYesComment ID inside the thread.
repositoryIdYesRepository name or ID.
pullRequestIdYesPull request numeric ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must disclose behavioral traits. It mentions Azure DevOps author/permission rules and the need for write tools and confirm=true, which is useful. However, it does not state whether the update is reversible, what happens to replies to the comment, or the expected response format. The confirm requirement is genuinely useful but not deeply detailed.

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 only three sentences, with the core action first and the key requirement (confirm=true) in the last sentence. No filler or repetition of schema details. Highly efficient and easy to parse.

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

Completeness4/5

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

Given the tool's moderate complexity (7 params) and lack of output schema and annotations, the description covers essential context: the action, the distinction of comment types, and the confirm requirement. It does not explain the return value, but that is acceptable without an output schema. A bit more detail on permissions could push it to 5, but the existing description is adequate.

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 86%, so most parameters (content, commentId, pullRequestId, repositoryId) already have descriptions. The description adds the nuance of 'top-level or reply comment' and mentions the confirm requirement, which complements the schema. It does not add details on threadId or project beyond what the schema provides, but that is unnecessary given high coverage.

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?

The description clearly states the tool replaces a comment inside a pull request thread and distinguishes between top-level and reply comments. It does not explicitly name a sibling, but the purpose is clear enough to distinguish from create_pull_request_comment or delete_pull_request_comment.

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?

The description implies this is for editing existing comments, but it does not state when to use this versus alternatives like replay_to_pull_request_thread or create_pull_request_comment. It mentions Azure DevOps author and permission rules and the confirm flag, giving some guidance on prerequisites, but lacks explicit 'use when' or 'do not use when' conditions.

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