Skip to main content
Glama
chzkyy

Bitbucket MCP Server

by chzkyy

browse_directory

List files and folders in a Bitbucket repository directory to understand its structure. Returns names, types, and paths for each entry.

Instructions

Browse the contents of a directory in a repository. Returns file and folder names, types, and paths. Use this to explore the repository structure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoThe directory path to browse (e.g., 'src/components'). Use empty string or '/' for root.
branchNoThe branch name. Defaults to the main branch.
repo_slugYesThe repository slug.
workspaceNoThe workspace slug. Optional if BITBUCKET_WORKSPACE env var is set.

Schema Changelog

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

  1. First observedv1.0.1

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries full burden. It indicates a read-only browse operation and what it returns, but does not disclose any potential limitations such as recursion depth, hidden files, or permission requirements. It provides basic behavioral transparency but not deep detail.

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 two sentences, front-loads the core purpose and result, and has no redundant or filler words. It earns every word.

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

Completeness4/5

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

For a browse tool with four parameters and no output schema, the description provides enough context: the action, result summary, and use case. It does not exhaustively explain edge cases but is sufficient for an agent to understand when and how to invoke it.

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 all parameters are already documented. The description adds no extra parameter semantics beyond what the schema provides, which matches the baseline for high coverage.

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?

The description clearly states the action (browse), the resource (directory in a repository), and the output (file/folder names, types, paths). It is distinguishable from siblings like get_file_content by focusing on directory exploration rather than file retrieval.

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?

Explicitly states the use case 'Use this to explore the repository structure,' which provides clear context. However, it does not mention when not to use it or name alternative tools, so it lacks exclusion guidance.

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/chzkyy/mcp_bitbucket'

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