Skip to main content
Glama

submit_compliance_attestation

Submete uma attestation LGPD/GDPR on-chain no compliance-registry program (create_attestation legacy path, sem ZK). Server wallet assina como issuer. Para ZK-verified use submit_verified_compliance_attestation.

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": {
      "subject": "<subject>"
    },
    "name": "submit_compliance_attestation"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectYesSubject pubkey base58 (empresa/DID controller).
expiresAtNoUnix timestamp de expiração (opcional).
storageUriNoURI off-chain pra o documento (DPIA/audit report). Max 128 bytes.
commitmentHexNoCommitment de 32 bytes (hex, 64 chars). Se omitido, usa sha256(commitmentText).
commitmentTextNoTexto a ser hashed via sha256 pra gerar o commitment. Usar OU commitmentHex OU commitmentText.
schemaIdBase58NoSchema ID opcional (Pubkey). Default: PublicKey.default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 burden, and it does disclose two valuable traits: the write happens on-chain and the server wallet signs as issuer (so the caller does not sign). It does not state permanence/irreversibility, fee or gas implications, what permissions the server wallet needs, or that revocation requires a separate call, which matter 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with no filler, and the routing constraint is placed last where it is easy to check against the chosen tool. Every clause carries information: on-chain target, legacy path, no ZK, signer identity, alternative.

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 six-parameter write tool whose schema is fully documented and which has no output schema, the definition covers the essentials: what it writes, where, who signs, and which sibling to prefer. The remaining gap is the result shape (attestation address/hash returned) and durability of the on-chain record, which an agent would need to chain follow-up calls.

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 explains subject, expiresAt, storageUri, commitmentHex/commitmentText and schemaIdBase58. The description adds nothing about parameters, including the mutually exclusive commitmentHex vs commitmentText choice, so baseline 3 applies.

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?

States a specific verb and resource (submits an on-chain LGPD/GDPR attestation to the compliance-registry program) and pins down the variant: the legacy create_attestation path, without ZK. It explicitly names the sibling it is not (submit_verified_compliance_attestation), so an agent can route between the two without opening either schema.

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 an explicit selection rule: for ZK-verified attestations use submit_verified_compliance_attestation, implying this tool is for the non-ZK legacy path. That covers the most likely confusion, but it says nothing about the other near neighbors in the catalog (e.g. submit_lgpd_attestation, submit_attestation_stellar) or when a plain attestation should be avoided altogether.

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