Skip to main content
Glama
ManpreetShuann

Bitbucket Server MCP

get_attachment_metadata

Retrieve the JSON metadata of a specific attachment in a Bitbucket repository by providing its project key, repository slug, and attachment ID.

Instructions

Retrieve the metadata (JSON) associated with an attachment.

Args: project_key: The project key. repo_slug: The repository slug. attachment_id: The numeric attachment ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_keyYes
repo_slugYes
attachment_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

Description implies read-only retrieval but provides no further behavioral details (e.g., error handling, authorization needs, side effects). With no annotations, description should be more informative.

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?

Very concise with clear argument list. However, lacks additional structure like examples or notes, which would improve usability without much length.

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?

Given output schema exists, description need not detail return values. Tool is simple (3 scalar params). Completeness is adequate but minimal; more context about return type would help.

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?

Description merely repeats parameter names from schema without adding format constraints, examples, or clarifying distinctions (e.g., project_key vs repo_slug format). Schema coverage is 0%, so description should compensate but fails.

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?

Description clearly states it retrieves metadata of an attachment, using specific verb and resource. Distinguishes from siblings like get_attachment (likely file content) and save_attachment_metadata.

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 vs alternatives like get_attachment or save_attachment_metadata. Does not mention prerequisites or context.

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/ManpreetShuann/bitbucket-server-mcp'

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