Skip to main content
Glama
lawp09

bitbucket-mcp

by lawp09

Get Pipeline Config

get_pipeline_config
Read-onlyIdempotent

Retrieve a Bitbucket repository's pipeline configuration, including its enabled status and next build number. Requires admin repository scope.

Instructions

Get the repository pipelines configuration (enabled flag, next build number).

Note: this endpoint requires the admin:repository scope. A read-only token receives a 403 listing the missing privilege.

Args: repo_slug: Repository slug workspace: Workspace name (optional, defaults to configured workspace)

Returns: Pipelines configuration (enabled, next_build_number)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_slugYes
workspaceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Adds auth requirement and error behavior beyond what annotations (readOnly, idempotent) convey. Full burden addressed.

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?

Four focused sentences: purpose, auth note, parameter listing, return description. No wasted words.

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

Completeness5/5

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

Covers purpose, parameters, auth, and return values. Output schema exists and description summarizes return. Complete for a simple config retrieval.

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

Parameters4/5

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

Description explains both parameters (repo_slug as slug, workspace as optional name) despite 0% schema coverage, compensating well.

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?

Clearly states it retrieves repository pipeline configuration (enabled flag, next build number). Specific verb and resource distinguish it from siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly notes required admin scope and behavior for read-only tokens (403). Provides clear context but no direct comparison to alternatives.

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