Skip to main content
Glama
phpl

bitbucket-mcp-server

by phpl

list_pull_requests

List pull requests for a Bitbucket repository, filtering by state, direction, or branch to identify relevant PRs.

Instructions

List pull requests for a repository. Can filter by state, direction, and branch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
atNoBranch to filter by (fully-qualified ref, e.g. refs/heads/main)
limitNoMaximum number of PRs to return (default: 25)
startNoStarting index for pagination (default: 0)
stateNoPR state filter (default: OPEN)
directionNoPR direction (default: INCOMING)
projectKeyYesThe Bitbucket project key
repositorySlugYesThe repository slug
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for disclosing behavior. It mentions filter capability but does not disclose important defaults (state defaults to OPEN, direction defaults to INCOMING), pagination behavior, or that it returns a list. The schema provides some of this, but the description adds little beyond naming filters, which the schema already covers.

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 short sentences, front-loaded with the core purpose, and each sentence adds value. There is no fluff or redundancy, making it appropriately concise.

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

Completeness3/5

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

The tool has 7 parameters and no output schema. While the purpose is clear and the schema covers parameter details, the description omits default filter behavior and pagination nuances, which are relevant for correct invocation. It is minimally viable but lacks context beyond what the schema already provides.

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 baseline is 3. The description adds no meaning beyond the schema, as it merely mentions filter options (state, direction, branch) that are already fully described in the input schema definitions.

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 states a specific action ('List') and resource ('pull requests for a repository'), clearly distinguishing it from siblings like get_pull_request (single PR) and get_inbox_pull_requests (inbox-specific). The verb and resource are 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 context by specifying 'for a repository', implying it should be used when repository-scoped PRs are needed, not inbox PRs. However, it does not explicitly name alternatives or state when not to use the tool, so it falls short of a 5.

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

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