Skip to main content
Glama
Official Porkbun MCP Server

Official Porkbun MCP Server

Revoke Ans Agent

revoke_ans_agent
DestructiveIdempotent

Permanently revoke an agent registration, seal it in the transparency log, and remove its DNS records so apps stop trusting it. Confirm the user's agreement first.

Instructions

PERMANENT AND PUBLIC: revoke an agent's registration. The revocation is sealed in the transparency log and apps stop trusting it; its DNS records are removed from zones on Porkbun nameservers (manualDnsCleanup lists any elsewhere). The name can be registered again later as a new registration. Get the user's explicit confirmation first.

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

Input Schema

NameRequiredDescriptionDefault
reasonNoDefault CESSATION_OF_OPERATION. KEY_COMPROMISE if the identity key leaked.
confirmYesMust be "revoke": confirms the user agreed to a permanent, public revocation.
dry_runNoShow which agent would be revoked, without revoking it.
agent_idYesThe agentId from register_ans_agent or list_ans_agents.
commentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.65.4

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the destructiveHint/idempotentHint annotations, the description discloses the real consequences: the revocation is sealed in a public transparency log, trust is withdrawn by apps, DNS records are removed only on Porkbun nameservers, and the name becomes re-registrable as a new registration. This is exactly the context an agent needs before performing an irreversible action.

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?

The severity marker 'PERMANENT AND PUBLIC' is front-loaded, followed by consequences, then the safety prerequisite. Every clause carries information; nothing is padded.

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 destructive tool with no output schema, the description covers permanence, scope of DNS cleanup, re-registration implications, and the confirmation gate. It lacks only return-value expectations and any authorization requirements, which are minor gaps here.

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 80%, so parameters are largely self-documenting; the description only reinforces the `confirm` gate. It says nothing about `reason`, `dry_run`, or `comments`, leaving the enum semantics entirely to the schema — acceptable given coverage but adds little beyond it.

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?

The description opens with a specific verb and resource — 'revoke an agent's registration' — and disambiguates it from sibling mutations like revoke_api_key or revoke_site_share by naming the target object. An agent can tell exactly what this does without opening the schema.

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?

It gives one clear prerequisite — 'Get the user's explicit confirmation first' — and points to `manualDnsCleanup` for DNS records outside Porkbun nameservers. However, it never states when revocation is appropriate versus alternatives (e.g., advance_ans_agent or suspension-like actions), so the when-to-use guidance is implied rather than explicit.

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