Skip to main content
Glama
jabdon00

bitbucket-standalone-mcp

by jabdon00

bb_get_file_metadata

Retrieve file metadata including name, parent directory, and last modifying commit to verify file existence and support audit trails.

Instructions

Get metadata about a file: name, parent directory, and commit that last touched it. Use for existence checks and audit trails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
atYes
pathYes
repoSlugYes
projectKeyYes
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It conveys a read-only metadata operation and hints at behavior through 'existence checks,' but it does not explain behavior for nonexistent files, revision semantics, authentication needs, or error cases. Adequate but not rich.

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?

Two sentences with no filler. The first sentence front-loads the core action and return fields; the second adds practical use cases. Every word earns its place.

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?

No output schema exists, so the description usefully names the three returned metadata fields and gives use cases. But it omits the meaning of the 'at' parameter and any invocation context for the repository identifiers, making it only partially complete for correct invocation.

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 0%, so the description must compensate for all four parameters. It does not explain projectKey, repoSlug, path, or at, nor their formats or relationships. Only the word 'file' vaguely implies what path refers to, leaving the required parameters largely undocumented.

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?

States a specific verb and resource: 'Get metadata about a file' and enumerates exact returned fields (name, parent directory, last-touching commit). This clearly differentiates it from content-returning siblings like bb_get_file and bb_raw_file, and its 'existence checks and audit trails' purpose further distinguishes it.

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

Usage Guidelines4/5

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

Explicitly says 'Use for existence checks and audit trails,' giving clear context for when to select this tool. However, it does not name alternative tools or state when not to use it, so it stops short of full exclusion guidance.

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/jabdon00/bitbucket-standalone-mcp'

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