Skip to main content
Glama
lawp09

bitbucket-mcp

by lawp09

Update Pull Request Task

update_pull_request_task
Idempotent

Update the content or status of a task on a pull request, such as marking it resolved or changing its description.

Instructions

Update a pull request task (content and/or state).

Args: repo_slug: Repository slug pull_request_id: Pull request ID task_id: Task ID content: New task content in markdown format (optional) state: New task state: UNRESOLVED or RESOLVED (optional) workspace: Workspace name (optional, defaults to configured workspace)

Returns: Updated task details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateNo
contentNo
task_idYes
repo_slugYes
workspaceNo
pull_request_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already provide idempotentHint (true) and destructiveHint (false). The description adds that it can update either content or state (or both) and returns updated details. No contradictions, but could mention permissions or constraints (e.g., task must be unresolved).

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?

The description is concise (9 lines) and well-structured with Args and Returns sections. Minor redundancy in 'Args:' and parameter listing, but overall efficient.

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 6 parameters and output schema exists, the description covers all input details and return type. Lacks mention of error handling or prerequisites (e.g., valid task ID), but sufficient for basic usage.

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

Parameters5/5

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

With 0% schema coverage, the description fully compensates by listing all 6 parameters with clear explanations: repo_slug, pull_request_id, task_id (required), content (markdown format, optional), state (UNRESOLVED/RESOLVED, optional), and workspace (optional with default). Adds meaning beyond the bare schema.

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 explicitly states 'Update a pull request task (content and/or state)', clearly identifying the verb (update) and resource (pull request task), distinguishing it from sibling tools like create, delete, or get.

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?

The description implies the tool is for modifying an existing pull request task, but lacks explicit guidance on when not to use it (e.g., for creation or deletion) or alternatives. However, the context from sibling names provides implicit differentiation.

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/lawp09/bitbucket-mcp'

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