Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

getPRComment

Retrieves a specific pull request comment from Bitbucket Data Center by repository slug, pull request ID, and comment ID, so AI clients can inspect discussion details.

Instructions

Get a PR comment

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>",
      "commentId": "<commentId>"
    },
    "name": "getPRComment"
  }
}

Input Schema

NameRequiredDescriptionDefault
prIdYes
repoSlugYes
commentIdYes
projectKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

D1.3/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, yet it states nothing beyond "Get". It does not say whether the call is read-only, what permissions or project scope are required, what happens on a missing or deleted comment, or what the response looks like.

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

Conciseness2/5

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

The text is short but that brevity reflects under-specification rather than disciplined editing; it is a bare label, not a front-loaded statement of scope or behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with four parameters, three of them required, no annotations, no output schema, and no documented parameter meanings, the definition is far too thin. An agent cannot reliably construct a correct call or interpret the result from this description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All four parameters (repoSlug, prId, commentId, projectKey) have 0% schema description coverage, and the description supplies no meaning for any of them. In particular, projectKey is optional and its purpose or default is entirely undocumented, leaving the agent to infer it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get a PR comment" restates the tool name (getPRComment) in prose and adds no distinguishing detail. It does not say what a comment contains, whether replies/threads are included, or how it differs from getPullRequestActivity or getPullRequest, so an agent learns nothing it could not infer from the name alone.

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

Usage Guidelines1/5

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

No when-to-use guidance, no preconditions, and no mention of alternatives even though siblings like getPullRequestActivity and getPullRequest cover overlapping retrieval needs. The agent must guess when this is the right call.

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