Skip to main content
Glama

excel_to_csv

Converts an Excel file (.xlsx) to CSV format. Specify the sheet to convert or use the active sheet.

Instructions

Convert an Excel file to CSV format. Requires openpyxl package.

Args: excel_path: Path to the Excel file (.xlsx) csv_path: Path for the output CSV file sheet_name: Name of the sheet to convert (default: active sheet)

Returns: Success or error message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
csv_pathYes
excel_pathYes
sheet_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It explains the conversion and default sheet behavior, but does not disclose whether the output file is overwritten, error handling for missing files, or performance implications. Adequate but not thorough.

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 concise and well-structured, using a docstring format with Args and Returns sections. Every sentence is necessary, and the core purpose is front-loaded. No redundancy.

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?

Given 3 parameters, no annotations, and an existing output schema, the description covers the essential functionality and parameter semantics. It lacks details on error scenarios (e.g., file not found, invalid sheet name) but is largely complete for a simple conversion utility.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It includes an Args section that explains the role of each parameter (excel_path, csv_path, sheet_name) and the default behavior for sheet_name. This adds meaning beyond the bare schema names and types.

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 'Convert an Excel file to CSV format,' which is a specific verb+resource pair. It distinguishes from sibling tools like csv_to_excel (reverse operation) and read_excel (reading without conversion).

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 mentions a prerequisite ('Requires openpyxl package') but does not provide guidance on when to use this tool versus alternatives like csv_to_excel or read_excel. Usage context is implied but not explicit.

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/rofiqcp/mcp-dokumen'

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