Skip to main content
Glama
host-mcp-bitbucket

host-mcp-bitbucket

updatePullRequest

Modify a Bitbucket pull request's title or description by specifying the repository, pull request ID, and new values.

Instructions

Update a pull request (title, description)

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

Input Schema

NameRequiredDescriptionDefault
titleNoNew pull request title
repoSlugYesRepository slug
workspaceNoBitbucket workspace name
descriptionNoNew pull request description
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

C2.9/5.0
Behavior2/5

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

Annotations supply only readOnlyHint=false, so the description carries the burden of mutation semantics and does not meet it: it never says whether unspecified fields are preserved, whether title/description are both optional, whether the update is atomic, or what happens on a stale/merged PR. The parenthetical does usefully imply the editable surface is limited to title and description, which is the one piece of behavioral context added.

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 short sentence with the verb and resource front-loaded and no filler. It is efficient, though the terseness borders on under-specification rather than genuine conciseness.

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?

An output schema exists, so return values need not be explained, but for a write tool with only readOnlyHint=false the definition omits partial-update semantics, permission requirements, and failure conditions. An agent can guess the call shape from the required parameters but not the consequences of the call.

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 coverage is 100% and each of the five parameters has its own description, so the schema already documents repoSlug, workspace, pullRequestId, title, and description. The description adds nothing beyond naming two of them, so the 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?

"Update a pull request" gives a specific verb and resource, and the parenthetical names the mutatable fields, which separates it from updatePullRequestComment and updatePullRequestTask. It stops short of stating the full scope of what can and cannot be changed (state, reviewers, destination branch), so an agent must still infer boundaries.

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?

There is no when-to-use guidance, no prerequisites (e.g., write permission or author-only restriction), and no pointer to alternatives such as mergePullRequest or approvePullRequest for state-changing operations. The agent is left to infer that this tool is only for metadata edits.

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