Skip to main content
Glama
mohitgoel188

MCP Bitbucket

by mohitgoel188

bb_search_repositories

Read-only

Search Bitbucket repositories by name, project key, language, or update date using query syntax. Filter results and page through matches to locate relevant repos.

Instructions

Search repositories using Bitbucket's query syntax: name (name ~ "pattern"), project key (project.key = "PROJ"), language (language = "python"), or dates (updated_on >= "2024-01-19", ISO 8601 only). To search file contents instead, use bb_list_endpoints for the code-search endpoints.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
queryYesQuery, e.g. 'name ~ "test"' or 'project.key = "PROJ"'
pagelenNoResults per page
workspaceNoBitbucket workspace; '~' targets your personal workspace

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

A4.5/5.0
Behavior3/5

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

readOnlyHint and openWorldHint already establish that this is a safe read over the open world, and the description adds no further behavioral caveats such as auth requirements, rate limits, ordering, or pagination. The only extra trait is the ISO 8601 date restriction, which is more of a parameter constraint than a behavioral disclosure.

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?

Two sentences with the core verb, query syntax, and alternative mode in the first and second lines; no filler. Front-loaded and easy to scan.

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?

For a read-only search tool with a full input schema, an output schema, and annotations, the description supplies the missing pieces: query-syntax semantics, the ISO date rule, and routing to file-content search. Nothing an agent needs to invoke it correctly is absent.

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?

Because schema coverage is 100%, baseline is 3; the description elevates this by giving representative syntax for four query dimensions and explicitly limiting dates to ISO 8601. It doesn't add information about page/pagelen/workspace, but those are simple and fully documented in the schema.

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?

States a clear action ('Search repositories') and a specific resource (Bitbucket repositories), with concrete query-syntax examples for names, project keys, languages, and dates. The final sentence explicitly differentiates it from file-content search, so an agent can distinguish it from sibling endpoints.

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

Usage Guidelines5/5

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

Provides an explicit conditional: use this tool to search repository metadata; use bb_list_endpoints code-search endpoints instead when the goal is file contents. This is a clear when/when-not pair with a named alternative.

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