Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

getPullRequestChanges

List files changed in a pull request to review scope and identify impacted files, with optional pagination and all-pages support.

Instructions

List files changed in a PR

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

Input Schema

NameRequiredDescriptionDefault
allNoAll pages, max 1000
prIdYes
limitNo
startNo
repoSlugYes
projectKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, yet it says nothing about pagination behavior despite start/limit/all parameters, nor about permissions, truncation at 1000 files, or return shape. It is not misleading, but it discloses essentially no behavior beyond the one-line purpose.

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

Conciseness3/5

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

The single sentence is front-loaded and free of waste, but it is under-specified rather than deliberately concise for a tool with six parameters and paging semantics.

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?

Given six parameters, low schema coverage, no annotations, and no output schema, the description is far too thin to let an agent call this correctly without opening the schema. Pagination and result-size limits in particular should be stated.

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 only 17% — only 'all' is documented (as 'All pages, max 1000'). The description adds no meaning for repoSlug, prId, projectKey, limit, or start, so five of six parameters remain semantically thin.

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?

Uses a specific verb (List) plus a specific resource (files changed in a PR), so an agent knows exactly what comes back at a high level. It does not differentiate from close siblings such as getPullRequestDiff, getPullRequestPatch, or getCommitChanges, which is the only thing keeping it from a 5.

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 exclusion conditions, and no pointer to alternatives for retrieving changed content (diff vs patch vs file list). The agent must infer usage purely from the tool name and the PR-related siblings.

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