Skip to main content
Glama

delete_domain

Destructive

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. Authenticating this client 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. Changed1 schema field changed
    • 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. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description goes well beyond that: it names what is destroyed (proofs, delegations, records, TXT record, Resend sending domain), warns that re-adding the domain does not restore them, notes that some clean-up is left to the caller ('the response lists what is left for you to remove by hand'), and states the operation cannot be undone. The authorization model (owner only, session-bound, 2FA-gated) is also disclosed, which annotations do not cover.

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 the destructive scope, then the authorization path, then the alternative — a sensible order with no filler sentences. It is however a single dense paragraph with stacked em-dash parentheticals, which costs some scannability for an agent parsing it once.

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, auth-gated mutation, the definition covers the prerequisites, the side effects, irreversibility, and the residual manual clean-up. An output schema exists so return structure needn't be described, and the one hint about response content (remaining items to remove) is a bonus rather than a gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single 'id' parameter is already documented, so the baseline is 3. The description adds real meaning by tying that id to the 2FA flow ('targets [this domain id]'), clarifying that it is the same identifier the challenge targets rather than an arbitrary string.

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 and resource ('Remove a domain from the account') and immediately enumerates the destructive scope (proofs, delegations, records, _proof TXT record, Resend sending domain). It also differentiates itself from revoke_my_proof, so an agent can pick between the two without opening either 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 an explicit alternative with a selecting condition: 'Need only a fresh proof? Revoke the proofs instead (revoke_my_proof), which keeps the domain.' It also spells out the required prerequisites (owner role, start_login session, 2FA via start_2fa_for_action with action_type domain_remove) rather than leaving them to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.