Skip to main content
Glama

generate_audit_stored

Gera uma auditoria LGPD/GDPR completa e entrega três artefatos em uma só chamada: (1) PDF pronto pro cliente (base64), (2) ciphertext AES-256-GCM pinado no IPFS com CID auditável, (3) commitment ancorado on-chain no compliance-registry PDA (quando registerOnChain=true). Response inclui a chave AES pra decrypt posterior.

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": {
      "company": "<company>",
      "auditScope": "<auditScope>"
    },
    "name": "generate_audit_stored"
  }
}

Input Schema

NameRequiredDescriptionDefault
cnpjNoCNPJ (opcional)
areasNoÁreas focais (opcional)
companyYesNome da empresa
frameworkNoFramework (padrão: lgpd)
auditScopeYesEscopo da auditoria
registerOnChainNoAncorar commitment on-chain no compliance-registry? (padrão: false)
uploadToStorageNoUpload encrypted ciphertext pro IPFS? (padrão: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/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 does well: it reveals that a PDF is emitted as base64, that ciphertext is AES-256-GCM encrypted and pinned to IPFS with an auditable CID, that an on-chain commitment can be written to the compliance-registry PDA, and that the response contains the AES decryption key. It does not mention auth/permission requirements, cost/latency, or whether on-chain anchoring is irreversible - relevant gaps for a tool with write side effects.

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?

One front-loaded sentence with the resource and outputs stated first, then numbered artifacts; there is almost no filler. It is dense but well structured, and the parenthetical conditional is efficient rather than redundant.

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?

No output schema exists, and the description compensates by describing the three return artifacts and the AES key, which is exactly what an agent needs to chain a follow-up decrypt call. For a 7-parameter tool with on-chain side effects it could still say more about prerequisites and failure modes, but the core loop is complete.

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?

Schema coverage is 100%, so baseline would be 3, but the description adds real meaning beyond the enum labels: it explains that registerOnChain causes an anchored commitment in the compliance-registry PDA and defaults off, and that uploadToStorage governs IPFS pinning. It adds little for company/auditScope/areas, but the flag semantics are genuinely clarified.

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?

Names a specific verb+resource ('Gera uma auditoria LGPD/GDPR completa') and enumerates the three concrete deliverables in the same sentence, so an agent knows exactly what it gets back without opening the schema. It is also clearly distinguishable from generative siblings like generate_dpia_stored or generate_audit_checklist because of the PDF + IPFS + on-chain triplet.

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?

Provides conditional usage semantics ('quando registerOnChain=true') and implied defaults, but never states when to pick this tool over siblings such as generate_dpia_stored or when an audit is not the right artifact. Usage is implied by the output description rather than explicitly guided.

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