Skip to main content
Glama

revoke_composed_attestation

Revoke compressed attestation via Squads v4 proposal. Cria proposal no vault[3] Compliance Authority chamando compliance-registry-pinocchio::revoke_compressed (selector 0x04). Aguarda 2-of-3 approve + 24h time-lock antes de execute. Retorna proposal PDA pra members assinarem em squads-cli.

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": {
      "oldLeafHex": "<oldLeafHex>",
      "expectedOldLeafHashHex": "<expectedOldLeafHashHex>",
      "revokeReason": "<revokeReason>",
      "squadsMultisigPubkey": "<squadsMultisigPubkey>"
    },
    "name": "revoke_composed_attestation"
  }
}

Input Schema

NameRequiredDescriptionDefault
oldLeafHexYes252-byte AttestationLeaf serializado (hex). Buscar via fetch_composed_attestation primeiro.
revokeReasonYesReason code 0..255 (mapping em docs/GOVERNANCE.md). Ex: 1=fraud detected, 2=user request LGPD Art. 18.
squadsMultisigPubkeyYesSquads v4 multisig PDA (vault[3] Compliance Authority) — lookup em scripts/squads-config.json.
expectedOldLeafHashHexYes32-byte leaf hash do oldLeaf (retornado por fetch_composed_attestation).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses that this does not revoke immediately but creates a proposal in vault[3] Compliance Authority, requires 2-of-3 approve plus a 24h time-lock before execute, and returns a proposal PDA for members to sign in squads-cli. That is exactly the non-obvious behavioral context an agent needs. It stops short of failure modes, what happens if the leaf is stale, or whether a proposal can be cancelled, keeping it at 4 rather than 5.

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?

Four short sentences, each carrying distinct information: the action, the on-chain mechanism, the approval/time-lock constraint, and the return value. Nothing is repeated and the most decision-relevant fact (governance delay, not immediate revocation) appears early.

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?

For a multi-step multisig-gated mutation with no annotations and no output schema, the description covers the mechanism, the gating conditions and the return artifact (proposal PDA), which is enough for an agent to call it and to know the job is not finished at call time. Missing are error/edge-case behavior and any note on what the on-chain state looks like afterward, which keeps it from a 5.

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%, with each of the four parameters documented in the schema itself (including the reason-code mapping and the fetch_composed_attestation lookup hint), so the baseline is 3. The prose adds only indirect context (vault[3] Compliance Authority) and otherwise does not extend parameter meaning beyond the schema.

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 definition opens with a specific verb+resource ('Revoke compressed attestation via Squads v4 proposal') and names the downstream program call (compliance-registry-pinocchio::revoke_compressed, selector 0x04), so an agent knows exactly what is being done. It does not, however, differentiate itself from the sibling 'revoke_compliance_attestation', so the agent cannot tell from this text why one revocation path should be chosen over the other.

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 only implied through the mechanics: an agent learns this path requires a Squads proposal, 2-of-3 approval and a 24h time-lock, which implies it is the governance-gated route rather than an immediate revocation. There is no explicit 'use this when…' or exclusion naming an alternative sibling, and no stated prerequisite for having the leaf in hand beyond the schema note pointing at fetch_composed_attestation.

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