Skip to main content
Glama

Bitbucket Cloud Enterprise Repositories and Commits MCP

List Bitbucket repository commits

list_bitbucket_repo_commits
Read-onlyIdempotent

List recent commits for a public Bitbucket Cloud repository with optional branch, tag, or commit revision filter.

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_commits"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum commits to return (default 15, max 50).
revisionNoOptional branch name, tag, or commit hash to start from.
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.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is fully covered and the description need not repeat it. The description adds the meaningful constraint that this only works for public repositories, but stays silent on ordering, pagination, or how to retrieve older commits — the main behavioral ambiguity for a list tool.

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?

A single front-loaded sentence with no filler; the core action comes first and the optional filter clause follows. Nothing in it is redundant with the annotations or schema.

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

Completeness3/5

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

For a simple read-only list tool with full schema coverage and complete annotations, most of what an agent needs is present. The remaining gaps — result ordering, whether the default 15/max 50 limit is paginated, and how to fetch older commits — are exactly the details an agent would need to call this repeatedly or exhaustively.

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

Parameters4/5

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

Schema description coverage is 100%, so all four parameters are already documented, giving a baseline of 3. The description adds a little by clarifying that revision is a starting point filter (branch, tag, or commit) and that results are "recent", which frames the purpose of the limit parameter.

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?

States a specific verb+resource (list commits) scoped to a public Bitbucket Cloud repository, and names the filtering dimension (branch/tag/commit revision). That resource is inherently distinct from the sibling tools that list branches, tags, or repo metadata, though the description does not explicitly route the agent away from them.

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?

The phrase "public Bitbucket Cloud repository" implies the usage context (no private-repo or auth flow), but there is no explicit when-to-use vs. when-not guidance and no mention of what to do if more than 50 commits are needed. Guidance is implied rather than stated.

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.