Skip to main content
Glama
mcp-bitbucket

mcp-bitbucket

by n11techhub

bitbucket_add_pull_request_comment

Adds a general comment to a Bitbucket pull request, with optional threaded replies via parent comment ID, to support code review discussion and feedback.

Instructions

Adds a general comment to a Bitbucket pull request

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": {
      "repository": "<repository>",
      "prId": "<prId>",
      "text": "<text>"
    },
    "name": "bitbucket_add_pull_request_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
prIdYesPull request ID
textYesComment text
projectNoBitbucket project key
parentIdNoParent comment ID for replies
repositoryYesRepository slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

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, yet it only says a comment is added. It does not disclose whether replies are supported (parentId exists in the schema but is unmentioned), what is returned, whether the comment is attributed to the authenticated user, or what permissions are required for a mutation.

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 or redundancy. It is efficient, though its brevity reflects under-specification rather than disciplined economy.

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 five-parameter mutation tool with no annotations and no output schema, one sentence is insufficient. The description should at minimum explain the reply case via parentId, required identifiers, and whether the operation is idempotent or returns the created comment.

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

Parameters3/5

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

Schema description coverage is 100%, so every parameter including project, prId, text, and parentId is already documented in the schema. The description adds only the notion of a "general" comment, which vaguely relates to omitting parentId but does not clarify reply behavior. Baseline 3 applies.

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 ("Adds a ... comment to a Bitbucket pull request") and the qualifier "general" implicitly distinguishes it from the sibling bitbucket_add_pull_request_file_line_comment. It does not name or explicitly contrast with any sibling, so it falls short of 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 guidance on when to use this tool versus the file-line comment sibling, nor any prerequisites such as auth or permissions. The agent must infer the use case entirely from the tool name and the word "general".

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