Skip to main content
Glama
host-mcp-bitbucket

host-mcp-bitbucket

getPullRequestTasks

Read-only

List tasks on a Bitbucket pull request to track review items and action points. Retrieve paged or full task results by repository slug and pull request ID.

Instructions

List tasks on 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": "getPullRequestTasks"
  }
}

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

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds nothing beyond that. It never explains what a "task" is in this API (comment-anchored TODO items with resolved/unresolved state), nor how pagination behaves, nor how many results are typical — all of which would help an agent interpret results.

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 with no filler or redundancy. It is efficient, though the brevity comes at the cost of the missing context noted in the other dimensions.

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?

The output schema exists, so return-value structure needn't be described. Still, for a paginated, six-parameter collection endpoint, the definition says nothing about ordering, pagination semantics, or what entity the tasks attach to, leaving it minimally 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 page, pagelen, and all are already documented in the schema. The description adds no semantic value over the schema, which is the expected baseline for a fully described schema.

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?

The description gives a specific verb and resource ("List tasks on a pull request"), which is clearly distinct from write siblings like createPullRequestTask or deletePullRequestTask. It does not differentiate from the singular getPullRequestTask sibling, so an agent must infer that this tool returns the collection while the other returns one item.

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 when-to-use guidance, no mention of the alternative getPullRequestTask for single-item lookups, and no stated prerequisites (workspace/repoSlug context, permissions). The agent is left to infer everything about selection from the name alone.

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