Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

updatePRComment

Update an existing pull request comment in Bitbucket Data Center using repository, pull request, comment ID, text, and version details.

Instructions

Update a pull request 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>",
      "text": "<text>",
      "version": "<version>"
    },
    "name": "updatePRComment"
  }
}

Input Schema

NameRequiredDescriptionDefault
prIdYes
textYes
versionYes
repoSlugYes
commentIdYes
projectKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

D1.9/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 behavioral burden, and it discloses nothing. For a mutation tool with a required "version" parameter it never mentions optimistic-concurrency/conflict behavior, permissions, whether "text" replaces the entire body, or whether the edit is reversible or shows an "edited" marker.

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?

It is a single front-loaded sentence with no padding, so brevity is not the problem. The shortfall is under-specification rather than verbosity, but there is nothing wasted to trim.

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 six-parameter destructive write tool with no annotations, no output schema, and zero schema descriptions, this description is far too thin. An agent has no information about the version-conflict contract, required permissions, or the expected result of a successful update.

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?

Schema description coverage is 0% across six parameters, and the description adds no meaning to any of them. In particular the required "version" field and the optional "projectKey" are completely unexplained, leaving the agent to guess at their semantics before a write call.

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

Purpose3/5

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

"Update a pull request comment" gives a verb and a resource, so an agent can tell it mutates an existing PR comment rather than creating or deleting one. However, it is essentially the tool name expanded into a sentence, with no scope, no field list, and no mention of how it relates to sibling tools such as addPRComment or deletePRComment.

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 at all: nothing says whether this is for editing your own comment, whether it can be used on another user's comment, or when to prefer it over deletePRComment plus addPRComment. The agent must infer usage from the name alone.

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