Skip to main content
Glama
product-analytics-synthetic-population

product-analytics-synthetic-population

gerar_populacao

Generates a synthetic user population from a product analytics event export, saving the population CSV plus fidelity and privacy reports against held-out real users.

Instructions

Gera a população sintética e confere fidelidade e privacidade contra usuários reais que o gerador não viu.

mapa (opcional): {usuario, data, evento, sessao, receita, canal, dispositivo, pais, eventos: {view_item: [...], add_to_cart: [...], begin_checkout: [...], purchase: [...]}}; só o que as regras não acharam. n: tamanho da população (100 a 100.000). saida: pasta de saída (padrão: ao lado do arquivo). Grava populacao_sintetica.csv, relatorio.md e relatorio.json.

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": {
      "caminho": "<caminho>"
    },
    "name": "gerar_populacao"
  }
}

Input Schema

NameRequiredDescriptionDefault
nNo
mapaNo
saidaNo
caminhoYes
sementeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden, and it does disclose key side effects: it writes populacao_sintetica.csv, relatorio.md and relatorio.json. It also surfaces the privacy/fidelity validation step, which is non-obvious behavior. It omits whether existing output files are overwritten, expected runtime for large n, and any failure behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The purpose sentence is correctly front-loaded, but the parameter block is a dense, abbreviated run of semicolon-separated fragments with the mapa structure inlined awkwardly. No sentence is purely wasted, but the formatting makes it harder to parse than a short bulleted list would.

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 file-producing generator with no annotations and no output schema, the description usefully lists the three artifacts written and the validation step. It still leaves the required input path unexplained and says nothing about permissions, overwrite behavior, or scale/runtime implications of n up to 100.000.

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 coverage is 0%, so the description must compensate, and it partly does: it gives the range for n (100 to 100.000), the default location for saida, and adds real meaning to mapa by explaining its structure and that it should contain only what the rules did not infer. However, the required 'caminho' parameter and 'semente' (seed/reproducibility) are never mentioned, leaving 2 of 5 parameters undocumented in both schema and description.

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 first sentence names a specific verb and artifact ('Gera a população sintética') and adds a distinctive secondary function: validating fidelity and privacy against real users the generator never saw. That combination is clear enough to distinguish it from a plain generator. It does not, however, contrast itself with siblings like perguntar_populacao or inspecionar_export.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the scenario (you need a synthetic dataset validated for privacy) but never states when to pick this over the sibling tools, nor any prerequisite such as needing an export file first. With three siblings present, the absence of any routing guidance is a real gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.