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

product-analytics-synthetic-population

inspecionar_export

Inspect CSV/JSON event exports to show how columns and events are interpreted, including detected columns, masked sample rows, common values, and a suggested field map.

Instructions

Lê o export (CSV ou JSON, uma linha por evento) e diz como as regras entenderam as colunas e os eventos.

Devolve colunas, uma amostra com ids e e-mails mascarados, os valores comuns das colunas de poucos valores e o mapa sugerido. Se faltar algo, complete o mapa a partir disso e passe para gerar_populacao.

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": "inspecionar_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
caminhoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses accepted input formats, the row-per-event model, that returned samples have ids and e-mails masked, that low-cardinality column values are summarized, and that a suggested map is produced. It stops short of describing error behavior (missing file, malformed CSV) or any size limits, which keeps it from a 5.

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?

Three short sentences, front-loaded with the core action and followed by the return contents and the next step. Every sentence contributes; only minor tightening would be possible.

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?

There is no output schema, and the description compensates well by enumerating what comes back: columns, a masked sample, common values, and the suggested map. The remaining gap is the single input parameter's semantics, which is left thin for a tool whose only required argument is a file path.

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% for the single 'caminho' parameter, so the description must compensate. It indirectly conveys that the path points to a CSV or JSON export, which is useful, but it never says whether the path is absolute or relative, what extensions are accepted at the boundary, or whether directories are valid.

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 states a specific verb and resource: it reads an export file (CSV or JSON, one row per event) and reports how the rules interpreted columns and events. It also positions itself in the workflow by naming gerar_populacao as the next step, which distinguishes it from that sibling, though it does not explicitly contrast with criar_export_exemplo or perguntar_populacao.

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 through the workflow: run this to understand the export, then complete the suggested map and pass it to gerar_populacao. There is no explicit statement of when NOT to use it, nor which sibling to pick when an export file doesn't exist yet or when you only need to query an existing population.

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