Skip to main content
Glama

bitbucket_repositories

Manage Bitbucket repositories by listing, creating, deleting, forking, and accessing files to organize and control your codebase.

Instructions

Manage Bitbucket repositories. Actions:

  • list: List repositories in a workspace

  • get: Get repository details

  • create: Create a new repository

  • delete: Delete a repository

  • fork: Fork a repository

  • get_file: Get file content from a repository

  • list_source: List files/directories in a repository path

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform
workspaceYesWorkspace slug
repo_slugNoRepository slug (required for most actions except list)
qNoQuery string to filter repositories
sortNoSort field (e.g., "-updated_on" for newest first)
roleNoFilter by role
nameNoRepository display name (for create)
descriptionNoRepository description (for create)
is_privateNoWhether repository is private (for create)
project_keyNoProject key to associate with (for create)
new_nameNoName for the forked repository
target_workspaceNoTarget workspace for the fork
pathNoFile or directory path in the repository
refNoGit ref (branch, tag, or commit hash)HEAD
pageNoPage number for pagination
pagelenNoResults per page (max 100)
formatNoOutput format: json (full), toon (compact tokens), compact (essential fields only)
Behavior2/5

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

No annotations are provided, so the description carries full burden. While it lists actions, it doesn't disclose behavioral traits like authentication requirements, rate limits, destructive consequences of delete, pagination behavior, or error handling. The description is functional but lacks operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well-structured with a brief introductory phrase followed by a bulleted list of actions. Each bullet is clear and specific. The description is appropriately sized for a multi-action tool, though the introductory phrase could be more informative.

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?

For a complex tool with 17 parameters, 7 distinct actions, no annotations, and no output schema, the description is inadequate. It lists actions but doesn't explain return values, error conditions, authentication needs, or how actions differ in behavior. Given the complexity, more contextual information is needed.

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?

Schema description coverage is 100%, so the schema already documents all 17 parameters thoroughly. The description adds minimal value beyond implying action-specific parameter relevance (e.g., 'repo_slug required for most actions except list'), but doesn't provide additional syntax, format, or usage details beyond what's in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool manages Bitbucket repositories and lists 7 specific actions with verbs and resources. It distinguishes this as a general repository management tool, though it doesn't explicitly differentiate from sibling tools like bitbucket_workspaces or bitbucket_branches beyond scope.

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?

No guidance on when to use this tool versus sibling tools like bitbucket_workspaces or bitbucket_branches. The description lists actions but provides no context about prerequisites, when certain actions are appropriate, or alternatives for similar functionality.

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

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