Skip to main content
Glama
tugudush
by tugudush

bb_get_file_content

Read file content from a Bitbucket repository with pagination, branch selection, and output formats (text, JSON, or TOON).

Instructions

Get the content of a file from a repository with pagination support

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNoBranch, tag, or commit hash (defaults to main branch)
limitNoMaximum number of lines to return (default: 1000, max: 10000)
startNoStarting line number for pagination (1-based, default: 1)
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
file_pathYesPath to the file in the repository
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 available, the description carries the full burden of behavioral disclosure. It only mentions pagination support and does not describe what the response looks like, how pagination works, error behavior, or any side effects. This is insufficient for a file-content retrieval tool with no output schema.

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, front-loaded sentence with no filler or redundant content. Every word adds value, and it directly communicates the primary action.

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?

Despite rich schema descriptions, the tool has 8 parameters, no annotations, and no output schema. The one-sentence description does not explain the return format, pagination semantics, or how filter and output_format affect results. This is 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?

Schema description coverage is 100%, and each parameter has a clear description (e.g., limit, start, filter, output_format). The description adds little beyond the phrase 'pagination support', so it does not improve on the schema. Baseline 3 applies.

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 and resource: 'Get the content of a file from a repository', clearly identifying the tool's core function. It also mentions pagination support, which adds useful distinguishing detail. This tool is distinct from siblings like bb_get_file_history or bb_browse_repository.

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 when to use the tool ('get the content of a file') and hints at large-file scenarios via 'pagination support', but it does not explicitly state alternatives or exclusions. There is no mention of when to prefer bb_get_file_history, bb_get_diff, or other related tools.

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