Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

browseFiles

List files and folders in a Bitbucket Data Center repository directory at a branch, tag, or commit to inspect repository structure and locate paths.

Instructions

List a directory

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

Input Schema

NameRequiredDescriptionDefault
atNoBranch, tag or commit
pathNoPath within the repository
limitNo
startNo
repoSlugYes
projectKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing: it does not cover auth/permission needs, whether the listing is recursive, pagination behavior despite limit/start params, error cases, or what happens with an invalid path. Only the read-only nature is weakly implied by "List".

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

At four words this is not concise so much as under-specified; there is no wasted wording but also no front-loaded scope, return shape, or constraint to anchor the agent. Brevity here costs information rather than saving it.

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

Completeness2/5

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

For a tool with six parameters, one required, no annotations, and no output schema, the definition leaves the majority of decisions to inference. A minimal sentence naming the repo/path semantics and pagination would have closed most of the gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33% across six parameters, so the description must compensate, and it does not. It never explains repoSlug, projectKey, limit, or start, and only loosely evokes path via "directory"; the remaining semantics are left entirely to the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb plus resource ("List a directory"), so the basic operation is inferable, but it says nothing about what "list" returns — files, subdirectories, or metadata — and does not distinguish it from the sibling listFiles tool. That makes the purpose only minimally resolved.

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 to use this tool versus alternatives, no prerequisites, and no exclusions. The agent must guess its role among sibling listing tools such as listFiles and getFileContent.

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