Skip to main content
Glama
host-mcp-bitbucket

host-mcp-bitbucket

getPendingReview

Read-only

Retrieve your pending draft review and all pending comment threads on a Bitbucket Data Center pull request so you can continue or submit feedback.

Instructions

Get the current user's pending (draft) review on a pull request, including all pending comment threads. 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": "getPendingReview"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoSlugYesRepository slug
workspaceNoBitbucket workspace or project key (uses default if omitted)
pullRequestIdYesPull request ID

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

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered, and the description usefully adds two behavioral facts beyond them: the result includes nested pending comment threads, and the operation is available only on Data Center. It stops short of saying what is returned when the user has no pending review (empty result vs. error), which would matter for an agent's branching logic.

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?

Two sentences, no filler, with the core scope stated first and the platform constraint appended as a short qualifier. Every clause carries information an agent needs.

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?

With an output schema present, return-value detail is unnecessary, and the description covers what is fetched, its nested scope, and the Data Center restriction. The only material omission is the empty/no-pending-review case, which is a minor gap for a read-only getter.

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 repoSlug, workspace and pullRequestId are already documented in the schema. The description adds no further parameter meaning such as whether workspace falls back to a default or what identifier form pullRequestId takes; baseline 3 applies.

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 gives a specific verb ('Get') and a precisely scoped resource ('the current user's pending (draft) review on a pull request'), including the extent of the payload ('all pending comment threads'). It is clearly distinct from the sibling comment-listing tools, though it does not name any of them explicitly.

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?

The word 'pending (draft)' implies the situation in which to call it, and 'Data Center only' flags a platform prerequisite. But there is no explicit when-to-use versus when-to-use-something-else guidance, e.g. no pointer to getPullRequestComments for already-published comments or to submitPendingReview as the follow-up action.

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