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

@proof-holdings/mcp-server

Official

validate_proof

Read-only

Validates a proof token online by checking its signature, expiry, and revocation status, and optionally confirms the proof concerns the identifier you expect. Requires no API key.

Instructions

Validate a proof token online. Checks the token signature, expiry, and revocation status against the server, and optionally that the proof is about the identifier you expect. Public endpoint — no API key required.

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": {
      "proof_token": "<proof_token>"
    },
    "name": "validate_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
identifierNoOptional: the identifier this proof should be about (phone, email, domain, ...). When supplied, a proof about anything else answers valid:false with reason "identifier_mismatch"; a proof of an encrypted decision answers "identifier_unverifiable".
proof_tokenYesThe JWT proof token to validate

Output Schema

NameRequiredDescriptionDefault
validYes
reasonNoFailure reason: expired, revoked, suspended (a reversible pause — the owner can lift it), invalid (for a token signed by a current registry key this includes a token the issuer has no record of issuing), superseded (the proof was verified again and this token was replaced by a newer one for the same proof — use the newer token; offline verification does not see this), key_revoked (the token names a signing key the issuer has revoked; decided from its `kid` before the signature is checked, so it does not vouch for the token — a genuine holder fetches a re-signed one), identifier_mismatch (the supplied identifier is not what this proof is about), identifier_unverifiable (the proof's hash is derived from ciphertext, so no identifier can be bound to it), or test_environment (the proof or delegation was issued in test mode, where a test key completes verifications without a real check)
messageNoHuman-readable message
proof_idNoPublic proof id (ph_ctl_*), present when the proof is registered
delegationNoDelegation claim set, present when a valid delegation token was submitted. The attestation is domain authorization of the artifact — NOT that the artifact is safe, audited or endorsed.
revoked_atNoWhen the proof was revoked (only present when reason is "revoked")
token_typeNoPresent ONLY when the submitted token is a delegation (m-delegation-verifier-ref). Its absence means the answer is about a verification/decision proof and the `verification` block applies.
suspended_atNoWhen the suspension began — present only with reason `suspended`
verificationNo
revoked_reasonNoReason for revocation (only present when reason is "revoked")

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.10.0
    • changedOutput schema / description
      Previous value: -"Proof validation result. Returns verification details when valid, or reason/message when invalid. A DELEGATION token answers with `token_type: \"delegation\"` and the `delegation` block instead of `verification`; its status resolves the cascade down to the domain control proof, which neither the status list (it packs each row's own bit) nor an offline signature check can show. Delegation-specific reasons: `unknown_delegation` (no registry record — delegations are minted fail-closed, so this is invalid, not merely unresolvable), `unsupported_version` (a delegation token of a schema major the issuer no longer accepts — 1.x after 2.0; its owner re-issues it), `status_unavailable`, and `identifier_unverifiable` when an `identifier` binding is requested for a delegation."New value: +"Proof validation result. Returns verification details when valid, or reason/message when invalid. A DELEGATION token answers with `token_type: \"delegation\"` and the `delegation` block instead of `verification`; its status resolves the cascade down to the domain control proof, which neither the status list (it packs each row's own bit) nor an offline signature check can show. Delegation-specific reasons: `unknown_delegation` (no registry record — delegations are minted fail-closed, so this is invalid, not merely unresolvable), `unsupported_version` (a delegation token of a schema major the issuer no longer accepts — 1.x after 2.0; its owner re-issues it), `test_environment` (a delegation issued in test mode), `status_unavailable`, and `identifier_unverifiable` when an `identifier` binding is requested for a delegation."
    • changedOutput schema / properties / reason / description
      Previous value: -"Failure reason: expired, revoked, suspended (a reversible pause — the owner can lift it), invalid (for a token signed by a current registry key this includes a token the issuer has no record of issuing), superseded (the proof was verified again and this token was replaced by a newer one for the same proof — use the newer token; offline verification does not see this), key_revoked (the token names a signing key the issuer has revoked; decided from its `kid` before the signature is checked, so it does not vouch for the token — a genuine holder fetches a re-signed one), identifier_mismatch (the supplied identifier is not what this proof is about), or identifier_unverifiable (the proof's hash is derived from ciphertext, so no identifier can be bound to it)"New value: +"Failure reason: expired, revoked, suspended (a reversible pause — the owner can lift it), invalid (for a token signed by a current registry key this includes a token the issuer has no record of issuing), superseded (the proof was verified again and this token was replaced by a newer one for the same proof — use the newer token; offline verification does not see this), key_revoked (the token names a signing key the issuer has revoked; decided from its `kid` before the signature is checked, so it does not vouch for the token — a genuine holder fetches a re-signed one), identifier_mismatch (the supplied identifier is not what this proof is about), identifier_unverifiable (the proof's hash is derived from ciphertext, so no identifier can be bound to it), or test_environment (the proof or delegation was issued in test mode, where a test key completes verifications without a real check)"
  2. 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": {},
      +  "description": "Proof validation result. Returns verification details when valid, or reason/message when invalid. A DELEGATION token answers with `token_type: \"delegation\"` and the `delegation` block instead of `verification`; its status resolves the cascade down to the domain control proof, which neither the status list (it packs each row's own bit) nor an offline signature check can show. Delegation-specific reasons: `unknown_delegation` (no registry record — delegations are minted fail-closed, so this is invalid, not merely unresolvable), `unsupported_version` (a delegation token of a schema major the issuer no longer accepts — 1.x after 2.0; its owner re-issues it), `status_unavailable`, and `identifier_unverifiable` when an `identifier` binding is requested for a delegation.",
      +  "properties": {
      +    "delegation": {
      +      "additionalProperties": {},
      +      "description": "Delegation claim set, present when a valid delegation token was submitted. The attestation is domain authorization of the artifact — NOT that the artifact is safe, audited or endorsed.",
      +      "properties": {
      +        "control_proof": {
      +          "type": "string"
      +        },
      +        "delegate": {
      +          "type": "string"
      +        },
      +        "expires_at": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "issued_at": {
      +          "type": "string"
      +        },
      +        "principal": {
      +          "type": "string"
      +        },
      +        "scope": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "principal",
      +        "delegate",
      +        "scope",
      +        "control_proof",
      +        "issued_at",
      +        "expires_at"
      +      ],
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable message",
      +      "type": "string"
      +    },
      +    "proof_id": {
      +      "description": "Public proof id (ph_ctl_*), present when the proof is registered",
      +      "type": "string"
      +    },
      +    "reason": {
      +      "description": "Failure reason: expired, revoked, suspended (a reversible pause — the owner can lift it), invalid (for a token signed by a current registry key this includes a token the issuer has no record of issuing), superseded (the proof was verified again and this token was replaced by a newer one for the same proof — use the newer token; offline verification does not see this), key_revoked (the token names a signing key the issuer has revoked; decided from its `kid` before the signature is checked, so it does not vouch for the token — a genuine holder fetches a re-signed one), identifier_mismatch (the supplied identifier is not what this proof is about), or identifier_unverifiable (the proof's hash is derived from ciphertext, so no identifier can be bound to it)",
      +      "type": "string"
      +    },
      +    "revoked_at": {
      +      "description": "When the proof was revoked (only present when reason is \"revoked\")",
      +      "type": "string"
      +    },
      +    "revoked_reason": {
      +      "description": "Reason for revocation (only present when reason is \"revoked\")",
      +      "type": "string"
      +    },
      +    "suspended_at": {
      +      "description": "When the suspension began — present only with reason `suspended`",
      +      "type": "string"
      +    },
      +    "token_type": {
      +      "description": "Present ONLY when the submitted token is a delegation (m-delegation-verifier-ref). Its absence means the answer is about a verification/decision proof and the `verification` block applies.",
      +      "type": "string"
      +    },
      +    "valid": {
      +      "type": "boolean"
      +    },
      +    "verification": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "channel": {
      +          "type": "string"
      +        },
      +        "decision": {
      +          "type": "string"
      +        },
      +        "expires_at": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "identifier_hash": {
      +          "type": "string"
      +        },
      +        "type": {
      +          "type": "string"
      +        },
      +        "verified_at": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type",
      +        "channel",
      +        "identifier_hash",
      +        "verified_at",
      +        "expires_at"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "valid"
      +  ],
      +  "type": "object"
      +}
  3. First observedv1.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description is consistent with a safe read operation while adding genuinely useful context: validation happens online against the server, it is a public endpoint requiring no API key, and mismatched identifiers produce a specific failure rather than an error. It stops short of describing latency, caching, or rate-limit behavior, but it covers the auth and side-effect story well.

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?

Two tightly packed sentences with the core action front-loaded and no redundant wording; every clause (what is checked, the optional identifier constraint, the no-auth note) adds information an agent can act on.

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?

With an output schema present, return values need no explanation, and the description covers the action, the server-side checks, and the auth situation for a simple two-parameter read tool. The remaining gap is the lack of routing guidance against the closely named proof siblings, which is the only thing an agent might still need.

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 parameters in detail, including the identifier_mismatch and identifier_unverifiable outcomes. The description's mention of the optional identifier expectation restates rather than extends the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Validate a proof token') and enumerates the concrete checks performed: signature, expiry, revocation status, and optional identifier binding. It does not explicitly distinguish itself from siblings such as get_proof_status or revoke_proof, so an agent must infer that this is the online validation call rather than a status lookup.

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?

Usage is implied by the verb — call this when you need to verify a proof token — but there is no explicit statement of when to prefer this over get_proof_status or when revoke_proof would be the right tool instead. No exclusions or prerequisites beyond the note that no API key is needed are given.

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