Skip to main content
Glama

split_column

Split a single text column into multiple columns using a delimiter, simplifying data parsing and enabling structured analysis.

Instructions

Split a single text column into multiple columns using a delimiter.

Args: file_path: Path to workbook. sheet_name: Worksheet name. column: Column letter or header name to split. delimiter: Delimiter string (default ","). new_columns: Optional list of new column names. drop_original: If True, remove the original column after split. output_file: Optional path to write results instead of overwriting input. header_row: 1-based header row index.

Returns: dict: Summary of created columns and row counts.

Notes: - Destructive unless output_file is provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
columnYes
delimiterNo,
file_pathYes
header_rowNo
sheet_nameYes
new_columnsNo
output_fileNo
drop_originalNo
Behavior5/5

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

With no annotations, the description fully discloses the destructive nature ('Destructive unless output_file is provided') and explains the drop_original behavior. It also states the return value, covering the key behavioral traits.

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 with Args, Returns, and Notes sections. It is concise, front-loaded with the main purpose, and every sentence adds necessary information 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?

For an 8-parameter tool with no annotations or output schema, the description provides complete context: all parameters, defaults, return value, and a critical destructiveness warning. No significant gaps remain.

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 schema has no parameter descriptions (0% coverage), but the description explains every parameter with a brief, meaningful definition (e.g., 'Optional list of new column names', '1-based header row index'). This fully compensates for the schema gap.

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 states a specific action ('Split a single text column into multiple columns') with a clear resource ('text column') and method ('delimiter'). This distinguishes it from sibling tools like parse_date_column or unpivot_data.

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 provides clear context on what the tool does (splitting a column by delimiter), implying when to use it. It does not explicitly mention alternatives or exclusions, but the usage context is evident from the description.

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/mbeps/excel-mcp'

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