Skip to main content
Glama
mdanelutti

bitbucket-mcp-server

by mdanelutti

decline_pull_request

Decline a Bitbucket pull request by providing workspace, repo slug, and PR ID. Use only when dangerous operations are enabled.

Instructions

Decline a pull request (requires BITBUCKET_ENABLE_DANGEROUS=true)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pr_idYesPull request ID
repo_slugYesRepository slug
workspaceYesBitbucket workspace slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses the critical prerequisite that BITBUCKET_ENABLE_DANGEROUS must be true, which is essential behavioral context for a potentially destructive operation. It doesn't describe side effects or permissions, but the major gate is documented.

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?

Single sentence with zero waste, front-loading the action and including a crucial condition in parentheses.

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

Completeness3/5

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

For a 3-parameter mutation tool with no annotations or output schema, the description covers the verb and a key prerequisite but omits return format, side effects, or potential error conditions. Adequate but with clear gaps.

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 the baseline is 3. The description adds no parameter syntax or format details beyond what the schema already provides.

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 ('Decline') and resource ('pull request'), which clearly distinguishes it from siblings like merge_pull_request, approve_pull_request, or unapprove_pull_request.

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?

Implies the tool is used to reject a pull request, but provides no explicit guidance on when to use it versus alternatives like request_changes (which is also a form of rejection).

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