Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

addBlockerComment

Adds a blocker task comment to a Bitbucket pull request, optionally anchored to a file line, to flag issues that must be resolved before merging.

Instructions

Add a blocker comment (task) to a 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": {
      "repoSlug": "<repoSlug>",
      "prId": "<prId>",
      "text": "<text>"
    },
    "name": "addBlockerComment"
  }
}

Input Schema

NameRequiredDescriptionDefault
prIdYes
textYes
repoSlugYes
anchorLineNoInline: line
anchorPathNoInline: file path
projectKeyNo
anchorFileTypeNoFROM=old, TO=new file
anchorLineTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.7/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 implies a write via 'Add'. It says nothing about whether the blocker affects mergeability (e.g. blocks merging), whether notifications are sent, whether the operation is idempotent, or what the response 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 or repetition. It is efficient, though its brevity is partly 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 an 8-parameter mutation tool with no annotations and no output schema, a one-line description leaves major gaps: the distinction between a general PR comment and a blocker/task, the inline-anchor workflow, and the effect on merge state. It is not complete enough for an agent to call this confidently over its sibling.

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 38% across 8 parameters, and the description compensates for none of it. The inline anchoring parameters (anchorLine, anchorPath, anchorFileType, anchorLineType) and projectKey are entirely unaddressed in the description, and required fields repoSlug/prId/text are only obliquely implied by 'to a pull request'.

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 ('Add') and a specific resource ('blocker comment (task)') targeted at a pull request, which is more informative than the bare tool name. However, it never distinguishes this from the close sibling addPRComment, so an agent cannot tell from the description alone which comment tool applies.

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 instead of addPRComment, no prerequisite or permission requirements, and no statement of what qualifies as a 'blocker'. The agent must infer the selection criteria from the tool name alone.

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