Skip to main content
Glama
mohitgoel188

MCP Bitbucket

by mohitgoel188

bb_request

Read-only

Access any Bitbucket Cloud 2.0 REST endpoint directly to cover actions beyond standard tools: merges, branches, pipelines, permissions. Paginate list endpoints for complete data.

Instructions

Call ANY Bitbucket Cloud 2.0 REST endpoint directly. This is the escape hatch for everything the purpose-built bb_* tools do not wrap - merges, commit comparison, branches and tags, pipelines, code search, webhooks, permissions. Use bb_list_endpoints first to get the exact path and params. Paths are relative to https://api.bitbucket.org/2.0 and must have real values substituted for {placeholders}. Set paginate=true on list endpoints to follow Bitbucket's next links and merge all pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNoReturn the response body verbatim instead of pretty-printed JSON (use for diff/patch/log endpoints)
bodyNoJSON request body for POST/PUT/PATCH
pathYesAPI path relative to the 2.0 base, e.g. /repositories/myworkspace/myrepo/pullrequests/123/comments
queryNoQuery string parameters
methodNoHTTP methodGET
paginateNoGET only: follow `next` links and merge every page's `values`
max_pagesNoPage cap when paginating

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior1/5

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

The description directly contradicts the annotations: it says 'Call ANY Bitbucket Cloud 2.0 REST endpoint' and the schema explicitly allows POST, PUT, DELETE, and PATCH with a request body, yet readOnlyHint is true. This is a serious inconsistency that could cause an agent to believe all requests are safe and non-mutating. The description also does not disclose authentication requirements, rate limits, or that responses may include raw/unprocessed bodies.

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 dense but every sentence earns its place: base URL, placeholder substitution, endpoint discovery via bb_list_endpoints, pagination behavior, and the escape-hatch scope are all covered in five concise sentences. It is front-loaded with the core purpose and avoids repetition of schema fields.

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 generic raw-API tool with an output schema and 100% parameter coverage, the description covers the essential operational details: base path, placeholder substitution, pagination, and how to discover endpoint-specific paths. It could additionally mention authorization preconditions or error/rate-limit behavior, but the existing guidance plus schema is sufficient for most correct calls.

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?

Schema coverage is 100%, so the schema already documents all parameters. The description adds meaningful semantics beyond the schema: paths are relative to the 2.0 base URL, placeholders must be replaced with real values, paginate=true follows Bitbucket's next links and merges all pages, and raw mode is relevant for diff/patch/log endpoints. This is solid added value for an agent selecting and invoking parameters.

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 opens with a specific verb and resource: 'Call ANY Bitbucket Cloud 2.0 REST endpoint directly.' It clearly frames the tool as an escape hatch for endpoints not wrapped by purpose-built bb_* tools and enumerates examples (merges, pipelines, webhooks, permissions). This distinguishes it from sibling tools and leaves no ambiguity about what the tool does.

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?

The description gives explicit usage guidance: use it for everything the purpose-built bb_* tools do not wrap, call bb_list_endpoints first to get paths and params, and enable paginate=true on list endpoints. It clearly conveys the fallback role but does not explicitly say to prefer a purpose-built tool when one exists, which is implied but not stated as a negative rule.

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

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

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