Skip to main content
Glama
Official Porkbun MCP Server

Official Porkbun MCP Server

Update Webhook

update_webhook
DestructiveIdempotent

Modify a Porkbun webhook endpoint by changing only supplied fields, such as the HTTPS URL, event subscriptions, or active/disabled status; pause or resume deliveries and validate changes with dry-run.

Instructions

Update a webhook endpoint. Only the supplied fields change. Set status to DISABLED to pause deliveries or ACTIVE to resume (resuming also clears the consecutive-failure counter). A replacement url must satisfy the same public-HTTPS rules as create_webhook. Idempotent. Calls the Porkbun Webhooks API (https://porkbun.com/llms/webhooks).

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": {
      "id": "<id>"
    },
    "name": "update_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe webhook endpoint id.
urlNoNew HTTPS URL. Same rules as create_webhook: port 443, publicly resolvable hostname, no embedded credentials.
eventsNoReplacement event subscription list (or `['*']` for all).
statusNoEnable or pause the endpoint.
dry_runNoIf true, validate only — returns wouldSucceed and changes nothing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.65.19
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "description": "If true, validate only — returns wouldSucceed and changes nothing.",
      +  "type": "boolean"
      +}
  2. Addedv0.39.4

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description largely restates the idempotency claim rather than expanding on it. The genuinely additive details are the partial-update semantics and the failure-counter reset on resume, but it never explains in what sense the operation is destructive or whether URL/event changes are reversible. Adequate but leaves the agent guessing about the destructive flag's implications.

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?

Front-loaded with the core purpose, then the most important behavioral clause, then parameter specifics, then provenance. The 'Idempotent.' sentence merely repeats an annotation and the API URL adds little for an agent, but overall it is tight.

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?

For a five-parameter mutation tool with full schema coverage and no output schema, this covers partial-update semantics, status side effects, and URL validation rules. It omits auth/permission requirements and any clarification of why the tool is marked destructive, which are the only notable gaps.

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?

Schema coverage is 100%, so the baseline is 3; the description earns above that by explaining that ACTIVE also clears the consecutive-failure counter and by pointing to create_webhook's public-HTTPS rules for replacement URLs. It does not describe the dry_run validation flow, which remains schema-only.

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 opens with a specific verb and resource ('Update a webhook endpoint') and immediately qualifies it as a partial update ('Only the supplied fields change'), which is the key distinction from a full-replace operation. It does not distinguish itself from siblings such as rotate_webhook_secret or test_webhook, but the core purpose is unambiguous.

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?

It gives concrete conditional guidance for the most consequential parameter: set `status` to DISABLED to pause deliveries, ACTIVE to resume, including the side effect that resuming clears the failure counter. It stops short of naming alternatives for related tasks (e.g., using rotate_webhook_secret instead of changing credentials), so there is no explicit when-not guidance.

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

Deploy Server

Other Tools