Skip to main content
Glama
Stan15
by Stan15

bitbucket_pull_request_list_statuses

Read-onlyIdempotent

Check build and CI statuses on a pull request's head commit to verify whether it is safe to merge. Retrieve current checks for a PR before merging.

Instructions

List build/CI statuses on a pull request's current head commit - use to check whether a PR is safe to merge.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
repoSlugYesRepository slug, e.g. 'my-repo'
workspaceNoOmit to use the configured default workspace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish read-only and idempotent behavior. The description adds meaningful behavioral scoping by specifying that statuses are read for the 'current head commit' of the pull request, which clarifies the exact object being inspected and warns about scope in a way the schema alone does not.

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?

A single, well-constructed sentence that front-loads the action and resource, then states the practical use case. No filler or redundant restatement of schema fields.

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?

For a simple read-only list operation, the description sufficiently covers what is retrieved, on which resource, and for what purpose. The lack of an output schema and pagination notes is acceptable given the tool's simplicity, though a brief note on interpreting status results would improve completeness.

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

Parameters4/5

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

Schema description coverage is only 67%, with the required 'id' parameter undocumented. The description compensates by clarifying that the object is a pull request and that statuses are on its current head commit, giving agents enough context to infer that 'id' is the pull request identifier.

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 ('List'), resource ('build/CI statuses'), and precise scope ('on a pull request's current head commit'). The added usage cue 'check whether a PR is safe to merge' makes the tool's role clear and distinguishes it from generic commit-status listing.

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?

Provides an explicit use case: checking whether a PR is safe to merge based on build/CI statuses. It does not explicitly mention alternatives like bitbucket_pull_request_merge_status or bitbucket_commit_list_statuses, so exclusions are absent, but the intended context is clear.

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