Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

listPullRequests

Lists pull requests for a Bitbucket repository, with optional filters for state, project, direction, and pagination.

Instructions

List pull requests for a repository

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repoSlug": "<repoSlug>"
    },
    "name": "listPullRequests"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoFull ref, e.g. refs/heads/main
allNoAll pages, max 1000
limitNo
startNo
stateNo
repoSlugYes
directionNo
projectKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: no default PR state, no pagination semantics despite start/limit/all parameters, no ordering, no permission requirements. An agent learns only that the result is a list of PRs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero redundancy. Its brevity is appropriate structurally; the missing detail is a completeness issue rather than a wording problem.

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?

For an 8-parameter listing tool with no annotations, no output schema, and sparse schema descriptions, this is not enough. The description gives no sense of default filters, pagination behavior, or return shape that an agent would need to call it confidently.

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?

Schema description coverage is 25% across 8 parameters, so the description should compensate, but it adds meaning for none of them beyond hinting that a repository is required. Filter parameters such as state, direction, at, and projectKey are left entirely to an under-documented schema.

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?

States a specific verb (list) and resource (pull requests) plus scope (for a repository), which distinguishes it from the sibling read tools that are user- or review-scoped. However it never names those siblings, so the differentiation is inferable rather than made explicit.

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 phrase 'for a repository' implies when to reach for this tool (enumerating PRs within a repo) versus the personal variants, but there is no explicit when/when-not guidance and no mention of alternatives such as listMyPullRequests.

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