Skip to main content
Glama
Bitbucket DC MCP Server

Bitbucket DC MCP Server

by lvluu

getFileBlame

Retrieve line-by-line blame for a file in a Bitbucket repository to identify the commit and author responsible for each line, optionally at a specific branch, tag, or commit.

Instructions

Get blame for a file

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repoSlug": "<repoSlug>",
      "path": "<path>"
    },
    "name": "getFileBlame"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoBranch, tag, or commit hash
pathYesFile path
repoSlugYes
noContentNoBlame only, no file content
projectKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it says nothing about read-only character, permission requirements, granularity of the blame output, or size of the response. The only behavioral hint, that content can be suppressed, lives in the schema's noContent field rather than the description.

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

Conciseness3/5

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

The five-word sentence is front-loaded and free of waste, but at this length the brevity reads as under-specification rather than disciplined conciseness. Nothing is redundant, but very little is delivered.

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?

With five parameters, no annotations, and no output schema, the definition should describe what a blame result contains and how refs and repository identifiers are resolved. Instead it leaves the agent to guess at the return shape and the meaning of half the inputs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 60%, and repoSlug and projectKey have no description at all, while the description itself adds no meaning to any parameter. It does not explain that 'at' accepts a branch, tag, or commit, nor how noContent changes the return payload, leaving the coverage gap unaddressed.

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?

"Get blame for a file" names a specific verb (get) and resource (blame annotations for a file), so an agent familiar with VCS terminology can tell it apart from getFileContent. It is clear, but adds no explicit differentiation from the content-reading sibling beyond the word "blame".

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?

There is no guidance on when to use this instead of getFileContent or getCommit, and no mention of prerequisites such as needing a repository slug, project key, or valid ref. The agent must infer everything about selection and setup from the schema.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.