Skip to main content
Glama
mcp-devops-onpremise

mcp-devops-onpremise

by zwitbaum

Delete pull request comment

devops_pull_request_delete_comment
Destructive

Deletes a specified comment from a pull request using repository, pull request, thread, and comment IDs to remove outdated or unwanted review discussion.

Instructions

Delete a comment from 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_id": "<comment_id>"
    },
    "name": "devops_pull_request_delete_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
thread_idYesThread ID.
comment_idYesComment ID to delete.
repository_idYesRepository name or ID.
pull_request_idYesPull request ID.

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 already declare destructiveHint=true and readOnlyHint=false, so the description's only job is to add context beyond that — and it adds none. It does not say the deletion is irreversible, whether deleting the final comment removes the thread, or what permissions are required, all of which matter for a destructive operation.

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; the action and target are conveyed immediately. It is terse to the point of under-specification, but nothing in it is wasted.

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 destructive mutation with no output schema and no annotation detail beyond the destructive flag, the description should say what happens on success, whether the operation is reversible, and any permission requirements. None of that is present, leaving real gaps for an agent about to delete data.

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 documented in the schema and the text baseline is 3. The description adds no additional meaning, notably omitting how thread_id relates to comment_id or whether repository_id accepts a name or a GUID beyond what the schema already says.

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 ('Delete a comment') scoped to a pull request, which is enough to distinguish it from the create/reply/update comment siblings listed. It stops short of explicit sibling differentiation in the text itself, relying on the name to convey the distinction.

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, no preconditions (e.g., must the comment be authored by the caller, must the thread still be active), and no mention of the update_comment alternative for editing rather than removing. The agent must infer all of this from the tool name alone.

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