Skip to main content
Glama
phpl

bitbucket-mcp-server

by phpl

get_pull_request_commits

Retrieve all commits associated with a pull request in Bitbucket Server, enabling you to review the complete set of changes.

Instructions

Get the commits for a pull request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of commits to return (default: 25)
startNoStarting index for pagination (default: 0)
projectKeyYesThe Bitbucket project key
pullRequestIdYesThe pull request ID
repositorySlugYesThe repository slug
Behavior1/5

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

No annotations are provided, and the description carries no behavioral disclosure. It does not mention return format, pagination behavior, ordering, or any side effects. The single sentence only states the basic action, leaving the agent without expectations for output or edge cases.

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, succinct sentence with no unnecessary words. It is front-loaded and immediately communicates the tool's purpose.

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?

The description is too minimal given that there is no output schema and no annotations. It does not explain what the returned commit list contains, any prerequisites (e.g., required pull request ID), or relationship to sibling tools. The schema covers parameters but the overall context is incomplete.

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 descriptions cover 100% of parameters, so the baseline is 3. The description adds no additional parameter semantics beyond what the schema already provides, such as the limit/start pagination details.

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 clearly states the action ('Get') and the specific resource ('commits for a pull request'). It distinguishes this tool from siblings like get_pull_request_changes or get_pull_request_activities by focusing on commits specifically.

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—when you need commits for a pull request—but provides no explicit guidance on alternatives or when not to use it. It lacks exclusions or comparisons with sibling 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/phpl/bitbucket-mcp-server'

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