Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

getMergeQueue

Lists queued pull request IDs in merge order for a repository, so you can see what is waiting to merge and in what sequence.

Instructions

List queued PR IDs in order

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": "getMergeQueue"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoSlugYes
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?

With no annotations supplied, the description carries the full behavioral burden, and it discloses almost nothing: it does not state that the call is read-only/non-mutating, what "in order" means (presumably merge order), whether an empty queue is possible, or whether auth or queue access is required. Only the ordering guarantee is added as real behavioral information.

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 phrase with zero filler, which is appropriate for a narrow list operation. It is arguably under-specified rather than wasteful, but nothing in it is redundant.

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?

Placeholder.

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 0%, so the description was responsible for explaining repoSlug and projectKey and it says nothing about either, nor about how projectKey scopes or defaults relative to repoSlug. The self-descriptive parameter names provide a minimal lifeline, but the description adds no compensating meaning.

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?

"List queued PR IDs in order" gives a specific verb (List) and resource (queued PR IDs) with a scope qualifier (in order), so an agent knows it retrieves the merge queue contents rather than acting on them. It does not name or contrast itself with processMergeQueue, which sits right next to it in the catalog and is the obvious confusion risk.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance at all. An agent must infer from the wording alone that this is the read step that precedes processMergeQueue, and nothing tells it whether this is the right tool versus canMergePullRequest or getPullRequest for checking merge readiness.

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