Skip to main content
Glama
garc33

Bitbucket Server MCP

by garc33

publish_review

Publish all pending (draft) review comments on a pull request at once. Optionally set your review status to APPROVED or NEEDS_WORK, and add an overview comment. This is the batch operation that transitions all PENDING comments to published.

Instructions

Publish all pending (draft) review comments on a pull request at once. Optionally set your review status to APPROVED or NEEDS_WORK, and add an overview comment. This is the batch operation that transitions all PENDING comments to published.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prIdYesPull request ID to publish the review on.
projectNoBitbucket project key. If omitted, uses BITBUCKET_DEFAULT_PROJECT environment variable.
repositoryYesRepository slug containing the pull request.
commentTextNoOptional overview comment to include with the review.
participantStatusNoOptional review status. APPROVED marks the PR as ready to merge. NEEDS_WORK indicates changes are required. Omit for general feedback without changing status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses that this is a batch mutation that transitions PENDING comments to published, but omits irreversibility, permission requirements, and what happens when no pending comments exist. For a mutation tool with zero annotation coverage this is only partial disclosure.

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?

Three tight sentences, front-loaded with the core action and followed by optional effects and a clarifying summary. No filler or redundancy.

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?

With no output schema and no annotations, the description should ideally cover the mutation's consequences and success/failure behavior. It adequately explains the primary effect and the optional status, but leaves auth requirements and error conditions unaddressed for a 5-parameter mutation tool.

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?

Schema description coverage is 100%, so the schema already documents every parameter, including the participantStatus enum and commentText. The description references the status and overview comment but adds no syntax or format detail beyond what the schema provides, making the baseline 3 appropriate.

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?

States a specific verb ('Publish') plus resource ('all pending review comments on a pull request') and the exact scope ('at once', 'batch operation'). The phrase 'transitions all PENDING comments to published' distinguishes it from single-comment siblings like add_comment or add_comment_inline without needing to open either schema.

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 the batch/publish framing, and the description notes the optional status side-effect, but it never states when to prefer this over add_comment, add_comment_inline, or approve_pull_request, nor any preconditions such as needing pending comments to exist. The when-to-use context is inferable but not explicit.

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