Skip to main content
Glama
Official Porkbun MCP Server

Official Porkbun MCP Server

Revoke API Key

revoke_api_key
Destructive

Permanently revoke the API key this server is currently using when you are done with it or it may have leaked. After revocation, every tool stops working until a new key is configured.

Instructions

Permanently revoke the API key (or connection) this server is using right now, and only that one: a key cannot revoke any other. Use it when the user is finished with this key, or it may have leaked. After it succeeds every tool here stops working until a new key is configured. A key used by an OAuth-connected app (ChatGPT, Claude) disconnects that app. On a connection someone shared with the user (a site share), this gives that access back and the owner is emailed. Confirm with the user first; confirm must be "revoke". Other keys are managed at https://porkbun.com/account/api.

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": {
      "confirm": "<confirm>"
    },
    "name": "revoke_api_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be "revoke".
dry_runNoShow which key would be revoked, without revoking it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.59.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, but the description adds the exact blast radius ("every tool here stops working until a new key is configured"), the OAuth consequence ("disconnects that app"), and the site-share consequence ("gives that access back and the owner is emailed"). It also specifies the gating token, so irreversibility and side effects are fully disclosed before invocation.

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?

One paragraph, front-loaded with scope ("and only that one") before consequences and confirmation requirements. Every clause carries a distinct operational fact — scope, trigger, effect, edge cases, confirmation, alternative — with no padding.

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

Completeness5/5

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

For a destructive, irreversible tool with no output schema, the description covers consequence, gating, affected-app behavior, and where to recover afterward. Nothing an agent needs in order to call it safely is missing.

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 both parameters are already documented, and the description largely restates the const ("`confirm` must be \"revoke\""). The added value is the surrounding workflow ("Confirm with the user first"), but `dry_run` — the safest way to preview this destructive call — goes unmentioned despite being schema-documented. Baseline 3 is appropriate.

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?

States a specific verb+resource ("Permanently revoke the API key (or connection) this server is using right now") and immediately narrows scope with "and only that one: a key cannot revoke any other." This distinguishes it cleanly from retrieve_api_key, request_api_key, and revoke_site_share without needing to open any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use triggers ("when the user is finished with this key, or it may have leaked"), an explicit prerequisite ("Confirm with the user first"), and routes the other case elsewhere ("Other keys are managed at https://porkbun.com/account/api"). It also flags the site-share overlap, so an agent can avoid firing the wrong revoke tool.

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