Skip to main content
Glama
donchoko

bb-mcp-server

by donchoko

Update pull request

bb_update_pull_request

Update an open Bitbucket pull request by changing title, description, reviewers, or destination branch. Omit fields to keep them unchanged.

Instructions

Updates an open pull request. Only the provided fields are changed; omit a field to leave it as-is. For description-only edits, prefer bb_update_pull_request_description.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNo
repoSlugNoRepository slug. Falls back to BITBUCKET_REPO_SLUG if omitted.
reviewersNoReplaces the full reviewer list.
workspaceNoBitbucket workspace slug. Falls back to BITBUCKET_WORKSPACE if omitted.
descriptionNo
pullRequestIdYesPull request ID.
destinationBranchNoChange the merge target branch.
Behavior3/5

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

With no annotations provided, the description must disclose behavior itself. It reveals that only open PRs can be updated and that fields are partially updated, which is useful. However, it does not mention permissions, response format, or side effects like what happens when changing the destinationBranch.

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?

The description is two sentences long, front-loaded with the primary purpose, and every sentence provides useful guidance without redundancy. It is concise and well-structured.

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 the tool's moderate complexity, no output schema, and no annotations, the description covers the essential purpose, update semantics, and relationship to a sibling. It could mention response details or parameter-specific behaviors, but the provided information is sufficient for an agent to use the tool correctly in most cases.

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?

The schema covers 71% of parameters with descriptions, so the baseline is near 3. The description adds meaningful semantics by stating that only provided fields are changed and omitted fields are left as-is, which applies to all parameters and clarifies the PATCH-like behavior.

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 clearly states the action: 'Updates an open pull request,' with a specific verb and resource. It also distinguishes this tool from the description-only sibling by directing users to bb_update_pull_request_description for description-only edits.

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

Usage Guidelines4/5

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

The description gives explicit guidance on when to prefer the sibling tool for description-only edits, which is a clear exclusion. It also explains the partial-update behavior ('Only the provided fields are changed; omit a field to leave it as-is'), helping the agent decide which fields to pass.

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/donchoko/bb-mcp-server'

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