Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEVRAY_ARTIFACTS_DIRNoDirectory for saved model artifacts.artifacts
DEVRAY_WORKSPACE_DIRNoDirectory containing CSV datasets.datasets

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Local-first data science and machine learning. Processing and file access happen where this server runs. Discover workspace filenames with list_datasets, inspect the data before fitting, and reserve any test holdout for evaluation. Use only trusted saved model artifacts.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_datasetsA

Discover dataset filenames, formats and sizes in the configured workspace without reading rows. Lists CSV, Parquet and Excel files; use inspect_dataset to profile one.

list_split_manifestsA

Find stored split manifest IDs and metadata, newest first. Use validate_split_manifest to check an ID against the current dataset.

create_split_manifestA

Save reproducible row indices and a dataset fingerprint before training. Pass the returned ID as split_manifest_id to compatible training tools; keep test rows out of tuning. Use validate_split_manifest to check a saved split without rewriting it.

validate_split_manifestA

Check a saved manifest against the named workspace dataset before reuse. Returns valid and any errors for fingerprint or split mismatches; does not repair the file. Find IDs with list_split_manifests.

inspect_datasetA

Profile a named workspace dataset: shape, column types, missingness, summaries and a bounded preview that includes raw values. Use analyze_data_quality for remediation recommendations. CSV is built in; Parquet and Excel readers need optional packages.

analyze_correlationsA

Rank numeric column pairs by correlation strength within one dataset. Use Pearson for linear association or Spearman for rank association; neither establishes causation. For changes between datasets, use analyze_feature_drift.

analyze_data_qualityA

Check a workspace dataset for missing data, duplicates, constants and other quality issues before modeling. Returns recommendations without modifying the dataset. Use inspect_dataset for a raw row preview.

detect_potential_leakageA

Screen a workspace dataset before fitting for potential leakage, such as ID-like columns and, when target_column is supplied, predictors suspiciously related to the label. These flags need domain review; the dataset is not modified.

analyze_feature_driftA

Compare feature distributions in a reference (baseline) and current workspace dataset, using shared columns unless a subset is supplied. Reports statistical drift flags at alpha without modifying data; use analyze_data_quality for one dataset.

prepare_datasetA

Split a named dataset for classification or regression and fit preprocessing on training rows only. Saves a preprocessing artifact and returns its handle and schema. Training tools fit their own preprocessing.

train_baselineA

Fit one named model and return evaluation metrics and feature metadata. Supply a dataset, target and task. Use start_training_job for background evaluation or export_model to fit and save a reusable bundle.

compare_modelsA

Fit and compare candidate algorithms on a dataset using cross-validation (CV). Returns fold metrics and selects a winner by the requested metric. Provide a split_manifest_id to reserve its test rows. Records experiments when possible. Use compare_experiments for saved metrics or automl_run for hyperparameter search.

export_modelA

Write a named local model bundle with fitted preprocessing and feature schema for predict. Supply name, target_column, task_type and model_name to train, or pass a trusted existing bundle name as model_handle to copy it. Reusing artifact_name can overwrite a saved bundle.

predictA

Score a feature object or array of feature objects with a trusted local model bundle, without fitting. Match feature keys to the stored schema; use load_model_handle to inspect it. Never load artifacts from untrusted sources.

system_infoA

Check the server's CPU, RAM, storage and detected GPUs before a costly run. This does not train or enable GPU acceleration.

list_experimentsA

Browse recent persisted experiment records, newest first, to find IDs for get_experiment or compare_experiments. Use list_training_jobs for in-process jobs.

get_experimentA

Read one saved experiment's metrics and metadata by ID from list_experiments. Use compare_experiments for several runs; this does not fit or load a model.

compare_experimentsA

Compare saved metrics for experiment IDs from list_experiments without retraining. Interpret scores only across comparable datasets, splits and metrics; use compare_models to run a new comparison on one dataset.

list_modelsC

Find experiment records that reference model artifacts and their identifiers. Use load_model_handle to confirm a bundle is available and read its schema.

load_model_handleA

Inspect feature schema, metrics and metadata from a trusted saved model bundle. Supply an artifact_name or an experiment_id with a tracked artifact. This loads the bundle but does not score rows; use predict for inference.

start_training_jobA

Queue one named model fit and return a job_id without waiting for training. Supply a dataset, target and task, then poll get_training_status for results. Use train_baseline when you want the metrics in the same call.

get_training_statusA

Poll a job_id from start_training_job or list_training_jobs for state and any available result or error. Job IDs are process-local.

cancel_training_jobA

Request cancellation of a queued or running job by job_id. Running work stops cooperatively, so poll get_training_status to confirm the terminal state. A request does not undo finished work.

list_training_jobsA

Discover recent jobs in this server process, newest first. Use get_training_status for one job's result or list_experiments for persistent run history.

automl_runA

Run a fresh, synchronous cross-validation search and return ranked trials, winner and run metadata. Optionally tune the leading candidate when Optuna and budget remain. Provide a split_manifest_id to reserve its test rows. Use tune_model for one algorithm. Search returns scores and parameters without saving fitted models.

tune_modelA

Score one model by cross-validation, then search its hyperparameters if Optuna is installed and budget remains. Without Optuna, only the baseline is scored. Returns scores and parameters. Use automl_run to search across model families.

get_model_leaderboardA

Run fresh cross-validation and return ranked trials plus the winner's model ID, parameters and score. Pass models to restrict candidates. Use automl_run for full run metadata or list_experiments to find saved training records. Use export_model to fit and save a model bundle.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 27 tools

Disambiguation3/5

Most tools have distinct roles and descriptions actively cross-reference siblings (e.g. inspect_dataset vs analyze_data_quality, list_experiments vs list_training_jobs). However several fit-and-score tools are near-duplicates: automl_run, get_model_leaderboard, compare_models, tune_model and train_baseline all fit models on a dataset and return metrics, and automl_run vs get_model_leaderboard are especially hard to tell apart (both return ranked CV trials plus a winner). An agent can usually reason it out from descriptions, but the boundaries are genuinely blurry.

Naming Consistency4/5

The dominant pattern is verb_noun in snake_case (list_datasets, inspect_dataset, create_split_manifest, export_model, cancel_training_job), applied consistently across most of the surface. The notable outlier is automl_run, which inverts to noun_verb and stands out against the rest of the set.

Tool Count3/5

At 27 tools the surface is heavy, though the domain genuinely spans dataset profiling, quality/leakage/drift analysis, split manifests, training, tuning, experiment history, job management and inference. The count is inflated by redundant fitting paths (train_baseline/start_training_job/compare_models/tune_model/automl_run/get_model_leaderboard) that could be consolidated.

Completeness4/5

Coverage of the ML lifecycle is strong end to end: discovery, profiling, quality and leakage screening, splits, training (sync and async), tuning, experiment comparison, bundle export, load-handle inspection and prediction. Gaps are minor — no dataset write/delete or model artifact deletion, and no way to enumerate supported algorithms or feature-importance results outside experiment metadata.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues