Skip to main content
Glama
Upendrasengar

bitbucket-server-mcp

manage_webhooks

Create, update, or delete repository webhooks to subscribe to events like branch changes or pull request actions.

Instructions

Manage repository webhooks. Actions: "create" (add a new webhook), "update" (modify an existing webhook), "delete" (remove a webhook).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoWebhook callback URL (required for create).
nameNoWebhook name (required for create).
actionYesOperation to perform.
activeNoWhether the webhook is active (default: true).
eventsNoList of event types to subscribe to (e.g. 'repo:refs_changed', 'pr:opened').
projectNoProject key. Defaults to BITBUCKET_DEFAULT_PROJECT.
webhookIdNoWebhook ID (required for update and delete).
repositoryYesRepository slug.
Behavior2/5

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

Annotations provide no safety cues (all false), so description must fill the gap. It lists actions but doesn't disclose side effects (e.g., deleting a webhook is permanent, updating overwrites). No mention of idempotency or destructive behavior. The behavioral burden is not met.

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 a single sentence that efficiently communicates the purpose and actions. It is front-loaded with 'Manage repository webhooks' and then enumerates actions. However, more structure (e.g., bullet points or separate sentences) could improve readability.

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 8 parameters and no output schema, the description is insufficient. It doesn't explain the behavior of each action, required fields per action, or output expectations. The schema covers parameters but the description fails to tie them together into a coherent workflow.

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 coverage is 100%, so the schema already describes all parameters. The description adds no additional parameter meaning beyond listing actions. Baseline 3 is appropriate; no extra value is provided.

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 clearly states the tool manages repository webhooks and lists three actions (create, update, delete). It distinguishes from sibling tools like list_webhooks which only lists. However, the verb 'manage' is generic and could be more specific (e.g., 'Create, update, or delete webhooks on a repository').

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 on when to use this tool versus alternatives like list_webhooks or manage_repository_hooks. No prerequisites or required context (e.g., repository must exist) are mentioned. The description provides minimal usage context.

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

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