Skip to main content
Glama
mcp-devops-onpremise

mcp-devops-onpremise

by zwitbaum

Update pull request comment

devops_pull_request_update_comment
Destructive

Update an existing comment on a specified pull request to revise review feedback or reply content in on-premises Azure DevOps.

Instructions

Update an existing comment in the specified 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": {
      "repository_id": "<repository_id>",
      "pull_request_id": "<pull_request_id>",
      "thread_id": "<thread_id>",
      "comment_content": "<comment_content>",
      "comment_id": "<comment_id>",
      "parent_comment_id": "<parent_comment_id>"
    },
    "name": "devops_pull_request_update_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
thread_idYesThread ID to update.
comment_idYesID of the comment to update.
repository_idYesRepository name or ID.
comment_contentYesUpdated text content.
pull_request_idYesPull request ID.
parent_comment_idYesParent comment id for replies.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, but the description adds nothing about what gets destroyed or what preconditions exist (permissions, whether comment_content overwrites prior text entirely, whether the comment must belong to the given thread). For a destructive mutation with six required identifiers, the description should carry more weight than one restated sentence.

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?

A single front-loaded sentence with no filler, appropriately sized for the statement it makes. It is efficient but so terse that it omits guidance rather than being padded.

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?

With six required identifiers, a destructive annotation profile, and multiple closely related comment/thread siblings, the definition leaves out what an agent needs to invoke it safely and correctly. The existence of an output schema excuses explaining return values, but not the missing usage and mutation semantics.

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 all six parameters are already documented with individual descriptions. The description adds no extra meaning such as the relationship between thread_id, comment_id, and parent_comment_id beyond what the schema states, so the baseline 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?

States a specific verb and resource (update an existing pull request comment), which clearly separates it from the create/delete/reply siblings by intent. It stops short of naming those siblings or stating what the update replaces, so it is clear but not fully differentiated.

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?

No when-to-use guidance is given: nothing tells the agent when to edit in place versus reply (devops_pull_request_reply_comment) or modify the thread itself (devops_pull_request_update_thread). The agent must infer selection criteria from names alone.

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