Skip to main content
Glama
@proof-holdings/mcp-server

@proof-holdings/mcp-server

Official

delete_domain

Destructive

Permanently remove a domain from your account, revoking all associated proofs, delegations, records, and sending domain configuration; this action cannot be undone.

Instructions

Remove a domain from the account. Revokes every proof of the domain and every delegation issued from it (for good — re-adding the domain does not bring them back), deletes the domain and its records, and removes our _proof TXT record and the Resend sending domain where we can; the response lists what is left for you to remove by hand. Owner only, in a start_login session, with one code: start_2fa_for_action with action_type domain_remove and targets [this domain id]. Need only a fresh proof? Revoke the proofs instead (revoke_my_proof), which keeps the domain. Cannot be undone.

ACCESS: needs a Proof account, signed in: call start_login, show the user its challenge, then wait_for_login, then call this tool again. An API key alone does NOT open this tool.

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

Input Schema

NameRequiredDescriptionDefault
idYesDomain ID to delete

Output Schema

NameRequiredDescriptionDefault
domainNo
noticeNo
successNoAlways `true`. The 1.x Go, PHP and Python SDK types carry it as a string, as released; it is typed boolean in the next major.
carriersNoWhere the revoked delegations are still published (the `_mcp.<domain>` pointer, a delegate card) — bounded to a few delegations and a few seconds.
externalNo
proofs_revokedNo
delegations_revokedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.7.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "carriers": {
      +      "description": "Where the revoked delegations are still published (the `_mcp.<domain>` pointer, a delegate card) — bounded to a few delegations and a few seconds."
      +    },
      +    "delegations_revoked": {},
      +    "domain": {},
      +    "external": {},
      +    "notice": {},
      +    "proofs_revoked": {},
      +    "success": {
      +      "description": "Always `true`. The 1.x Go, PHP and Python SDK types carry it as a string, as released; it is typed boolean in the next major."
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observedv1.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, but the description goes well beyond them by disclosing irreversibility, that re-adding the domain does not restore proofs or delegations, which remote artifacts it attempts to clean up, and that the response enumerates what the caller must remove manually. That is substantial added context, with only minor gaps around partial-failure semantics.

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 action and its consequences, then the authorization path, then the alternative. Dense but nearly every clause carries decision-relevant information; the long parenthetical about re-adding is justified by the irreversibility warning.

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?

Covers auth flow prerequisites, destructive scope, manual cleanup, and the safer alternative, and an output schema exists so return values need not be described. What is missing is minor: behavior on partial failure, since some external cleanup is best-effort.

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% with a single documented "id" parameter, so the schema already carries the load. The description adds only that this same domain id is what gets passed as targets to start_2fa_for_action, which is useful cross-tool context but not deep parameter guidance.

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?

Uses a specific verb and resource ("Remove a domain from the account") and immediately enumerates what removal entails: proof revocation, delegation revocation, record deletion, TXT record cleanup. It is clearly distinguishable from revoke_my_proof, which it explicitly names as the scoped-down alternative.

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?

States exactly when to use this versus the alternative ("Need only a fresh proof? Revoke the proofs instead (revoke_my_proof), which keeps the domain") and lists gating preconditions: owner only, start_login session, and a start_2fa_for_action code with action_type domain_remove and targets [this domain id].

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