Skip to main content
Glama

generate_retention_policy

Gera Política de Retenção granular — matriz por categoria de dado com período, base legal, método de descarte e storage backend. Fecha o gap "política de retenção genérica" do audit_infrastructure.

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": {
      "companyName": "<companyName>",
      "dataCategories": "<dataCategories>",
      "dpoName": "<dpoName>",
      "dpoEmail": "<dpoEmail>"
    },
    "name": "generate_retention_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
cnpjNoCNPJ (opcional)
dpoNameYesNome do DPO
dpoEmailYesEmail do DPO
companyNameYesNome da empresa
dataCategoriesYesMatriz granular — uma entrada por categoria de dado
registerOnChainNoRegistrar CID on-chain via dpo2u-solana (stub)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and largely does not meet it. It never says whether the output is a rendered document, a stored artifact, or just text; whether the call is side-effect free; or what the optional on-chain registration path implies beyond the schema's own "stub" note. An agent cannot tell if this is a safe read-like generation or a persisted 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 verb and the deliverable, with no filler. The density is high but readable; the only mild cost is the embedded quoted gap name, which is useful routing context rather than padding.

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 six-parameter generator with no annotations and no output schema, the description explains what artifact is produced but not the return format, persistence, or on-chain side effects. The required inputs are fully covered by the schema, so the remaining gap is behavioral rather than structural — enough to call it, not enough to predict the result.

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%, including per-field examples for the nested dataCategories object, so the baseline is 3. The description does add value by enumerating the four matrix columns (período, base legal, método de descarte, storage), confirming that each dataCategories entry must fill them, but it says nothing about the meaning of cnpj or registerOnChain.

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+resource ("Gera Política de Retenção") and specifies the artifact's shape: a per-data-category matrix with retention period, legal basis, disposal method and storage backend. It differentiates itself from audit_infrastructure by positioning as the fix for that tool's "generic retention policy" gap. It does not differentiate from the many other generate_* policy siblings (generate_privacy_policy, generate_lgpd_kit), leaving some ambiguity.

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 implied: run this after audit_infrastructure surfaces the "política de retenção genérica" gap, so the trigger condition is somewhat inferable. There is no explicit when-not guidance, no statement of prerequisites (e.g., must an audit be run first), and no routing away from the sibling generators.

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