Skip to main content
Glama

Bitbucket Cloud Enterprise Repositories and Commits MCP

Get Bitbucket repository detail

get_bitbucket_repo_detail
Read-onlyIdempotent

Fetch detailed metadata for a public Bitbucket Cloud repository including language, main branch, size, and timestamps.

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

Input Schema

NameRequiredDescriptionDefault
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.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds a genuinely useful behavioral constraint that annotations don't carry: the operation targets public repositories only, warning the agent that private repos will not resolve.

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; every clause (public, Bitbucket Cloud, repository, and the returned fields) contributes information.

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 two-parameter read tool with full annotation and schema coverage and no output schema, the description gives enough: target scope, key returned fields, and the public-repo constraint. Only error/no-result behavior for non-public repos is left implicit.

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% and includes concrete examples for both workspace and repo_slug, so the schema carries parameter meaning; the description adds the qualifiers "public" and "Cloud" that constrain how those identifiers are interpreted, which is modest added value.

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?

Specific verb ("Fetch") plus resource ("detailed metadata for a public Bitbucket Cloud repository") and an enumeration of the fields returned (language, main branch, size, timestamps). This clearly distinguishes it from the sibling list_* tools that enumerate branches, commits, tags, or repos, though no sibling is named explicitly.

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 implied by scope rather than stated: the word "public" signals this is for public Cloud repos, and "repository detail" implies a single-repo lookup, but the description never says when to prefer it over listing tools or what happens for private/inaccessible repos.

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.