Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

forkRepository

Create a fork of a Bitbucket Data Center repository in a specified target project or your personal project, with an optional custom fork name.

Instructions

Fork a repository

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>"
    },
    "name": "forkRepository"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoFork name
repoSlugYes
projectKeyNo
targetProjectKeyNoDefault: your personal project

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and delivers almost nothing: it does not say whether the fork copies branches, webhooks, or permissions, whether the call is synchronous, or what permissions the caller needs. The only default behavior disclosed ('Default: your personal project') lives in the schema, not the description.

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?

The single phrase is front-loaded and free of waste, but its brevity reflects under-specification rather than economy. There is no structure to speak of beyond the verb-object pair.

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 mutation that creates a new repository in a target project, with no annotations, no output schema, and half the parameters undocumented, a three-word description leaves out everything an agent needs to invoke it correctly. It is only marginally better than a name alone.

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 50%: repoSlug, projectKey, and name are undocumented in both schema and description, and the description mentions no parameters at all. It therefore fails to compensate for the coverage gap on a 4-parameter tool.

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?

The description names a specific verb and resource ('Fork a repository'), so an agent immediately knows the operation. It stops short of distinguishing this from the sibling createRepository or explaining what a fork yields, so it is clear but not differentiating.

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 when-to-use guidance, no prerequisites (e.g. read access to the source repo), and no mention of createRepository as the alternative for making an independent repo. The agent must infer all situational context.

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