Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

updatePullRequest

Modify a pull request's title, description, target branch, or reviewer list to keep code reviews accurate and on track.

Instructions

Update a pull request's title, description, target branch or reviewers

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": "updatePullRequest"
  }
}

Input Schema

NameRequiredDescriptionDefault
prIdYes
titleNo
repoSlugYes
reviewersNoReplaces the reviewer list
projectKeyNo
descriptionNo
targetBranchNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full burden of behavioral disclosure. It indicates mutation but says nothing about required permissions, whether omitted fields are preserved, that reviewers REPLACES the existing list rather than appending, or what happens on an invalid target branch. For a write tool with zero annotation coverage this is a substantial gap.

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 covering verb, resource, and affected fields, with no filler. It is not padded, though its brevity contributes to the gaps in usage and behavioral detail.

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 annotations, no output schema, and near-empty schema descriptions, the definition is thinner than the tool's complexity warrants. An agent knows what fields it can change but not whether the update is partial, what permissions are required, or what the call returns.

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 14%, covering 7 parameters, so the description needs to compensate. It does name four of the seven updatable fields (title, description, targetBranch, reviewers), but adds no meaning beyond the property names already in the schema and leaves repoSlug, prId and projectKey entirely unaddressed. The one truly non-obvious semantic - reviewers replaces the list - appears in the schema, not the 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 gives a specific verb ('Update') and resource ('a pull request's') plus the exact fields affected: title, description, target branch, reviewers. That is enough to separate it from read-only siblings like getPullRequest and from addPullRequestReviewers or updatePRComment. It stops short of naming the siblings it supersedes, which is the only reason it is not a 5.

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 description never says when to use this tool rather than its siblings - e.g. addPullRequestReviewers or removePullRequestReviewer for reviewer changes, or markPullRequestAsDraft for state changes. It also omits the key context that this is a partial-update operation and whether unnamed fields stay unchanged. An agent must infer all of this.

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