Skip to main content
Glama
Official Porkbun MCP Server

Official Porkbun MCP Server

Rotate Webhook Secret

rotate_webhook_secret
Destructive

Generate a new signing secret for a webhook endpoint and return the endpoint with that secret. Update your verifier immediately, because deliveries are signed with the new secret right away.

Instructions

Generate a new signing secret for a webhook endpoint and return the endpoint with the new secret. Deliveries are signed with the new secret immediately, so update your verifier as part of the same operation.

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": "rotate_webhook_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe webhook endpoint id.
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.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is partly covered. The description still adds substantive context beyond them: rotation takes effect instantly and breaks existing verification until the consumer is updated, which is exactly the kind of consequence an agent needs. It does not mention rate limits or whether the old secret has a grace period.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both load-bearing: the first states the action and return, the second front-loads the operational hazard. No filler or redundancy.

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?

With no output schema, the description does say what comes back (the endpoint plus new secret). However, for a destructive, non-idempotent mutation it omits notable details: the dry_run validation path, whether the old secret is immediately invalidated or expires, and whether prior deliveries remain verifiable. Adequate but with real gaps for a destructive operation.

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 description coverage is 100% and both parameters (id, dry_run) are documented in the schema, including dry_run's wouldSucceed return behavior. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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?

Names a specific verb (generate/rotate) and resource (webhook signing secret) and states the return value (the endpoint with the new secret). It does not explicitly distinguish itself from update_webhook, which an agent might otherwise consider for secret changes, so it stops short of a 5.

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 second sentence gives useful operational context — the new secret is live immediately, so update the verifier in the same operation — which implies when this is appropriate. But there is no explicit when-to-use/when-not guidance and no named alternative (e.g., update_webhook for other endpoint fields, dry_run for validation only).

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