Skip to main content
Glama

submit_lgpd_attestation

SÓ OPERADOR. Atesta no Midnight (preview) e/ou na Avalanche Fuji (testnet) o resultado da revisão de um manifesto LGPD (dpo2u/lgpd-evidence/v1): recalcula o relatório do pack lgpd@1.1.0 (o reportId precisa bater), calcula o hash canônico do manifesto (JSON canônico + sha256) e grava hash do manifesto, versão do pack, veredito, data e hash do revisor. Só hashes e veredito ficam públicos. A atestação afirma o fato verificável ("estes artefatos, com estes hashes, foram revisados por um operador nomeado com este veredito"), não "conforme LGPD".

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": {
      "manifest": "<manifest>",
      "reportId": "<reportId>",
      "reviewerName": "<reviewerName>",
      "verdict": "<verdict>"
    },
    "name": "submit_lgpd_attestation"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoOnde gravar (só redes de teste): midnight (preview), avalanche (Fuji) ou both (padrão)
dryRunNoSó monta o payload, sem gravar on-chain
subjectNoHash hex de 32 bytes do sujeito, fornecido pelo operador (ex.: H(CNPJ) ou H(CAIP-10/DID)). Nunca o identificador cru. Sem ele, usa H(repo|commit) do manifesto e avisa.
verdictYesVeredito do revisor
manifestYesManifesto dpo2u/lgpd-evidence/v1 revisado
reportIdYesreportId devolvido por validate_lgpd_evidence para este manifesto
reviewerNameYesNome do operador revisor (vira hash; não vai a público)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full disclosure burden and meets it well: it explains exactly which fields are written (manifest hash, pack version, verdict, date, reviewer hash), that only hashes and the verdict become public, that the reviewer name is hashed and not public, and that the subject must be a hash of the identifier rather than the raw value. The deterministic computation (canonical JSON + sha256) and the reportId-match prerequisite are also disclosed.

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?

The content is dense and front-loaded: the operator restriction comes first, then one long sentence covering the mechanism and persisted fields, then a sentence stating what the attestation does and does not claim. The final sentence is the key scope disclaimer and justifies its length.

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 mutation tool with no annotations, no output schema, and a nested manifest object, the description covers what is written, what is public, and what the claim means, which is substantial. It does not describe the response shape, failure behavior when reportId does not match, or whether the attestation can be revoked, leaving modest gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, so the baseline is 3; the description still adds meaning beyond the schema by explaining reportId's provenance and match requirement, the review claim that the verdict encodes, and the hash-only public exposure of reviewerName. The chain restriction to testnets is reinforced.

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 uses a precise verb (atesta/attests) with a specific resource (result of an LGPD manifest review on Midnight preview and/or Avalanche Fuji), and it clarifies the semantic scope of the claim: a verifiable fact, not a claim of 'LGPD compliance'. It does not distinguish itself from the many sibling attestation tools (submit_attestation_stellar, submit_compliance_attestation, etc.), so a 5 is not warranted.

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?

'SÓ OPERADOR' sets an actor restriction, and the requirement that the reportId must match the recomputed pack report implicitly gates use behind validate_lgpd_evidence. However, there is no explicit guidance on when to choose this tool instead of a sibling attestation tool, and no described exclusions beyond the operator restriction.

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