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

@proof-holdings/mcp-server

Official

revoke_proof

Destructive

Permanently revoke a proof using its public handle or verification ID so it no longer validates anywhere. Use for final revocation only, not temporary pauses.

Instructions

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. Set PROOF_API_KEY and restart this server, 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. Changed3 schema fields changedv1.7.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • 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. 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 destructiveHint=true, but the description goes well beyond them: revocation takes effect everywhere (status endpoint, public validator, revocation list, Token Status List), is irreversible, cascades to delegations and domain proofs, and leaves the underlying asset or consent intact. The only unmentioned behavior is the response shape, which the output schema covers.

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?

Purpose and address forms are front-loaded in the first sentence, and the trailing 'Need a temporary stop?' / 'Cannot be undone.' lines are well placed. Some middle sentences are packed with nested parentheticals (delegations:write rules, refusal messages) that slow parsing, though each carries real information.

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 authentication, cascading side effects, irreversibility and the alternative tool, so an agent has what it needs for a destructive operation; the existing output schema relieves the description of explaining return values. Minor gap: it does not describe how partial revocation results (e.g. refused delegation scope) are surfaced in the response.

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% and the schema already documents both id and the reason enum with its delegation restriction, so the description largely restates it. Its one addition is cross-referencing that id accepts the same addresses as get_proof_status, which is useful but marginal.

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?

Names a specific verb and resource ('Revoke a proof') and immediately pins down the accepted identifiers (ph_ctl_* / ph_dlg_* or verification ID), tying them to the sibling get_proof_status. An agent can distinguish this from pause_proof and revoke_my_proof without opening 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?

Explicitly routes the temporary-stop case to pause_proof, and states the prerequisites (Proof account, proofs:write, delegations:write under live-delegation cascades). It also spells out the edge cases: domain CONTROL proofs cascade to delegations, owned domains cascade to every proof, and handles revoked before re-verification must be revoked by their own handle.

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