Skip to main content
Glama
mohitgoel188

MCP Bitbucket

by mohitgoel188

bb_pr_comment

Add comments to Bitbucket pull requests with inline file/line anchoring, threaded replies, or general PR feedback.

Instructions

Add a comment to a pull request. Pass file_path and line together to anchor it inline on that line of the diff; pass parent_id to reply within an existing thread; pass neither for a general PR comment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lineNoLine number in the new file for an inline comment
pr_idYesPull request ID
contentYesComment body (markdown)
file_pathNoFile to anchor an inline comment to
parent_idNoComment ID to reply to
repo_slugNoRepository slug/name; defaults to the repo detected from the current directory's git remote
workspaceNoBitbucket workspace
on_old_versionNoAnchor the line to the old file instead of the new one

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations show this is a mutating, non-destructive operation, and the description aligns. It adds valuable behavior beyond annotations: file_path and line must be paired for inline anchoring, parent_id enables replies, and omitting both creates a general comment.

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

Conciseness5/5

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

Two focused sentences with no wasted words. The core action is front-loaded, and the conditional placement rules are compressed into a clear, scannable structure.

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

Completeness5/5

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

The description covers all three behavioral modes of the tool and the conditions that trigger them. Combined with full schema coverage and an output schema, nothing essential is missing for an agent to invoke the tool correctly.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds parameter-relationship semantics not visible from individual schemas. It explicitly explains the coupling of file_path and line, the purpose of parent_id, and what happens when neither is supplied.

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

Purpose5/5

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

States a specific verb ('Add a comment') and resource ('pull request'), making the core action unambiguous. It also differentiates itself from sibling tools like bb_pr_list_comments and bb_pr_resolve_thread by being the creation endpoint, and clarifies the three placement modes inline, reply, and general.

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

Usage Guidelines4/5

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

Provides clear context for when to use the tool: commenting on a pull request. The description also gives operational guidance for the three comment modes (inline, reply, general), though it does not explicitly mention exclusions or alternative tools.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mohitgoel188/mcp-bitbucket'

If you have feedback or need assistance with the MCP directory API, please join our Discord server