Skip to main content
Glama
EnesPolovina

bitbucket-mcp

by EnesPolovina

List pull requests

list_pull_requests
Read-only

Get pull requests from a Bitbucket Cloud repository, with optional filters for state, author, source/destination branches, and a pagination limit.

Instructions

List pull requests in a Bitbucket Cloud repository.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum PRs to return. Pages are followed until this many are collected.
stateNoFilter by PR stateOPEN
authorNoFilter by author account nickname, exact match, e.g. "Enes Polovina". Bitbucket can only filter on the nickname, which is usually the display name but is absent on many bot and service accounts. Use author_account_id for those.
repo_slugNoRepository slug, e.g. "billing-api". Defaults to BITBUCKET_REPO_SLUG.
workspaceNoBitbucket workspace ID, e.g. "acme". Defaults to BITBUCKET_WORKSPACE.
source_branchNoFilter by source branch, substring match, e.g. "PROJ" matches "fix/PROJ-142"
author_account_idNoFilter by author account_id. Exact, and works for accounts with no nickname.
destination_branchNoFilter by target branch, exact match, e.g. "main" or "release/2.4"
Behavior3/5

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

The readOnlyHint annotation already communicates that this is a safe read operation. The description itself adds no additional behavioral context, such as default filtering (state defaults to OPEN) or pagination behavior, which are captured in the schema. No contradiction exists.

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 concise sentence that directly states the tool's purpose with zero redundant words. It is front-loaded and easy to parse.

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 straightforward list operation with a rich schema (including defaults and filters) and a readOnlyHint annotation, the description provides enough context. It does not mention return values, but the name and tool nature imply a list of pull requests, and the schema covers behavior. Slight gap in not stating default state filtering, but acceptable.

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?

Input schema covers 100% of the 8 parameters with detailed descriptions, so the tool description does not need to explain parameters. It adds no parameter-level meaning beyond the schema, which aligns with the baseline 3 for high schema coverage.

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

Purpose4/5

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

The description clearly states the action (List) and resource (pull requests) within a Bitbucket Cloud repository. It is specific but does not explicitly distinguish from the sibling tool get_pull_request, which presumably retrieves a single pull request.

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?

Usage is implied: use this tool to list multiple pull requests, as opposed to getting a single pull request. However, there is no explicit guidance on when to use this versus alternatives, nor any exclusions or prerequisites.

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

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