Skip to main content
Glama
host-mcp-bitbucket

host-mcp-bitbucket

submitPendingReview

Publish the current user's pending pull request review to make all drafted comments visible, with optional approval status and summary comment; Data Center only.

Instructions

Submit (publish) the current user's pending review on a pull request. All pending comments become visible. Optionally set approval status and add a summary comment. Data Center only.

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

Input Schema

NameRequiredDescriptionDefault
repoSlugYesRepository slug
workspaceNoBitbucket workspace or project key (uses default if omitted)
commentTextNoOptional summary comment published alongside the review
pullRequestIdYesPull request ID
participantStatusNoReview verdict: APPROVED, NEEDS_WORK, or UNAPPROVED (default: no status change)
lastReviewedCommitNoSHA of the last commit reviewed (for staleness detection)

Output Schema

NameRequiredDescriptionDefault
resultYesTool-specific result payload
statusYesWhether the tool call succeeded
messageYesHuman-readable status message

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnlyHint=false annotation, the description discloses the key side effect ('All pending comments become visible') and a platform constraint ('Data Center only'), though it omits reversibility or auth details.

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 sentences with zero waste: purpose is front-loaded, followed by side effect, optional parameters, and platform constraint. Every sentence earns its place.

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

Completeness4/5

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

Given the presence of an output schema and full parameter coverage, the description covers purpose, side effects, optional parameters, and platform constraint; it could mention error conditions or prerequisites but is largely complete for a 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 all parameters; the description mentions optional approval status and summary comment but adds no syntax or format details beyond what the schema provides.

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 states a specific verb ('Submit (publish)') and resource ('the current user's pending review on a pull request'), clearly distinguishing this tool from siblings like addPendingReviewComment, discardPendingReview, and approvePullRequest.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear context for use (submitting a pending review, Data Center only) but does not explicitly compare to alternatives or state when not to use this tool versus approvePullRequest or addPullRequestComment.

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