Skip to main content
Glama
tugudush
by tugudush

bb_get_commits

Retrieve commit history for a Bitbucket repository branch, with support for pagination, JMESPath filters, and multiple output formats to fit your workflow.

Instructions

Get commits for a repository branch

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination
branchNoBranch name (defaults to main branch)
filterNoJMESPath expression to filter/transform structured response data. Applied before format conversion. Example: "values[].{name: full_name, lang: language}" — see https://jmespath.org for syntax
pagelenNoNumber of items per page (max 100)
repo_slugYesThe repository name
workspaceYesThe workspace or username
output_formatNoResponse format: "text" (default, human-readable), "json" (structured JSON), or "toon" (Token-Oriented Object Notation — compact tabular format that reduces LLM token consumption by 30-60%)
Behavior2/5

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

With no annotations provided, the description bears the full burden of behavioral disclosure. It only says 'Get commits' without revealing that the tool returns a paginated list, defaults to the main branch, supports filtering and output formats, or any other behavioral traits. The description is too sparse to inform the agent about side effects, response characteristics, or operational details.

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 a single sentence, 'Get commits for a repository branch,' which is extremely concise and front-loaded. There is no wasted wording or repetition of schema information, making it appropriately sized for a minimal-purpose statement.

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

Completeness2/5

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

Given the tool has 7 parameters, no output schema, and no annotations, the description is inadequate. It does not mention pagination behavior, default branch handling, response format options, or any other contextual details needed for correct invocation. The rich schema offsets some gaps but the description itself remains incomplete for a tool of this complexity.

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?

The schema description coverage is 100%, with each parameter (page, branch, filter, pagelen, repo_slug, workspace, output_format) having a clear description. The tool description itself adds no parameter semantics beyond what the schema already provides, so the baseline of 3 is appropriate.

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 'Get commits for a repository branch' clearly specifies the action (get), the resource (commits), and the scope (repository branch). This differentiates it from sibling tools like bb_get_pr_commits (PR-specific), bb_get_commit (single commit), and bb_get_file_history (file history). The purpose is unambiguous and effectively names the primary function.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It does not mention that it lists commit history on a branch, nor does it point to bb_get_pr_commits for pull request commits or bb_get_commit for a single commit. There is no exclusionary or contextual information to help the agent choose appropriately.

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

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