Skip to main content
Glama
host-mcp-bitbucket

host-mcp-bitbucket

getPullRequestActivity

Read-only

Fetch a Bitbucket pull request's activity log to inspect comments, approvals, updates, and related events for a given repository and pull request ID.

Instructions

Get the activity log for a pull request (comments, approvals, updates, etc.)

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": "getPullRequestActivity"
  }
}

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

B3.2/5.0
Behavior3/5

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

The readOnlyHint=true annotation already establishes this is a safe read, and the description adds that the returned activity spans comments, approvals, and updates. It does not disclose ordering (e.g., chronological vs. reverse), whether activity types are interleaved or grouped, or how the default page size behaves — all relevant for a log-style endpoint.

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?

A single front-loaded sentence that identifies the resource first, with the parenthetical doing useful clarifying work. The trailing 'etc.' weakens precision by leaving the set of activity types open-ended, but overall there is no filler.

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?

With an output schema present, return shape need not be explained, and annotations cover the safety profile. However, for a 6-parameter tool whose whole value is aggregating several sibling resources, the description omits ordering, whether the feed is filtered or unified, and how pagination defaults work — leaving the agent less informed than it should be.

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 every parameter (repoSlug, pullRequestId, workspace, page, pagelen, all) is already documented in the schema. The description adds no meaning about pagination semantics or how 'all' interacts with page/pagelen, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Get') and resource ('activity log for a pull request') and parenthetically enumerates the merged content types (comments, approvals, updates), which signals an aggregate feed rather than the single-facet siblings like getPullRequestComments or getPullRequestStatuses. It does not name any sibling explicitly, so the differentiation is inferable rather than stated.

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?

There is no guidance on when to choose this aggregated activity view over the many narrower sibling tools (getPullRequestComments, getPullRequestCommits, getPullRequestStatuses, getPullRequestTask). No prerequisites, no when-not-to-use, and no mention that this is a fan-in view.

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