Skip to main content
Glama

enaho_calidad

Read-onlyIdempotent

Checks if a prepared ENAHO dataset is suitable for estimation by detecting duplicate keys, unlabeled codes, invalid factors, and empty columns, preventing misleading survey results.

Instructions

Responde si un dataset sirve para lo que se va a hacer con el.

Es distinto de enaho_perfil, que describe. Esto DIAGNOSTICA cinco cosas que, si fallan, producen resultados creibles y equivocados:

  • Llaves duplicadas o con nulos: un merge posterior multiplicaria filas, o las perderia sin avisar. Es el fallo mas caro y el mas dificil de ver a ojo.

  • Cobertura por variable: distingue entre "universo restringido" y "merge que no emparejo", que se parecen mucho en una tabla.

  • Codigos sin etiqueta: un 9 en una variable definida 1-3 suele ser un "no responde" que nadie convirtio a faltante y que entra en los promedios como un dato.

  • Factor invalido: filas con factor nulo, cero o negativo que el estimador descarta en silencio.

  • Columnas constantes o vacias: la senal habitual de haber unido el archivo equivocado.

Devuelve apto_para_estimar y los problemas separados entre los que impiden estimar y los que solo hay que mirar. Llamala despues de enaho_unir_modulos y antes de publicar cualquier cifra.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
salidaNoNombre del archivo generado.
datasetYesNombre corto del dataset preparado.
formatoNoSi se indica, ademas escribe el informe en disco: 'html', 'md', 'docx', 'xlsx' o 'pdf'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint false; the description adds substantial behavioral context by explaining what the diagnostics detect, why failures are dangerous, and that it returns apto_para_estimar with problems separated by severity. No contradiction with annotations.

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 description is front-loaded with the main purpose, then uses a structured bullet list to explain each of the five checks and their consequences. Every sentence adds value, and the markdown formatting makes it scannable; length is justified by the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity, the description covers purpose, workflow timing, output content ('Devuelve apto_para_estimar y los problemas separados...'), and the key failure modes. It also complements the annotations and schema without relying on them; output schema exists so return-value detail is not required.

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 covers 100% of parameters with descriptions for dataset, salida, and formato, so the baseline is 3. The description does not add parameter-level detail; it mentions dataset only implicitly and leaves salida/formato behavior to the schema.

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?

The description clearly identifies the tool's specific action: determining whether a dataset is fit for its intended use ('Responde si un dataset sirve'). It lists five concrete diagnostic checks and explicitly distinguishes itself from enaho_perfil ('Es distinto de enaho_perfil, que describe'), so it differentiates from siblings.

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

Usage Guidelines5/5

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

It explicitly names the alternative enaho_perfil and contrasts their purposes, and it gives workflow placement: 'Llamala despues de enaho_unir_modulos y antes de publicar cualquier cifra.' This is clear when-to-use guidance with an exclusion.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AnderMC66/enaho-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server