Skip to main content
Glama
aashari

Atlassian Bitbucket MCP Server

by aashari

bb_reject_pr

Request changes on a Bitbucket pull request by specifying the repository and pull request ID. Marks the PR as needing updates, prompting the author to address feedback before merging. Requires appropriate Bitbucket permissions.

Instructions

Requests changes on a pull request in a repository (repoSlug) identified by pullRequestId. If workspaceSlug is not provided, the system will use your default workspace. This marks the pull request as requiring changes by the current user, indicating that the author should address feedback before the pull request can be merged. Returns a rejection confirmation as formatted Markdown. Requires Bitbucket credentials with appropriate permissions to be configured.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pullRequestIdYesPull request ID to request changes on. Example: 123
repoSlugYesRepository slug containing the pull request. This must be a valid repository in the specified workspace. Example: "project-api"
workspaceSlugNoWorkspace slug containing the repository. If not provided, the system will use your default workspace (either configured via BITBUCKET_DEFAULT_WORKSPACE or the first workspace in your account). Example: "myteam"
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: it's a write operation (requests changes), requires Bitbucket credentials with appropriate permissions, returns formatted Markdown confirmation, and affects PR status (marks as requiring changes). It doesn't mention rate limits or whether the action is reversible, but covers most essential aspects.

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 efficiently structured in three sentences: first states the core action with parameters, second explains the behavioral effect, third covers authentication and return format. Every sentence earns its place with no redundancy or fluff, and key information is front-loaded appropriately.

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?

For a mutation tool with no annotations and no output schema, the description does well by explaining the action's effect, authentication requirements, and return format. It could be more complete by explicitly stating this is a write operation (though implied) and mentioning any potential side effects, but covers most essential context given the complexity.

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 fully documents all three parameters. The description adds minimal value beyond the schema - it mentions the workspaceSlug default behavior (also in schema) and connects parameters to the action context. No additional parameter semantics are provided beyond what's in the structured fields.

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 specific action ('Requests changes on a pull request'), identifies the target resource ('in a repository'), and distinguishes it from sibling tools like bb_approve_pr and bb_update_pr by specifying it marks the PR as requiring changes. The verb+resource combination is precise and unambiguous.

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 provides clear context about when to use this tool (to indicate feedback needs addressing before merging) and mentions workspace defaults, but doesn't explicitly state when NOT to use it or name alternatives like bb_approve_pr for contrasting scenarios. The guidance is helpful but lacks explicit exclusions.

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

Related 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/aashari/mcp-server-atlassian-bitbucket'

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