Skip to main content
Glama
lawp09

bitbucket-mcp

by lawp09

List Pipeline Runs

list_pipeline_runs
Read-onlyIdempotent

Retrieve pipeline runs for a Bitbucket repository with filters for status and target branch, supporting pagination.

Instructions

List pipeline runs for a repository with pagination support.

Args: repo_slug: Repository slug workspace: Workspace name (optional, defaults to configured workspace) status: Filter pipelines by status (PENDING, IN_PROGRESS, SUCCESSFUL, FAILED, ERROR, STOPPED) target_branch: Filter pipelines by target branch page_size: Items per page (default: 30) max_pages: Maximum pages to fetch (default: 1, max recommended: 10)

Returns: List of pipeline runs

Note: Fetching more than 10 pages or 300 items will trigger a warning.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNo
max_pagesNo
page_sizeNo
repo_slugYes
workspaceNo
target_branchNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already convey read-only, idempotent, non-destructive behavior. The description adds value by specifying pagination behavior (page_size, max_pages), a warning for fetching >10 pages, and default workspace behavior. This goes beyond annotations.

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 concise: a one-line summary, a well-organized parameter list, a returns line, and a note. Every sentence adds necessary information without redundancy. It is front-loaded with the core purpose.

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?

Given the output schema exists, the description's brief return statement suffices. It covers pagination limits and filters. However, it could mention error handling or behavior when workspace is unconfigured. Overall, it is mostly complete for a typical use case.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, but the tool description fully documents each parameter in the 'Args' section, including allowed values for status and defaults for page_size/max_pages. This compensates completely for the schema gap, adding clear meaning.

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 'List pipeline runs for a repository with pagination support', specifying the verb (list) and resource (pipeline runs). It distinguishes from sibling tools like get_pipeline_run (single run) and list_pipeline_caches (different resource) by focusing on runs with filtering and pagination.

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 description implicitly suggests usage for listing runs with filters, but it lacks explicit when-to-use or when-not-to-use guidance. For example, it does not mention that get_pipeline_run is for individual runs. No alternatives or exclusions are provided.

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/lawp09/bitbucket-mcp'

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