Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

getPullRequestSettings

Retrieve a repository's pull request settings, including merge configuration and required approvers, to verify review rules and enforce pull request policies.

Instructions

Get repository PR settings (merge config, required approvers)

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

Input Schema

NameRequiredDescriptionDefault
repoSlugYes
projectKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.7/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. 'Get' implies a read, but the text never confirms it is non-mutating, never says what permissions or scope (project vs. repository) are required, and never hints at whether settings are inherited or repo-specific.

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?

The description is a single front-loaded clause with the resource first and the returned fields in parentheses, so nothing is wasted. It is concise but borders on under-specification given the undocumented parameters.

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 two-parameter tool with no annotations, no output schema, and zero schema description coverage, the description should explain projectKey and clarify the settings' scope. It leaves both gaps open, so an agent cannot reliably construct a call beyond the required repoSlug.

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 both parameters are undocumented in structured fields. The description implies repoSlug identifies the repository but adds no format details, and projectKey is never mentioned at all, leaving its purpose and optionality unexplained.

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 gives a specific verb ('Get') and resource ('repository PR settings') and parenthetically names the settings returned (merge config, required approvers). This separates it from siblings like getPullRequest or getDefaultReviewers, though it does not explicitly say whether the settings are repository-level or project-level.

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 guidance, no stated prerequisites, and no alternatives named. An agent is left to infer that this is the read counterpart to updatePullRequest or the merge-check tool canMergePullRequest, and it gets no help deciding between them.

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