Skip to main content
Glama

bitbucket_commits

List commits, retrieve commit details, and compare changes between branches or commits in Bitbucket repositories to track code history and modifications.

Instructions

Manage Bitbucket commits and diffs. Actions:

  • list: List commits in a repository

  • get: Get details of a specific commit

  • get_diff: Get diff between two refs (e.g., "branch1..branch2" or "commit1..commit2")

  • get_diffstat: Get diffstat (summary of changes) between two refs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform
workspaceYesWorkspace slug
repo_slugYesRepository slug
commit_hashNoCommit hash (required for get action)
revisionNoBranch name or commit hash to list commits from
pathNoFilter commits by file path
includeNoInclude commits reachable from this ref
excludeNoExclude commits reachable from this ref
specNoDiff spec (e.g., "main..feature" or "abc123..def456")
pageNoPage number for pagination
pagelenNoResults per page (max 100)
formatNoOutput format: json (full), toon (compact tokens), compact (essential fields only)

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

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