Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

listRepositories

List repositories in a Bitbucket Data Center project, with name filtering and pagination controls to find and inspect project repos.

Instructions

List repositories in a project

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "listRepositories"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoAll pages, max 1000
nameNoName contains
limitNo
startNo
projectKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.6/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 burden and provides almost nothing: no statement of read-only behavior, no pagination semantics, no explanation of what "all" does or the 1000-page cap, and no auth/permission context. The only implicit signal is that "List" suggests a non-mutating read.

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

Conciseness3/5

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

The single sentence is front-loaded and has no filler, but it is under-specified rather than economical for a five-parameter tool with pagination. 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 five parameters, optional paging controls, a name filter, and a bulk-fetch flag, plus no output schema and no annotations, the description is too thin. An agent cannot determine default page size, whether results span all projects, or how to retrieve more than the first page.

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 40% — limit, start, and projectKey have no schema descriptions. The description only vaguely maps "in a project" to projectKey and says nothing about the name filter, paging parameters, or the all-pages flag, so it fails to compensate for the coverage gap.

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?

Names a specific verb and resource ("List repositories") and adds scope ("in a project"), so an agent can tell what it returns. It does not differentiate from the many sibling list* tools (listProjects, listBranches, listFiles), but the resource noun is 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?

There is no when-to-use guidance, no mention of alternatives, and no hint about whether projectKey is required for meaningful results despite zero required parameters. The agent must infer everything about selection and preconditions.

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