Skip to main content
Glama
host-mcp-bitbucket

host-mcp-bitbucket

listRepositories

Read-only

Retrieve Bitbucket repositories from a Cloud workspace or Data Center project, with optional name filtering and pagination controls to locate and browse repositories.

Instructions

List Bitbucket repositories in a workspace (Cloud) or project (Data Center)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "listRepositories"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoWhen true, fetches all pages (capped at 1000 items)
nameNoFilter repositories by name (partial match)
pageNoPage number (1-based)
pagelenNoNumber of items per page (default: 10, max: 100)
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

B3.1/5.0
Behavior2/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's only added value would be behavioral detail beyond that. It supplies none: no mention of pagination defaults, the 1000-item cap behavior, ordering, or empty-result handling, all of which matter for a list operation.

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 zero filler; the resource and its scope appear first. It is efficient, though the parenthetical qualifier is doing a lot of compressed work that a second clause could carry more clearly.

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?

With 100% schema coverage, an output schema, and readOnlyHint, most of the burden is already carried by structured data, so a one-liner is nearly sufficient. Still, for a five-parameter paged list tool, an agent gets no narrative on filtering or paging behavior from the description itself.

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 coverage is 100%, so baseline is 3. The description earns a bump by clarifying that the 'workspace' parameter means a workspace key on Cloud but a project key on Data Center, which the schema only gestures at with 'workspace or project key'.

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) plus the resource (Bitbucket repositories) and the container it lives in (workspace on Cloud / project on Data Center). That is enough to separate it from getRepository or createRepository, though it never names a sibling explicitly.

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 when-to-use guidance: nothing says when to call this instead of getRepository for a single repo, and nothing about paging strategy despite a 1000-item cap on the 'all' parameter. The Cloud/Data Center parenthetical is scoping context, not usage guidance.

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