Skip to main content
Glama
Bitbucket MCP Server
by pdogra1299

list_repositories

Read-only

Retrieve repositories in a Bitbucket project or all accessible repositories on Cloud or Server, filtered by name, permission, workspace, and pagination.

Instructions

List repositories in a project (or all accessible on Server).

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
nameNoName filter
limitNoMax results (default 25)
startNoPagination start (default 0)
workspaceNoProject key (required on Cloud)
permissionNoe.g. REPO_READ

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.0.1

TDQS

A3.5/5.0
Behavior3/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. The description adds the meaningful behavioral note that omitting project scope on Server returns all accessible repositories, but says nothing about pagination behavior, filtering semantics, or result shape.

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 sentence with zero filler, and the scope distinction is front-loaded in the parenthetical. Nothing could be removed without losing information.

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 five-parameter list tool with full schema coverage and a read-only annotation, the description covers the essentials but leaves pagination, filtering interaction, and result ordering unaddressed. Adequate to call correctly, but thin for an agent deciding how to page through results.

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 coverage is 100%, so all five parameters (name, limit, start, workspace, permission) are already documented in the schema. The description adds no parameter-level detail beyond the project/Server scoping hint, 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 repositories) and clarifies scope: project-scoped versus all accessible on Server. It does not name any sibling (e.g., list_projects) to disambiguate, but the resource is distinct enough that an agent can tell it apart from the pull-request and branch tools.

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?

The parenthetical implies usage context — use with a project, or omit one on Server to get everything accessible — but no alternatives are named and no explicit when-not guidance is given. The Cloud-vs-Server distinction that most affects calling behavior lives only in the schema, not the description.

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