Skip to main content
Glama

bitbucket_pull_requests

Manage Bitbucket pull requests to list, create, update, merge, approve, decline, and comment on code changes in repositories.

Instructions

Manage Bitbucket pull requests. Actions:

  • list: List pull requests in a repository

  • get: Get pull request details

  • create: Create a new pull request

  • update: Update a pull request

  • merge: Merge a pull request

  • approve: Approve a pull request

  • unapprove: Remove approval from a pull request

  • decline: Decline a pull request

  • list_comments: List comments on a pull request

  • add_comment: Add a comment to a pull request

  • get_diff: Get the diff of a pull request

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform
workspaceYesWorkspace slug
repo_slugYesRepository slug
pr_idNoPull request ID (required for most actions except list/create)
stateNoFilter by state
qNoQuery string to filter PRs
sortNoSort field (e.g., "-created_on")
titleNoPull request title
descriptionNoPull request description
source_branchNoSource branch name
destination_branchNoDestination branch (default: main branch)
close_source_branchNoClose source branch after merge
reviewersNoList of reviewer UUIDs
merge_strategyNoMerge strategy
messageNoMerge commit message
contentNoComment content (markdown supported)
inline_pathNoFile path for inline comment
inline_lineNoLine number for inline comment
parent_idNoParent comment ID for replies
pageNoPage number for pagination
pagelenNoResults per page (max 100)
formatNoOutput format: json (full), toon (compact tokens), compact (essential fields only)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/icy-r/bitbucket-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server