Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

deletePRComment

Delete a pull request comment from a Bitbucket repository by comment ID, with version checking to prevent conflicts. Requires dangerous operations to be enabled.

Instructions

Delete a PR comment (needs BITBUCKET_ENABLE_DANGEROUS=true)

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": {
      "repoSlug": "<repoSlug>",
      "prId": "<prId>",
      "commentId": "<commentId>",
      "version": "<version>"
    },
    "name": "deletePRComment"
  }
}

Input Schema

NameRequiredDescriptionDefault
prIdYes
versionYes
repoSlugYes
commentIdYes
projectKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose one genuinely important behavioral trait: the tool is disabled unless BITBUCKET_ENABLE_DANGEROUS=true, which signals a dangerous mutation. However, it never states irreversibility, required permissions/ownership, or whether deletion is permanent, so much of the destructive-operation profile remains undisclosed.

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 the operation first and the environment gate in parentheses; no filler, no repetition of the tool name. It is efficient, though its brevity reflects under-specification rather than disciplined economy.

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 tool with no annotations, no output schema, and five undocumented parameters (0% coverage), the definition is far too thin: nothing about permissions, failure modes, whether 'version' must come from getPRComment, or what happens on mismatch. The environment-gate note is the only context an agent gains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 5 parameters, so the description must compensate and does not — it never mentions repoSlug, prId, commentId, projectKey, or the especially opaque 'version' parameter (presumably optimistic-concurrency state). Only the resource-level noun 'comment' loosely implies commentId; everything else is left to schema-name inference.

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 PR comment'), which an agent can readily distinguish from addPRComment/updatePRComment/resolvePRComment siblings by name. It stops short of explicitly naming the boundaries against those siblings, 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 or when-not-to-use guidance: nothing on deletion vs. resolve/update, no note about scope (comment must belong to the given PR), and no ordering constraints. The only condition given is an environment prerequisite (BITBUCKET_ENABLE_DANGEROUS=true), which is a gate rather than usage guidance.

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