Skip to main content
Glama

csv_to_hyper

Convert CSV files to Tableau Hyper extracts for use as data sources in Tableau workbooks. Infers column types automatically and generates .hyper files from CSV data.

Instructions

Convert a CSV file to a Tableau Hyper extract.

Infers column types and creates a .hyper file that can be used as a data source in Tableau workbooks.

Requires tableauhyperapi (pip install tableauhyperapi).

Args: csv_path: Path to the source CSV file. hyper_path: Output path for the .hyper file. table_name: Table name inside the Hyper file. sample_rows: Rows to sample for type inference.

Returns: Confirmation with row and column counts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
csv_pathYes
hyper_pathYes
table_nameNoExtract
sample_rowsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries full burden and adds valuable behavioral context: it discloses the type inference mechanism, the dependency requirement (tableauhyperapi), and the output format (.hyper file for Tableau). However, it does not mention potential side effects like file overwriting or performance considerations for large files.

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 well-structured and front-loaded with the core purpose, followed by implementation details, dependencies, parameter explanations, and return value—all in concise sentences that earn their place without redundancy.

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 (file conversion with type inference), no annotations, and an output schema that handles return values, the description is complete: it covers purpose, dependencies, all parameters, and the confirmation output, leaving no gaps for the agent to understand and invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds significant meaning beyond the input schema, which has 0% description coverage. It clearly explains the purpose of all four parameters (csv_path as source, hyper_path as output, table_name for internal naming, sample_rows for type inference), compensating fully for the schema's lack of documentation.

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 states the specific action ('Convert a CSV file to a Tableau Hyper extract'), the resource involved (CSV file to .hyper file), and distinguishes it from sibling tools like 'csv_to_dashboard' or 'hyper_to_dashboard' by focusing on file format conversion rather than dashboard creation or inspection.

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?

The description implies usage context through the mention of Tableau workbooks and type inference, but does not explicitly state when to use this tool versus alternatives like 'csv_to_dashboard' or 'inspect_csv'. It provides a prerequisite ('Requires tableauhyperapi') but lacks explicit guidance on tool selection.

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/subhatta123/twilize'

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