Skip to main content
Glama
host-mcp-bitbucket

host-mcp-bitbucket

getRepository

Read-only

Retrieves details for a specific Bitbucket repository by workspace and repository slug, using the default workspace when omitted.

Instructions

Get details for a specific Bitbucket 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": {
      "repoSlug": "<repoSlug>"
    },
    "name": "getRepository"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoSlugYesRepository slug
workspaceNoBitbucket workspace or project key (uses default if omitted)

Output Schema

NameRequiredDescriptionDefault
resultYesTool-specific result payload
statusYesWhether the tool call succeeded
messageYesHuman-readable status message

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered by structured data. The description adds no behavioral context of its own — nothing about authentication requirements, error behavior for missing repositories, or scope of the returned details. With an output schema present, omitting return details is acceptable, but nothing at all is contributed beyond the annotation.

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, which is easy to parse. It is efficient but borders on under-specification rather than deliberate brevity.

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?

The output schema means return values need not be explained, and the schema covers both parameters, so the structural minimum is met. However, for a lookup tool an agent would benefit from knowing failure modes or how the workspace default resolves, neither of which is addressed.

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 both repoSlug and workspace documented in the schema itself, including that workspace uses a default when omitted. The description adds no further meaning about parameter interaction or format, so the baseline 3 applies.

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 names a specific verb ('Get') and resource ('details for a specific Bitbucket repository'), which distinguishes it from createRepository and listRepositories by the word 'specific'. It does not explicitly name an alternative tool, so it falls short of the 5 bar.

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 statement of when to use this versus listRepositories or getWorkspace, nor any prerequisite such as authentication, permission level, or what happens when the repository does not exist. The only hint is the word 'specific', which an agent must infer usage from.

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