Skip to main content
Glama
tugudush
by tugudush

bb_get_branch

Get detailed information about a specific Bitbucket branch, including target commit and merge strategies.

Instructions

Get detailed information about a specific branch including target commit and merge strategies

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe branch name
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
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?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action ('Get') but does not explicitly confirm read-only behavior, mention error conditions, permissions, or response format details. The content note about target commit and merge strategies adds some context but does not address behavioral traits beyond the basic operation.

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 with no fluff. It front-loads the action and resource, and every word contributes to the meaning. This is highly concise and well-structured.

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

Completeness3/5

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

The tool has 5 parameters, no output schema, and no annotations. The description gives a basic sense of purpose and some content details, but it doesn't cover potential response shape, usage examples, or limitations. For a simple read-only get, it's adequate but not fully comprehensive.

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 baseline is 3. The description adds no additional meaning to the parameters—it doesn't elaborate on how parameters like 'name' or 'filter' should be used. It merely references the branch subject, which is already clear from 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?

The description uses a specific verb+resource combination: 'Get detailed information about a specific branch' and further specifies the scope with 'including target commit and merge strategies'. This clearly distinguishes it from sibling tools like bb_get_branches (which lists branches) by emphasizing 'specific branch'.

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

Usage Guidelines3/5

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

The description implies the tool is for retrieving details of a single branch, but it does not explicitly contrast with alternatives such as bb_get_branches or provide when-not-to-use guidance. There is no mention of exclusions or alternative tools, so the usage context is only implicit.

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