Skip to main content
Glama
lawp09

bitbucket-mcp

by lawp09

Update Pull Request Comment

update_pull_request_comment
Idempotent

Update the content of an existing pull request comment in a Bitbucket repository by specifying the comment ID and new markdown content.

Instructions

Update a comment on a pull request.

Args: repo_slug: Repository slug pull_request_id: Pull request ID comment_id: Comment ID content: New comment content in markdown format workspace: Workspace name (optional, defaults to configured workspace)

Returns: Updated comment details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
repo_slugYes
workspaceNo
comment_idYes
pull_request_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, providing a safety profile. The description adds minimal behavioral context beyond stating that it updates a comment. It does not disclose permission requirements, error handling, or side effects, but does not contradict annotations either.

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 structured with a one-line summary followed by an Args section and Returns line. It is concise and front-loaded, but could be slightly tighter by removing the redundant 'Args:' label. Overall, it covers essential information without fluff.

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?

Given the tool has 5 parameters (4 required) and an output schema, the description explains all parameters and return type. However, it lacks context about validation (e.g., comment existence), error conditions, or permission requirements. For a mutation tool with idempotentHint, some additional behavior details 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?

The input schema has 0% description coverage, so the description must compensate. It explicitly defines each parameter: repo_slug, pull_request_id, comment_id, content (with 'markdown format' clarification), and workspace (with optionality and default). This adds meaning beyond the schema's plain titles and types, enabling correct usage.

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 clearly states 'Update a comment on a pull request,' specifying the verb and resource. Among sibling tools like add_pull_request_comment, delete_pull_request_comment, and reopen_pull_request_comment, it is uniquely identified as the update operation, distinguishing itself well.

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 description lists required parameters but provides no explicit guidance on when to use this tool versus alternatives. For example, it does not mention that the comment must already exist, nor does it contrast with add or delete operations. The usage context is implied by the resource type but lacks clarity on prerequisites or exclusions.

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