Skip to main content
Glama

Bitbucket Cloud Enterprise Repositories and Commits MCP

List Bitbucket repository branches

list_bitbucket_repo_branches
Read-onlyIdempotent

List branches and head commit metadata in a public Bitbucket Cloud 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": {
      "workspace": "<workspace>",
      "repo_slug": "<repo_slug>"
    },
    "name": "list_bitbucket_repo_branches"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1).
limitNoMaximum branches to return (default 25, max 100).
repo_slugYesRepository slug (e.g. "aui").
workspaceYesBitbucket Cloud workspace slug (e.g. "atlassian").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description usefully adds that results include head commit metadata and that only public repos are served, but it says nothing about pagination shape or result ordering beyond what the schema shows.

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 no filler, identifying the resource, the returned metadata and the scope of applicability immediately. It is slightly too terse to earn a 5, but nothing is wasted.

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 simple paginated read tool with full annotation coverage, a complete input schema and no output schema requirement, this description covers what the agent needs to select and call it. The only gap is the absence of any note on result ordering or how paging terminates.

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%, with page, limit, repo_slug and workspace all documented inline including defaults and maximums. The description adds no further parameter meaning, which matches the baseline 3 when the schema carries the load.

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 gives a specific verb ("List") and resource ("branches and head commit metadata") scoped to "a public Bitbucket Cloud repository," which clearly separates it from siblings like list_bitbucket_repo_commits and list_bitbucket_repo_tags. It stops short of explicitly naming a sibling alternative, keeping it at 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the resource name and by the qualifier "public," which does convey that this tool is limited to public repositories. There is no explicit when-to-use/when-not statement and no named alternative for private repos or for adjacent listings such as tags or commits.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.