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)
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It lists actions but doesn't describe side effects, permissions required, rate limits, error conditions, or response formats. For example, it doesn't clarify if 'merge' is irreversible, what 'approve' entails, or how pagination works with 'list' actions. This leaves significant gaps for a tool with 22 parameters and multiple mutation actions.

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?

The description is efficiently structured with a brief introductory phrase followed by a bulleted list of actions. Each bullet is clear and specific. However, the list format could be more front-loaded with critical guidance, and some bullets (like 'list' and 'get') are very brief without additional context.

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?

Given the tool's complexity (22 parameters, 11 actions including mutations), no annotations, and no output schema, the description is insufficient. It doesn't explain return values, error handling, authentication requirements, or important behavioral details like whether actions are idempotent or have side effects. For a multi-action tool with significant functionality, this leaves too many unknowns.

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 the schema already documents all 22 parameters thoroughly. The description adds minimal value beyond the schema by listing action names that correspond to the 'action' enum, but doesn't provide additional context about parameter relationships or usage. This meets the baseline for high schema coverage.

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 clearly states the tool's purpose as 'Manage Bitbucket pull requests' and enumerates 11 specific actions, providing a comprehensive overview of what the tool does. It distinguishes itself from siblings like bitbucket_branches or bitbucket_issues by focusing exclusively on pull request operations. However, it doesn't explicitly contrast with these siblings beyond the domain difference.

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 provides no guidance on when to use this tool versus alternatives. It lists actions but doesn't indicate prerequisites, when certain actions are appropriate (e.g., merge vs. decline), or how it relates to sibling tools like bitbucket_commits or bitbucket_repositories. The agent must infer usage from the action list alone.

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

Install Server

Other Tools

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