Skip to main content
Glama

revoke_proof

Destructive

Revoke a proof by its public handle (ph_ctl_* / ph_dlg_*) or a verification ID — the same addresses get_proof_status takes. The proof token will no longer validate anywhere: the status endpoint, the public validator, the revocation list and the Token Status List all report it revoked. A domain CONTROL proof (a ph_ctl_* of a domain) also revokes, for good, every delegation issued from it; for a domain you own, every proof of the domain is revoked and the domain needs re-verification. The API key needs proofs:write, plus delegations:write while the revocation reaches live delegations — for a domain you own, any live delegation of the domain, whichever of its handles you name (the refusal names the scope and the count). A handle revoked before the domain was verified again does not reach the new proof: revoke that one by its own handle. Otherwise it revokes the PROOF only — the asset or consent it is about stays. Need a temporary stop? Use pause_proof instead. Cannot be undone.

ACCESS: needs a Proof account. Authenticate this client (Claude Code: /mcp → Authenticate), then call this tool again. start_login 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": "revoke_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPublic proof handle (ph_ctl_* / ph_dlg_*) or verification ID
reasonNoWhy the proof is revoked, one of: user_request, fraud, key_compromise, asset_transferred, other. A delegation proof (ph_dlg_*) refuses asset_transferred. The API refuses any other value. Defaults to user_request.

Output Schema

NameRequiredDescriptionDefault
reasonNo
successNo
proof_idNoPublic proof handle (`ph_ctl_*`/`ph_dlg_*`). Present when the proof was addressed by handle.
principalNoControl proofs only: the domain the proof is about.
proof_typeNoWhich record carries the revoked proof (`verification`, `user_asset`, `verification_request`, `delegation`, …). Present when the proof was addressed by handle.
revoked_atNo
owned_domainNoControl proofs only: true when the account OWNS the domain (a Domain row or a domain asset for the name) and the whole-domain cascade ran — every proof of the domain and every delegation issued from it revoked, the domain demoted to `reverification_required`. False for a bare verification of somebody else's domain: that proof and the delegations anchored on it only.
domain_statusNoControl proofs only: the Domain row's status after the act (`reverification_required` after the cascade); null when the account has no Domain row for the name.
verification_idNoPresent only when the revoked proof belongs to a verification.
delegations_revokedNoControl proofs only: the delegations revoked with the proof. Re-verifying the domain does not bring them back.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / reason / description
      Previous value: -"Reason for revocation"New value: +"Why the proof is revoked, one of: user_request, fraud, key_compromise, asset_transferred, other. A delegation proof (ph_dlg_*) refuses asset_transferred. The API refuses any other value. Defaults to user_request."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "delegations_revoked": {
      +      "description": "Control proofs only: the delegations revoked with the proof. Re-verifying the domain does not bring them back."
      +    },
      +    "domain_status": {
      +      "description": "Control proofs only: the Domain row's status after the act (`reverification_required` after the cascade); null when the account has no Domain row for the name."
      +    },
      +    "owned_domain": {
      +      "description": "Control proofs only: true when the account OWNS the domain (a Domain row or a domain asset for the name) and the whole-domain cascade ran — every proof of the domain and every delegation issued from it revoked, the domain demoted to `reverification_required`. False for a bare verification of somebody else's domain: that proof and the delegations anchored on it only."
      +    },
      +    "principal": {
      +      "description": "Control proofs only: the domain the proof is about."
      +    },
      +    "proof_id": {
      +      "description": "Public proof handle (`ph_ctl_*`/`ph_dlg_*`). Present when the proof was addressed by handle."
      +    },
      +    "proof_type": {
      +      "description": "Which record carries the revoked proof (`verification`, `user_asset`, `verification_request`, `delegation`, …). Present when the proof was addressed by handle."
      +    },
      +    "reason": {},
      +    "revoked_at": {},
      +    "success": {},
      +    "verification_id": {
      +      "description": "Present only when the revoked proof belongs to a verification."
      +    }
      +  },
      +  "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 declare destructiveHint=true, but the description goes well beyond that: it says exactly what stops validating (status endpoint, public validator, revocation list, Token Status List), what is NOT destroyed ('the asset or consent it is about stays'), the required scopes (proofs:write plus delegations:write for live delegations), and how refusals name the scope and count. This is unusually rich disclosure for a destructive operation.

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 core action and the accepted identifiers are front-loaded, and the alternative (pause_proof) and irreversibility are placed at the end as decisive warnings. It is dense and long, with several nested clauses about cascades and scopes that a reader must parse carefully, but no sentence is filler.

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?

Given a destructive, cascading operation with an output schema present, the description covers everything the agent needs before calling: auth requirement and why start_login won't help, scope requirements, cascade rules, what survives, and irreversibility. Return-value details are correctly left to the output schema.

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 schema already enumerates the reason values and the ph_dlg_* refusal of asset_transferred, so the baseline is 3. The description adds cross-tool meaning by saying the id takes 'the same addresses get_proof_status takes', which helps the agent reuse a handle it already holds rather than guessing at formats.

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?

Opens with a specific verb and resource ('Revoke a proof') and immediately names the accepted identifiers (ph_ctl_* / ph_dlg_* or verification ID), anchoring them to a sibling the agent already knows (get_proof_status). The description also distinguishes this from the pause-style alternative and from a proof-only vs. cascading revocation, so an agent can pick it confidently.

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?

Explicitly routes temporary stops to pause_proof, states 'Cannot be undone', and spells out when the blast radius widens (domain CONTROL proofs, owned domains requiring re-verification). It also gives an edge-case instruction ('revoke that one by its own handle') so the agent knows what to do when a cascade misses a re-issued proof.

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.