Skip to main content
Glama
matt-nann

bitbucket-mcp

by matt-nann

bb_create_pull_request

Create a Bitbucket pull request by specifying title, source and destination branches, description, and reviewers. Optionally set to delete source branch after merge.

Instructions

Create a new Bitbucket pull request.

Args: title: PR title. source_branch: Source branch name. destination_branch: Destination branch name (default "main"). description: PR description (Markdown). reviewers: List of Bitbucket account UUIDs. close_source_branch: Delete source branch after merge. workspace: Bitbucket workspace slug. repo: Repository slug.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoNoRepository slug. Defaults to BITBUCKET_DEFAULT_REPO.
titleYesPR title.
reviewersNoList of Bitbucket account UUIDs to request as reviewers.
workspaceNoBitbucket workspace slug. Defaults to BITBUCKET_WORKSPACE.
descriptionNoPR description (Markdown).
source_branchYesSource branch name.
destination_branchNoDestination branch name.main
close_source_branchNoDelete the source branch after merge.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description must fully convey behavioral traits. It describes the action and parameters but does not disclose side effects (beyond close_source_branch), success/failure behavior, authentication requirements, or rate limits. The agent cannot infer the overall behavior beyond creation.

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 a clear bulleted list starting with the action. It is appropriately sized for 8 parameters and avoids redundancy. However, it could be slightly more concise by merging default values inline, but overall well-structured.

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?

Given 8 parameters and high schema coverage, the description covers the necessary input information. An output schema exists, so return values are handled elsewhere. However, behavioral gaps (e.g., error handling, idempotency) reduce completeness for an agent unfamiliar with Bitbucket.

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%, so the description adds minimal value. It restates parameter names and short descriptions, but does not elaborate on constraints, formats, or relationships. For example, 'reviewers: List of Bitbucket account UUIDs' is identical to the schema. No additional nuance.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states 'Create a new Bitbucket pull request' and lists relevant parameters. The name 'bb_create_pull_request' clearly indicates a creation action, and siblings are all about comments or retrieval, so the purpose is distinct and specific.

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?

No guidance on when to use this tool versus alternatives. The description does not mention prerequisites, when not to use it, or how it compares to similar tools like 'bb_edit_pull_request_comment' or 'bb_get_pull_request'. The context is implied but not explicit.

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/matt-nann/bitbucket-mcp'

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