Skip to main content
Glama

download_kaggle_dataset

Download a Kaggle dataset by slug and copy CSV files into the local datasets/ folder for analysis. Requires Kaggle credentials (KAGGLE_USERNAME/KAGGLE_KEY).

Instructions

Download a dataset from Kaggle via kagglehub and copy any CSVs into datasets/.

Requires Kaggle authentication (KAGGLE_USERNAME / KAGGLE_KEY env vars or
~/.kaggle/kaggle.json). Example dataset slug: "yasserh/titanic-dataset".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datasetYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose key behavioral traits: use of kagglehub, copying CSVs into datasets/, and authentication requirements. It does not mention overwrite behavior or error handling, but the main side effects are clearly stated.

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 concise sentences, front-loading the main action and then adding necessary prerequisites and an example. Every sentence serves a purpose with no 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?

Given the tool's simplicity (one parameter) and the presence of an output schema, the description covers everything essential: purpose, side effect, authentication, and input format. Minor details like non-CSV handling are implicit in the phrase 'copy any CSVs', so no critical gaps remain.

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?

The input schema has no descriptions for the single 'dataset' parameter, so the description compensates by providing an example slug ('yasserh/titanic-dataset'), which clarifies the expected format. This gives meaningful guidance beyond the schema's bare parameter name.

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 tool downloads a dataset from Kaggle via kagglehub and copies CSVs into datasets/, using a specific verb and resource. It implicitly distinguishes from siblings like list_datasets and profile_dataset by focusing on the actual download and file-copy action.

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?

It provides clear context that Kaggle authentication is required and gives an example dataset slug format, helping the agent understand prerequisites and input format. However, it does not explicitly mention when to use this tool versus alternatives, though the purpose is obvious.

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/Bert305/kaggle_mcp'

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