Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

reopenTask

Reopens a resolved task tied to a Bitbucket pull request comment so you can continue tracking required changes.

Instructions

Reopen a resolved task

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

Input Schema

NameRequiredDescriptionDefault
prIdYes
versionYes
repoSlugYes
commentIdYesComment/task ID
projectKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.1/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 disclosure burden, yet it only implies a state transition from resolved to open. It says nothing about required permissions, whether the reopen is reversible, what a version mismatch does, or what the response contains.

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?

Four words with zero padding and the verb front-loaded, so nothing is wasteful. But the terseness crosses into under-specification rather than disciplined concision.

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

Completeness1/5

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

A mutation tool with five parameters (four required), no annotations, no output schema, and a non-obvious version/optimistic-concurrency field needs far more than one clause. Nothing an agent needs in order to call it correctly is covered.

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

Parameters1/5

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

Schema description coverage is only 20% (just commentId is documented as "Comment/task ID"), and the description adds no meaning for repoSlug, prId, version or projectKey. The low coverage demands compensating explanation that is entirely absent, including the meaning of the required version parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Reopen a resolved task" gives a specific verb (reopen) and resource (task), and the resolved-state qualifier narrows intent. However, it never clarifies what a "task" is in this system (a PR comment thread?) or how it relates to siblings like reopenPRComment, reopenPullRequest and resolveTask, so the agent must guess the object model.

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?

There is no when-to-use guidance, no prerequisites (e.g. the task must currently be resolved), and no mention of alternatives such as resolveTask or reopenPRComment. The only implied usage comes from the phrase "resolved task".

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