Skip to main content
Glama
Official Porkbun MCP Server

Official Porkbun MCP Server

Sandbox Trigger Webhook

sandbox_trigger_webhook
Destructive

Fire sample signed webhook events to registered sandbox endpoints, enabling on-demand handler and HMAC signature testing for API and cron-driven event types.

Instructions

SANDBOX ONLY. Fire a sample signed webhook event to your registered endpoints so you can test your handler and HMAC signature verification for ANY event type on demand — including cron-driven events like domain.expiring that don't result from a single API call. Register an endpoint first with the webhook tools. Requires a sandbox API key (pk1_sb_…).

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": {
      "eventType": "<eventType>"
    },
    "name": "sandbox_trigger_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoDomain used in the sample payload (default example.com).
eventTypeYesThe webhook event type to emit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.65.4
    • changedInput schema / properties / eventType / enum
      Previous value: -[
      -  "domain.registered",
      -  "domain.renewed",
      -  "domain.transfer.completed",
      -  "domain.expiring",
      -  "dns.record.created",
      -  "dns.record.updated",
      -  "dns.record.deleted",
      -  "cloudflare.connect.completed",
      -  "cloudflare.connect.failed",
      -  "account.verification.code_sent",
      -  "account.verification.completed"
      -]New value: +[
      +  "domain.registered",
      +  "domain.renewed",
      +  "domain.transfer.completed",
      +  "domain.transfer.failed",
      +  "domain.expiring",
      +  "dns.record.created",
      +  "dns.record.updated",
      +  "dns.record.deleted",
      +  "cloudflare.connect.completed",
      +  "cloudflare.connect.failed",
      +  "account.verification.code_sent",
      +  "account.verification.completed"
      +]
  2. Changed1 schema field changedv0.51.1
    • changedInput schema / properties / eventType / enum
      Previous value: -[
      -  "domain.registered",
      -  "domain.renewed",
      -  "domain.transfer.completed",
      -  "domain.expiring",
      -  "dns.record.created",
      -  "dns.record.updated",
      -  "dns.record.deleted"
      -]New value: +[
      +  "domain.registered",
      +  "domain.renewed",
      +  "domain.transfer.completed",
      +  "domain.expiring",
      +  "dns.record.created",
      +  "dns.record.updated",
      +  "dns.record.deleted",
      +  "cloudflare.connect.completed",
      +  "cloudflare.connect.failed",
      +  "account.verification.code_sent",
      +  "account.verification.completed"
      +]
  3. Addedv0.39.4

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=true, openWorldHint=true, idempotentHint=false), so the description's contribution is context: sandbox-only execution, the need for a sandbox-scoped key, and that the emitted payload is a signed sample reaching real registered endpoints. It doesn't say whether the event counts toward quotas or what a delivery failure looks like, which is the remaining gap.

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 "SANDBOX ONLY" warning is front-loaded, followed by the core action, then prerequisites. Content is dense but each sentence carries a distinct requirement; the first sentence is long and could be split for readability, which is the only mark against it.

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 two-parameter tool with full schema coverage and no output schema, the definition covers the essentials: environment restriction, credential type, prerequisite setup, and event-type breadth. What an agent cannot learn is what the call returns (e.g., a delivery identifier) or how failures surface, which keeps it short of complete.

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%, including an enum of every allowed event type, so the schema already carries the parameter burden. The description only adds that the payload is a sample and that cron-driven event types are supported, without elaborating on the `domain` parameter's role. Baseline 3 is appropriate when the schema documents both parameters fully.

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 gives a specific verb and resource ("fire a sample signed webhook event to your registered endpoints") and clarifies scope with "test your handler and HMAC signature verification for ANY event type." It implicitly separates itself from the sibling test_webhook by calling out cron-driven events like `domain.expiring` that "don't result from a single API call," but it never names that sibling, so the differentiation requires inference.

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?

Prerequisites are stated explicitly: register an endpoint first via the webhook tools and use a sandbox API key (`pk1_sb_…`). The "SANDBOX ONLY" prefix sets a hard boundary. It stops short of stating when to prefer this over the related test_webhook tool, but the sandbox and endpoint-registration conditions cover the main preconditions.

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