Skip to main content
Glama
mohitgoel188

MCP Bitbucket

by mohitgoel188

bb_delete_file

Destructive

Delete a file from a Bitbucket repository, specifying the branch, commit message, and optional repository or workspace details.

Instructions

Delete a file from a Bitbucket repository

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the file to delete
branchNoBranch to commit tomain
messageNoCommit messageDelete file via MCP
repo_slugNoRepository slug/name; defaults to the repo detected from the current directory's git remote
workspaceNoBitbucket workspace

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already disclose destructiveHint=true and readOnlyHint=false, so the description does not need to restate the safety profile. However, it adds no context about the tool's commit behavior (e.g., that a commit is created on the specified branch) or permission requirements. The description merely restates the operation without enriching the behavioral picture beyond what annotations and schema parameters imply.

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?

The description is a single, front-loaded sentence that states the action and target immediately. It contains no filler or redundant words, making it easy for an agent to parse quickly.

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?

With a simple action, destructive annotations, and a fully documented schema, the description covers the basics. However, it omits the fact that deletion is performed via a commit on a branch, which is a meaningful behavioral detail for an agent deciding whether to call this tool. The branch and message parameters hint at commit semantics, but the description itself does not confirm it, leaving a small but real completeness gap.

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?

All five parameters have schema descriptions, so the schema carries the semantic burden. The tool description does not add any parameter-specific meaning, such as how path should be formatted or how repo_slug/workspace are resolved. This meets the baseline expected when schema coverage is 100%.

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 uses the specific verb 'Delete' and identifies the resource as 'a file from a Bitbucket repository', making the operation clear. It does not explicitly differentiate from sibling tools like bb_write_file, but the name and resource make the purpose unambiguous.

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?

The description offers no guidance on when to use this tool versus alternatives. It does not mention that it should be used instead of bb_write_file for removing files, nor does it specify any preconditions like the repository being available locally. This leaves the agent to infer usage solely from the name.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mohitgoel188/mcp-bitbucket'

If you have feedback or need assistance with the MCP directory API, please join our Discord server