Skip to main content
Glama

bitbucket_list_repositories

Retrieve a list of Bitbucket repositories, filtered by workspace or project key, or get all repositories accessible to you.

Instructions

List repositories in a workspace/project or all accessible repositories.

Args: ctx: The MCP context. workspace: Optional workspace name or project key to filter repositories.

Returns: JSON string containing list of repositories with their details.

Raises: ValueError: If the Bitbucket client is not configured or available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspaceNoWorkspace name (Cloud) or project key (Server/DC). If not provided, lists all accessible repositories.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so description must carry the burden. It states it lists repositories (read-only) and raises ValueError if client not configured. However, it lacks details on pagination, rate limits, or what 'list of repositories with details' entails, which is essential for a list tool.

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?

The description is extremely concise and well-structured with Args, Returns, Raises sections. Every sentence adds value, no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple list tool with one optional parameter and an output schema (not shown), the description covers the essential purpose and basic behavior. Could be improved with pagination info or result ordering, but overall adequate.

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%, and the parameter description already covers workspace being a workspace name or project key. The description adds no new semantics beyond the schema, so baseline 3 is appropriate.

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

Purpose5/5

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

The description clearly states the tool lists repositories in a workspace/project or all accessible ones. It uses a specific verb and resource, and distinguishes from siblings like bitbucket_get_repository_info (single repo) and other list tools.

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 guidance on when to use this tool versus alternatives (e.g., get_repository_info for details, list_branches for branches). It does not specify when not to use it or provide context for selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SharkyND/mcp-atlassian'

If you have feedback or need assistance with the MCP directory API, please join our Discord server