Skip to main content
Glama

enaho_exportar

Idempotent

Export prepared ENAHO datasets to Stata, SPSS, CSV, Excel, or Parquet, optionally with value labels for Stata. Prevents truncated Excel files by refusing datasets over Excel's row limit.

Instructions

Convierte un dataset preparado al formato que use tu equipo.

Con etiquetas=True el .dta sale con etiquetas de variable y de valor, que es lo que lo hace usable en Stata. Si el dataset supera el limite de filas de Excel, la herramienta se niega en vez de generar un archivo truncado sin avisar.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
salidaNoNombre del archivo de salida.
datasetYesDataset a exportar.
formatoNo'dta' para Stata con etiquetas, 'sav' para SPSS, 'csv' universal. 'xlsx' falla por encima de un millon de filas, a proposito.dta
columnasNoSubconjunto de columnas a exportar.
etiquetasNoEscribe etiquetas de variable y de valor (solo dta y sav).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Beyond the annotations (idempotentHint true, destructiveHint false), the description discloses important behavioral details: the Excel row-limit refusal prevents silent truncation, and etiquetas=True ensures Stata usability. These are significant additional traits not covered by 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 two sentences, front-loaded with the core purpose, and every sentence adds value—one for the main conversion function and one for key behavioral caveats. There is no redundancy or fluff.

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?

For a simple export tool with a full input schema, output schema, and annotations, the description covers the essential usage context and distinctive behaviors (Stata labels, Excel limit). It is sufficiently complete for an agent to select and invoke the tool correctly.

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%, and the schema already explains formato options, etiquetas, and the Excel limit. The description adds little beyond what the schema provides, though it re-emphasizes the etiquetas behavior for Stata. This meets the baseline for full schema coverage.

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 uses a specific verb ('Convierte') and resource ('dataset preparado') and clearly states the tool's purpose: converting a dataset to a desired output format. This clearly distinguishes it from sibling tools, which focus on data exploration, estimation, and other ENAHO-specific operations.

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

Usage Guidelines4/5

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

The description implies when to use the tool ('to convert a prepared dataset to a format your team uses') and adds practical guidance about etiquetas for Stata and the Excel row limit refusal. However, it does not explicitly state when not to use it or mention alternatives, though no direct alternative exists among siblings.

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