Skip to main content
Glama
Bitbucket MCP Server

Bitbucket MCP Server

by auliaadil

get_repository

Retrieves detailed information about a specific Bitbucket repository using its slug, so you can inspect repository metadata before working with branches, commits, issues, or pull requests.

Instructions

Get detailed information about a specific 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": {
      "repo_slug": "<repo_slug>"
    },
    "name": "get_repository"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_slugYesRepository slug (name)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.6/5.0
Behavior2/5

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

No annotations and no output schema, so the description carries the full disclosure burden and discharges almost none of it. It doesn't say what fields "detailed information" covers, whether it returns 404 for missing slugs, or whether private repos require auth.

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?

One short, front-loaded sentence with zero filler or preamble. Its problem is under-specification rather than verbosity, which is scored elsewhere.

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?

The tool is structurally simple (one required string, no nesting), but with no annotations and no output schema the description should say what a "detailed" repository object yields and what happens on a bad slug. Neither is present, leaving a meaningful gap for even a simple tool.

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?

Single parameter with 100% schema description coverage, so the baseline is 3. "Specific repository" and "slug (name)" in the schema already convey the lookup key; the description adds no format, case-sensitivity, or naming-convention detail beyond that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a verb ("Get") and a resource ("repository") with the qualifier "detailed information," but the payload is left as a generic placeholder. Nothing in the sentence distinguishes it from a listing tool such as list_repositories other than the word "specific," so the agent must infer the retrieval semantics.

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?

No when-to-use guidance, no exclusions, and no mention of the sibling that lists repositories. The agent is left to guess that this is the single-record lookup rather than the collection endpoint.

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