Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

enqueuePullRequest

Adds a pull request to the merge queue and returns its queue position, so you can check where the PR stands before merging.

Instructions

Add a PR to the merge queue; returns its position

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>",
      "prId": "<prId>"
    },
    "name": "enqueuePullRequest"
  }
}

Input Schema

NameRequiredDescriptionDefault
prIdYes
repoSlugYes
projectKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations present, the description carries the full load, and it does disclose the mutation and that a queue position is returned. It says nothing about failure modes, permission requirements, required approvals, or whether enqueuing blocks the PR – gaps that matter for a mutating tool with zero annotation coverage.

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 compact clause with the action front-loaded and the return value appended; nothing is wasted. It is arguably too terse rather than padded, which is a different problem than verbosity.

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 a mutating queue operation with no annotations, no output schema, and undocumented parameters, the definition is too thin. An agent lacks the prerequisites and failure semantics needed to invoke it correctly.

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% for all three parameters, so the description must compensate and does not. repoSlug and prId are largely self-explanatory from their names, but projectKey is entirely opaque – it is neither required nor explained, leaving its role ambiguous.

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 names a specific verb and resource: 'Add a PR to the merge queue', and adds the return value ('returns its position'). It is clearly distinct from read siblings like getPullRequest, though it does not name the obvious counterpart, dequeuePullRequest.

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 statement of when to prefer this over mergePullRequest, canMergePullRequest, or dequeuePullRequest, and no preconditions are given. An agent must infer that the PR must be mergeable and that a merge queue must be enabled from the tool name alone.

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