Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

listPRComments

Retrieve pull request comments from Bitbucket Data Center, defaulting to unresolved threads so teams can find and address open review feedback.

Instructions

List PR comments (default: unresolved only).

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

Input Schema

NameRequiredDescriptionDefault
allNoAll pages, max 1000
prIdYes
limitNo
startNo
stateNoDefault UNRESOLVED
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?

No annotations are provided, so the description carries the full behavioral burden. Beyond the default filter it discloses nothing about pagination behavior (the 'all' cap of 1000 lives only in the schema), required permissions, or what a returned comment contains.

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 no filler, and the default behavior is surfaced immediately. It is efficient, though its brevity is partly under-specification rather than discipline.

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 7-parameter listing tool with no annotations and no output schema, this is too thin: pagination, scope of comments (inline diff vs general), and the meaning of projectKey/repoSlug pairing are all left to the caller.

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 29% across 7 parameters, so the description needed to compensate. Instead it restates the state default already documented in the schema enum and says nothing about all, limit, start, or projectKey.

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 and resource ("List PR comments") plus the default filter, so the agent knows exactly what it retrieves. It does not distinguish itself from nearby siblings like listPendingReviewComments or listPRTasks, which a reader must infer.

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 parenthetical conveys the default scope (unresolved only), implying when the default result set applies, but it never says when to use this tool versus listPendingReviewComments or why one would set state=ALL. Usage is only implied, not directed.

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