Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

setPullRequestStatus

Set your review status on a Bitbucket pull request to approve it, request changes with NEEDS_WORK, or clear your approval.

Instructions

Set your review status on a PR (NEEDS_WORK = request changes).

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

Input Schema

NameRequiredDescriptionDefault
prIdYes
statusYes
repoSlugYes
projectKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and does very little with it: it never says whether you must already be a reviewer, whether the status replaces an existing review, whether the call is idempotent, or what permission scope is required. Only the NEEDS_WORK semantics are clarified.

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?

A single front-loaded sentence with no wasted wording. Its brevity is efficient, though it borders on under-specification given the tool's mutation semantics.

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 four-parameter mutation with zero annotation coverage, no output schema and 0% parameter documentation, the description is too thin to call correctly with confidence. An agent would need to guess at permissions, reviewer preconditions, and parameter meanings.

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 0% across four parameters, and the description explains only one of the three enum values (NEEDS_WORK); it says nothing about repoSlug, prId, projectKey, or how APPROVED/UNAPPROVED differ from the dedicated approve/unapprove tools. This leaves most parameter meaning undocumented in both schema and prose.

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?

States a specific verb ('Set') and a specific resource ('your review status on a PR'), which pins down the effect well beyond the bare tool name. It does not, however, distinguish itself from siblings like approvePullRequest or unapprovePullRequest, which cover overlapping ground.

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

Usage Guidelines2/5

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

The parenthetical maps NEEDS_WORK to 'request changes', which hints at intent, but there is no explicit statement of when to use this generic status setter versus approvePullRequest/unapprovePullRequest. The agent must infer the choice from names alone.

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