Skip to main content
Glama

Browse Files

bitbucket_browse
Read-onlyIdempotent

Browse repository files and directories in Bitbucket Data Center. List contents at a path or view file content, optionally at a specific branch or commit.

Instructions

Browse the file tree of a repository.

Lists files and directories at the given path. If path points to a file, returns its content instead. Use at to browse a specific branch or commit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
atNoBranch, tag, or commit to browse at (default: default branch)
pathNoPath to browse (e.g. 'src/main/java'). Leave empty for root.
limitNoMax results (1-1000)
startNoPagination start index
project_keyYesThe project key
repository_slugYesThe repository slug
response_formatNoOutput format: markdown (default) or jsonmarkdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate read-only and idempotent behavior. Description adds value by explaining that browsing a file returns content (dual behavior) and how to use the 'at' parameter, going beyond annotations.

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?

Three sentences, no fluff, front-loaded with main purpose. Every sentence earns its place.

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?

With output schema present and rich annotations, description provides core functionality and parameter hints. Minor gaps: no pagination clarification or explicit differentiation from list_files sibling.

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 baseline is 3. Description mentions 'path' and 'at' but does not add significant meaning beyond the schema's own descriptions. Minor value.

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?

Description clearly states verb (browse/lists) and resource (file tree of a repository), and explains conditional behavior for files vs directories. However, it does not explicitly differentiate from sibling tools like bitbucket_list_files or bitbucket_get_file_content, which overlap in functionality.

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?

No guidance on when to use this tool vs alternatives among the 25 sibling tools. Lacks explicit when-to-use or when-not-to-use context, leaving the agent to infer from tool names.

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

Install Server

Other Tools

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/christopherekfeldt/mcp-bitbucket-dc'

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