Skip to main content
Glama
Stan15
by Stan15

bitbucket_pull_request_create

Create a draft pull request in Bitbucket to share work-in-progress with teammates before marking it ready for review.

Instructions

Create a new pull request as a draft - visible to teammates, but marked not-yet-ready-for-review until someone marks it ready in Bitbucket.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
repoSlugYesRepository slug, e.g. 'my-repo'
reviewersNoReviewer account UUIDs or nicknames
workspaceNoOmit to use the configured default workspace
descriptionNo
sourceBranchYes
destinationBranchNoDefaults to the repository's main branch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

The annotations provide only negative hints, so the description carries the behavioral burden. It clearly discloses the draft state, visibility to teammates, and that the PR remains not-ready until marked ready in Bitbucket. It does not cover authorization or error behavior, but the core state transition is transparent.

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?

A single sentence front-loads the primary action and then adds the essential draft-state nuance. There is no redundant or filler content.

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?

This is a 7-parameter mutation with no output schema and only minimal annotation value. The description covers high-level selection but leaves required parameter behavior, defaults for the workflow, and invocation details under-explained, forcing the schema and the agent to do the heavy lifting.

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

Parameters2/5

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

The description adds no parameter-level meaning; it never mentions repoSlug, title, sourceBranch, reviewers, workspace, description, or destinationBranch. With schema description coverage at only 57% and the required title and sourceBranch properties lacking descriptions, this is a meaningful gap.

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 identifies the exact action and resource ('Create a new pull request') and adds the unique draft state ('as a draft'). This differentiates it from the sibling list/get/read tools without requiring schema inspection.

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?

The draft and 'not-yet-ready-for-review' language imply the intended use case, but there is no explicit when-to-use or when-not-to-use guidance, and no alternative tool is mentioned. The agent must infer that this is for work-in-progress pull requests.

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