Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

finishReview

Publish buffered review comments to a Bitbucket pull request, then optionally set the review status to approved, needs work, or unapproved.

Instructions

Publish buffered review comments, then optionally set your review status.

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>"
    },
    "name": "finishReview"
  }
}

Input Schema

NameRequiredDescriptionDefault
prIdYes
repoSlugYes
projectKeyNo
reviewStatusNoStatus to set after posting

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries full behavioral burden. It discloses that comments are published and review status may change, but says nothing about permissions, irreversibility, required active review state, failure modes, or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a single front-loaded sentence with no wasted wording. It communicates the primary action and the optional status step efficiently.

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 four parameters, no annotations, and no output schema, the definition is too sparse. It does not explain required repository/PR context, projectKey, expected outcomes, or what happens to buffered comments on success or failure.

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 25%, with repoSlug, prId, and projectKey undocumented in both schema and description. The description restates the reviewStatus option but adds no meaning beyond the schema's “Status to set after posting” description.

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 states a specific verb and object: “Publish buffered review comments” plus an optional status update. This clearly identifies the operation, though it does not explicitly distinguish it from siblings such as addPRComment or startReview.

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?

Usage is implied by “buffered review comments” and “optionally set your review status,” suggesting this is a finishing step. However, it gives no explicit when-not guidance, prerequisites, or alternatives such as discardReview.

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