Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

reopenPRComment

Reopens a resolved pull request comment thread in Bitbucket Data Center, enabling replies and continued discussion.

Instructions

Reopen a resolved PR comment thread

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": "reopenPRComment"
  }
}

Input Schema

NameRequiredDescriptionDefault
prIdYes
versionYes
repoSlugYes
commentIdYesRoot comment of the thread
projectKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It never states required permissions, whether reopening posts a system event/comment to the thread, how it behaves on an already-unresolved or deleted thread, or whether the action is reversible.

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 phrase is front-loaded and free of waste, but it is terse to the point of under-specification for a five-parameter mutation. There is no structure beyond a bare statement of purpose.

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 mutation tool with five parameters, no annotations, no output schema, and very low schema coverage, this description is too thin. Critical details — the required version semantics, permission needs, and the effect of reopening — are absent.

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 only 20% — commentId is the sole documented parameter, and repoSlug, prId, projectKey, and especially the required "version" (likely an optimistic-concurrency token) are unexplained anywhere. The description adds no meaning about any parameter, so an agent gets no help on the required version argument.

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 pairs the specific verb "Reopen" with the specific resource "resolved PR comment thread", so an agent can distinguish it from resolvePRComment and from reopenPullRequest/reopenTask on resource grounds alone. It is clear but adds no explicit differentiation statement beyond the resource naming.

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 qualifier "resolved" implies the precondition (the thread must currently be resolved) but never says so explicitly, and no alternative or when-not-to-use guidance is given. An agent must infer that resolvePRComment is the inverse operation and that unresolved threads are out of scope.

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