Skip to main content
Glama
host-mcp-bitbucket

host-mcp-bitbucket

getPullRequestStatuses

Read-only

Retrieve commit statuses for a specific pull request to verify CI results and identify failing or pending checks.

Instructions

List commit statuses associated with a pull request

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>",
      "pullRequestId": "<pullRequestId>"
    },
    "name": "getPullRequestStatuses"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoFetch all pages
pageNoPage number
pagelenNoNumber of items per page
repoSlugYesRepository slug
workspaceNoBitbucket workspace name
pullRequestIdYesPull request ID

Output Schema

NameRequiredDescriptionDefault
resultYesTool-specific result payload
statusYesWhether the tool call succeeded
messageYesHuman-readable status message

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.8/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that this is a safe read operation, and the description is consistent with that. However, the description adds no behavioral detail beyond listing statuses, such as pagination behavior, result ordering, or permission context.

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 definition is a single front-loaded sentence with no redundant or filler wording. Every part of the sentence contributes to identifying the resource and its scope.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema, 100% schema coverage, and readOnly annotation, the description is sufficient for an agent to understand what the tool does and how to call it. It is still sparse about operational details such as pagination and status ordering, so it is not fully complete.

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%, so all six parameters including repoSlug, pullRequestId, page, pagelen, and all are documented in the schema. The description does not add meaning beyond the schema, which establishes the baseline score of 3.

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: "List commit statuses" scoped to "a pull request." This clearly separates it from sibling tools such as getPullRequest, getPullRequestCommits, and getPullRequestDiff.

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 wording implies the tool should be used when commit statuses for a pull request are needed, but it gives no explicit when-to-use, when-not-to-use, or alternative guidance. The usage is inferable rather than stated.

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