Skip to main content
Glama
Bitbucket MCP Server

Bitbucket MCP Server

by auliaadil

list_repositories

Lists repositories in a workspace with pagination controls so you can browse available projects and select one for inspection.

Instructions

List all repositories in the workspace

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for pagination (default: 1)
pagelenNoNumber of items per page (default: 10, max: 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only implies read-only via "List." It does not say whether results are filtered by permissions, what ordering applies, whether all repositories or only ones visible to the caller are returned, or what happens when the workspace has none.

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 short sentence with the resource and scope front-loaded and no filler. It is efficient, though so terse that brevity shades into under-specification rather than deliberate economy.

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 two-parameter, no-required-input list tool with no output schema and no annotations, the description is minimally adequate: the agent knows it enumerates repositories in the workspace. It leaves gaps on return shape, ordering, and permission scoping that nothing else in the definition fills.

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% and both pagination parameters document their defaults and the max page length, so the schema already does the work. The description adds nothing about paging semantics, 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?

States a specific verb and resource ("List all repositories") plus scope ("in the workspace"), which distinguishes it from get_repository and from the other list_* siblings by resource type. It stops short of explicitly contrasting with get_repository for single-repo lookup, so it is clear but not fully differentiated.

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 guidance on when to use this versus get_repository or the other list_* tools, and no stated preconditions such as workspace membership or auth. The agent must infer that this is the enumeration entry point from the name alone.

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