Skip to main content
Glama

delete_repository

Permanently remove a Bitbucket repository from a project when it is no longer needed; this irreversible action prevents further access.

Instructions

Delete a repository from a Bitbucket project. This action is irreversible.

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

Input Schema

NameRequiredDescriptionDefault
projectNoBitbucket project key (optional if default project configured).
repositoryYesRepository slug to delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/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 burden. It usefully discloses that the operation is irreversible, but says nothing about required authorization, whether related artifacts (pull requests, comments, branches) are also removed, whether confirmation is needed, or what is returned. For a destructive, non-annotated tool this leaves major behavioral questions open.

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 with zero padding, and the irreversible warning is placed immediately after the action statement where it does the most work.

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 core intent and the destructive nature are conveyed, and parameter documentation lives in the schema. However, with no annotations and no output schema, the description should compensate by covering permissions, blast radius, and whether the deletion is soft or permanent beyond the single word 'irreversible'.

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 both parameters are already documented in the schema. The description's mention of 'from a Bitbucket project' loosely reinforces the project key's role but adds no format, scoping, or default details beyond the schema. Baseline 3 is appropriate.

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 ('Delete') and resource ('a repository from a Bitbucket project'), so the effect is unambiguous and clearly distinct from create_repository or browse_repository. It stops short of explicitly contrasting itself with any sibling, which keeps it off a 5.

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 this tool is appropriate versus alternatives, no mention of required permissions or ownership, and no note about the optional project parameter's default behavior. 'This action is irreversible' is a warning, not usage guidance, so the agent must infer the preconditions for calling it.

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