Skip to main content
Glama

list_repositories

Browse and discover repositories within a project or across accessible projects; returns names, slugs, clone URLs, and project associations for filtering and pagination.

Instructions

Browse and discover repositories within a project or across accessible projects. Returns repository names, slugs, clone URLs, and project associations.

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
limitNoNumber of repositories to return (default: 25, max: 1000)
startNoStart index for pagination (default: 0)
projectNoBitbucket project key to list repositories from. If omitted, uses BITBUCKET_DEFAULT_PROJECT or lists all accessible repositories across projects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/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; it does convey that this is a read/list operation and names the returned fields (names, slugs, clone URLs, project associations), which is useful. However, it omits auth/permission requirements, rate limits, and whether results are paginated or capped beyond what the schema implies.

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?

Two tight sentences, front-loaded with the action and scope followed by the return payload; nothing is wasted. Slightly short of ideal only because the second sentence is a bare field list rather than adding decision-relevant information.

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 three-optional-parameter list tool with no output schema, the description covers what the tool does and what it returns (names, slugs, clone URLs, project associations), which is the main gap an output schema would otherwise fill. Missing only behavioral context such as permissions or result limits.

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%, so limit, start, and project are fully documented in structured data and the baseline is 3. The description's mention of listing within a project vs across accessible projects restates rather than extends the project parameter's schema documentation.

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+resource ('Browse and discover repositories') with scope (within a project or across accessible projects) and enumerates the returned fields. It is clearly distinct from create_repository/delete_repository, though it does not explicitly differentiate itself from the sibling browse_repository, which sounds similar.

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?

Usage is implied by the scope language and by the project parameter's default behavior, but the description never says when to prefer this over browse_repository or list_projects, nor does it state exclusions or prerequisites. Guidance exists but is inferential rather than explicit.

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