Skip to main content
Glama
lawp09

bitbucket-mcp

by lawp09

Delete Pull Request Task

delete_pull_request_task
DestructiveIdempotent

Delete a task from a pull request by specifying the repository slug, pull request ID, and task ID.

Instructions

Delete a task on a pull request.

Args: repo_slug: Repository slug pull_request_id: Pull request ID task_id: Task ID workspace: Workspace name (optional, defaults to configured workspace)

Returns: Success message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes
repo_slugYes
workspaceNo
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 indicate destructiveHint=true (destructive action) and idempotentHint=true (safe to retry). The description adds no further behavioral context, such as permanence or required permissions. While there is no contradiction, the description misses the opportunity to elaborate on effects.

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 very short and front-loaded, with a clear first sentence. However, it is overly minimal, sacrificing necessary detail for brevity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the destructive nature (desctructiveHint=true) and the existence of an output schema, the description lacks important context such as what happens after deletion, required permissions, error conditions, and the effect on the pull request. It is incomplete for safe usage.

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

Parameters1/5

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

Schema coverage is 0% with no parameter descriptions in the schema. The description lists parameter names but provides no additional meaning, examples, formats, or constraints. It fails to compensate for the lack of schema documentation.

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 the action (delete) and the resource (a task on a pull request). This distinguishes it from siblings like create_pull_request_task and update_pull_request_task.

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?

No guidance is provided on when to use this tool versus alternatives, nor are there any prerequisites, when-not-to-use conditions, or exclusions mentioned. The agent has no context for appropriate usage.

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