Skip to main content
Glama
ManpreetShuann

Bitbucket Server MCP

reopen_pull_request_comment

Reopens a resolved comment thread on a pull request, using the comment version for optimistic locking to prevent conflicts.

Instructions

Reopen a previously resolved comment thread on a pull request.

Args: project_key: The project key. repo_slug: The repository slug. pr_id: The pull request ID. comment_id: The comment ID to reopen. version: Current version of the comment (required for optimistic locking).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_keyYes
repo_slugYes
pr_idYes
comment_idYes
versionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description must fully disclose behavior. It indicates a state change but lacks details on side effects, required permissions, or error conditions. The optimistic locking hint for version is good, but overall the behavioral disclosure is thin.

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?

The description is short and to the point with two sentences. However, the parameter list repeats schema fields unnecessarily, slightly reducing conciseness efficiency.

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

Completeness3/5

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

Given the existence of an output schema (not shown), return values are covered. However, the description lacks usage context, such as when to use this versus resolve or update, and fails to mention preconditions (e.g., the comment must be resolved). This leaves gaps for an agent.

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?

The description adds value by explaining the version parameter's purpose ('required for optimistic locking'). However, the other parameter descriptions (e.g., 'The project key') do little more than restate the schema field names. With 0% schema coverage, more effort to clarify parameters would be expected.

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

Purpose5/5

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

The description clearly states the action ('Reopen'), the resource ('comment thread'), and the context ('previously resolved on a pull request'), effectively distinguishing it from siblings like resolve_pull_request_comment and add_pull_request_comment.

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?

It implies usage for reopening resolved comment threads but provides no explicit when-not-to-use or alternative tools. The version parameter is noted as required for optimistic locking, but no prerequisites or conditions are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ManpreetShuann/bitbucket-server-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server