Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_datasetsA

List the CSV datasets available under the datasets/ directory.

profile_datasetA

Profile a dataset: shape, column dtypes, numeric summary stats, and a sample of rows.

Args:
    filename: CSV file inside datasets/ (e.g. "train.csv").
    sample_rows: How many head rows to include in the preview.
detect_missing_valuesA

Report missing-value counts and percentages per column, sorted by the most-missing first.

plot_distributionA

Render a distribution chart for a column and save it as a PNG in outputs/. Numeric columns get a histogram; categorical columns get a bar chart. Returns the saved file path.

train_modelA

Train a baseline scikit-learn model, evaluate it on a held-out split, and persist it to models/.

Categorical features are one-hot encoded and numeric features are imputed +
scaled inside a single sklearn Pipeline, so it works on raw Kaggle CSVs.

Args:
    filename: CSV file inside datasets/.
    target: Column to predict.
    features: Columns to use as predictors. Defaults to all other columns.
    task: "classification", "regression", or "auto" (inferred from target).
    test_size: Fraction held out for evaluation.
    random_state: Reproducibility seed.
list_modelsA

List the trained models saved under models/, with the target column and task type each one predicts.

predictA

Score new data with a previously trained model (from train_model).

Provide the rows to score in ONE of two ways:
  * `records`: a list of row dicts, e.g.
    [{"Pclass": 3, "Sex": "male", "Age": 22, "Fare": 7.25, "Embarked": "S"}]
  * `filename`: a CSV inside datasets/ to score every row of (e.g. a Kaggle
    "test.csv").

The saved model is a full pipeline, so missing values and categoricals are
handled automatically; you only need to supply the feature columns used in
training. For classifiers, per-class probabilities and a confidence score
are included.

Args:
    model: Saved model name (see list_models), with or without ".joblib".
    records: Inline rows to score.
    filename: CSV in datasets/ to score instead of `records`.
    id_column: Optional identifier column to echo alongside each prediction
        (e.g. "PassengerId") — handy for building a submission file.
    save_csv: If true, also write the predictions to outputs/ as a CSV.
    top_n: Max number of prediction rows to include in the response.
download_kaggle_datasetA

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".

Prompts

Interactive templates invoked by user choice

NameDescription
eda_walkthroughA guided exploratory-data-analysis plan for a dataset.
insight_reportOpen-ended insight discovery for a spreadsheet, with visualizations.
ml_pipelineA plan for building and evaluating a predictive model for `target`.

Resources

Contextual data attached and managed by the client

NameDescription
datasets_list_resourceThe list of available dataset filenames, one per line.

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