Skip to main content
Glama
host-mcp-bitbucket

host-mcp-bitbucket

requestChanges

Request changes on a pull request to signal it needs modifications before merging. Use this to formalize code review feedback in Bitbucket.

Instructions

Request changes on 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>",
      "pullRequestId": "<pullRequestId>"
    },
    "name": "requestChanges"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoSlugYesRepository slug
workspaceNoBitbucket workspace name
pullRequestIdYesPull request ID

Output Schema

NameRequiredDescriptionDefault
resultYesTool-specific result payload
statusYesWhether the tool call succeeded
messageYesHuman-readable status message

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3/5.0
Behavior2/5

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

The only annotation is readOnlyHint=false, so the description must carry the behavioural load for a mutation, yet it says nothing about what a change request actually does: it creates a blocking review item, it is reversible via removeChangeRequest, and repoSlug/pullRequestId must resolve to an existing PR. No contradiction with the annotation, but no added context either.

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?

A single short sentence with no filler, so it is front-loaded and easy to scan. It is however too terse to be considered well-sized for a mutating review action, and it carries no structure beyond the bare statement of purpose.

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?

An output schema exists and the input schema is fully documented, so both ends of the data contract are covered elsewhere. What is missing is behavioural: side effects on the PR (blocking merge, notifying the author) and the fact that the action can be undone, which an agent needs before invoking a write operation.

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 repoSlug, workspace, and pullRequestId are already documented in the schema. The description adds no meaning beyond that, which is exactly the baseline-3 case: the schema does the work and the prose simply does not interfere.

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: 'Request changes on a pull request'. It is recognisable as a PR review action, but it never contrasts itself with approvePullRequest, declinePullRequest, or removeChangeRequest, so the distinction rests on the reader's prior knowledge of Bitbucket.

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

Usage Guidelines3/5

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

The description implies usage through the phrase 'request changes on a pull request', which is enough to know it applies to an existing PR needing revision. It offers no explicit when/when-not guidance, no preconditions, and no pointer to approvePullRequest as the alternative outcome.

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