Skip to main content
Glama

save_csv

Export a dataframe to a CSV file (without row index) after processing, to save cleaned data from a data science pipeline.

Instructions

Save a dataframe to a CSV file (without row index). Use at the end of a pipeline to export cleaned/processed data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
df_nameNo
file_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the burden. It discloses the useful 'without row index' behavior, but omits side effects like overwriting existing files, directory creation, or how the dataframe is selected (via df_name). These gaps leave transparency moderate.

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?

Two efficient sentences: the first states purpose, the second provides usage context. No redundancy or filler, appropriately front-loaded.

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

Completeness3/5

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

For a simple 2-parameter export tool with an output schema, the description covers purpose and usage context well. However, the missing parameter semantics and overwrite behavior make it merely adequate rather than complete.

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

Parameters2/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 explain parameters. It implies file_path as the destination but fails to explain df_name and its default. This is a significant gap for a tool with only two parameters.

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 'Save a dataframe to a CSV file' with the qualifier 'without row index', specifying the action, resource, and a key behavioral detail. This distinguishes it from load_csv and other save tools like save_report.

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?

Provides explicit usage context: 'Use at the end of a pipeline to export cleaned/processed data.' While it doesn't name alternative tools, this is clear guidance for the primary use case.

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/AstyanM/mcp-data-science'

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