Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

listFiles

Lists all file paths in a Bitbucket repository, with optional branch, tag, or commit filtering, so you can inspect repository contents and locate files.

Instructions

List all file paths in a repository

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": "listFiles"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoBranch, tag, or commit hash
allNoAll pages, max 1000
limitNo
startNo
repoSlugYes
projectKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and mostly fails: it does not say whether listing is recursive or top-level only, whether pagination applies, whether it requires auth, or what the result looks like. Worse, "all file paths" can be misread against the `all` parameter, which actually controls paging to a 1000-item cap, creating ambiguity rather than clarity.

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

Conciseness4/5

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

A single front-loaded sentence with zero filler. It is efficient, though the brevity borders on under-specification given the tool's six parameters.

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 6-parameter tool with a third of its schema undocumented, no annotations, and no output schema, this description is far too thin. An agent cannot determine scoping, recursion depth, or paging behavior from it.

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 6 parameters, so the description needs to compensate and does not. It never mentions branch/tag/commit scoping (`at`), project scoping (`projectKey`), or paging (`limit`/`start`/`all`); only the vague word "repository" hints at the required repoSlug.

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 states a specific verb and resource: "List all file paths in a repository." An agent knows this returns paths rather than file contents. However, it does nothing to distinguish itself from the sibling browseFiles, so it falls short of 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 when-to-use guidance, no prerequisites, and no mention of the obvious alternative (browseFiles) or when that would be preferred. The agent must infer selection criteria from the name alone.

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