Skip to main content
Glama

create_repository

Creates a new Bitbucket repository in a specified project; use list_projects first to find the project key when the target project is unknown.

Instructions

Create a new repository in a Bitbucket project. Use list_projects first to find the project key.

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

Input Schema

NameRequiredDescriptionDefault
nameYesRepository name.
projectNoBitbucket project key (e.g., ~username for personal projects). If omitted, uses BITBUCKET_DEFAULT_PROJECT.
forkableNoWhether the repository is forkable (default: true).
descriptionNoRepository description.
defaultBranchNoDefault branch name (default: main).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and mostly doesn't. It never says what permissions or scopes are required, whether the new repo is private or public, what happens if the name already exists, or what is returned on success.

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 short sentences, zero filler, with the action stated first and the prerequisite second. Nothing could be removed without losing information.

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?

The schema fully documents inputs and there is no output schema, so the only remaining gaps are behavioral: required permissions, name-collision behavior, and what the response contains. For a mutation tool with no annotations, those omissions keep it at minimum-viable rather than complete.

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% — every one of the five parameters carries its own description including defaults and the BITBUCKET_DEFAULT_PROJECT fallback. The description adds only the pre-step hint about resolving the project key, so the baseline of 3 is correct.

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 ('Create a new repository') plus the scope ('in a Bitbucket project'), which cleanly separates it from siblings like create_pull_request, delete_repository, and list_repositories. It stops short of explicitly contrasting with any sibling, so it lands at clear-but-undifferentiated rather than fully distinctive.

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?

'Use list_projects first to find the project key' is genuine workflow guidance that prevents a common failure (passing an unknown project key). It gives no when-not-to-use conditions or comparison to alternatives, but for a single-purpose create tool no real alternative exists.

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