Skip to main content
Glama
Upendrasengar

bitbucket-server-mcp

create_pull_request

Create a pull request in Bitbucket Server, specifying source and target branches, with support for cross-repo sources, automatic default reviewers, and draft mode.

Instructions

Create a new pull request. Supports cross-repo PRs via sourceProject/sourceRepository and automatic default reviewer merging.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
draftNoCreate the pull request as a draft.
titleYesPull request title.
projectNoProject key. Defaults to BITBUCKET_DEFAULT_PROJECT.
reviewersNoUsernames to assign as reviewers.
repositoryYesRepository slug.
descriptionNoPull request description (Markdown supported).
sourceBranchYesSource branch name.
targetBranchYesTarget branch name.
sourceProjectNoSource project key for cross-repo PRs.
sourceRepositoryNoSource repository slug for cross-repo PRs.
includeDefaultReviewersNoMerge default reviewers into the reviewer list (default: true).
Behavior4/5

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

Annotations already indicate write operation (readOnlyHint=false, destructiveHint=false). Description adds specific behavioral details: supports cross-repo PRs via sourceProject/sourceRepository and automatic default reviewer merging, which are beyond annotation scope. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, 20 words. Core purpose first, then feature highlights. No redundancy, every word earns its place. Front-loaded with critical verb and resource.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 11 parameters, 100% schema coverage, no output schema, description captures core action and key features. Lacks mention of return value or side effects, but annotations and intent are clear. Reasonably complete for agent decision-making.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline 3. Description adds meaning by explaining the purpose of sourceProject/sourceRepository (cross-repo PRs) and includeDefaultReviewers (automatic merging), directly connecting to those parameters and providing context not in schema descriptions.

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?

Description starts with 'Create a new pull request' – a specific verb and resource. It immediately distinguishes from siblings like update_pull_request and merge_pull_request by focusing on creation and mentioning unique features (cross-repo, default reviewers).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clearly implies creation use case, but lacks explicit guidance on when to avoid (e.g., 'use for new PRs, not for editing or merging'). No mention of prerequisites beyond required params. Usage is implied but not fully specified.

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/Upendrasengar/bitbucket-server-mcp'

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