Skip to main content
Glama

revoke_compliance_attestation

Revoga uma attestation LGPD/GDPR on-chain (compliance-registry.revoke_attestation). Apenas o issuer original pode revogar — usa server wallet por default; passe altSignerBase58 se a attestation foi criada por outro signer.

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": {
      "attestationPda": "<attestationPda>",
      "reason": "<reason>"
    },
    "name": "revoke_compliance_attestation"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesMotivo da revogação (≤64 bytes).
attestationPdaYesPDA da attestation (base58).
altSignerBase58NoSecret key base58 opcional. Se a attestation foi criada com signer ≠ server wallet, passar aqui.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does add real value: it discloses the authorization constraint (issuer-only) and the default signing wallet. However, it says nothing about irreversibility, what happens to the attestation record after revocation, whether related evidence is affected, or what the call returns — material omissions for an on-chain mutation.

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?

Two sentences, front-loaded with the action and followed by the authorization and signer caveats; there is no filler. The parenthetical contract reference is useful provenance rather than padding, though the second sentence is somewhat densely packed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter destructive on-chain operation with no annotations and no output schema, the definition covers authorization and signer selection adequately but leaves out consequences, reversibility, and post-call state. An agent would know how to invoke it but not fully what it is committing to.

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 description coverage is 100%, so the schema already documents all three parameters, including the altSignerBase58 condition. The description restates the same altSignerBase58 rule rather than adding syntax, format, or edge-case detail, so the baseline of 3 is appropriate.

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?

States a specific verb and resource: revoking an on-chain LGPD/GDPR attestation, and names the underlying contract method (compliance-registry.revoke_attestation). It does not distinguish itself from the sibling revoke_composed_attestation, so an agent cannot tell from the text alone which revoke applies to which attestation type.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear preconditions and a decision rule: only the original issuer can revoke, the server wallet is used by default, and altSignerBase58 is needed when the attestation was created by a different signer. It stops short of stating when to prefer it over revoke_composed_attestation or what to do after a failed signer mismatch.

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.

Resources