Skip to main content
Glama
sktime

sktime-mcp

Official
by sktime

load_data_source

Load time series data from pandas, files, SQL, or URLs into a data handle for forecasting. Choose synchronous or asynchronous execution.

Instructions

Load data from various sources into a data handle for forecasting. Can run synchronously (blocking) or asynchronously in the background. Supported source types: 'pandas' - from a dict or inline data (keys: data, time_column, target_column). 'file' - from CSV, Excel (.xlsx), or Parquet (keys: path, time_column, target_column). 'sql' - from a SQL database (keys: connection_string, query, time_column, target_column). 'url' - from a web URL pointing to CSV/Excel/Parquet (keys: url, time_column, target_column). GUIDELINES: 1. NEVER assume a column is a time index unless the user says so. 2. ALWAYS specify 'target_column' if the user mentions a specific variable. 3. The first column is used as target by default — if that's a date column, specify target_column explicitly. 4. For non-standard date formats, omit 'time_column' to use an integer index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
configYesData source configuration. Must include 'type' (pandas, sql, file, url).
run_asyncNoIf True, loads data in the background (non-blocking) and returns a job_id. If False (default), blocks and returns the data_handle directly.
Behavior3/5

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

No annotations are provided, so the description must fully disclose behavior. It explains synchronous and asynchronous execution and required keys for each source type. However, it lacks details on error handling, data size limits, or what happens if a source is missing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with bullet points for source types and numbered guidelines. It is front-loaded with the core purpose. While somewhat lengthy, every sentence contributes valuable context.

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

Completeness4/5

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

Given no output schema, the description explains the return values (data_handle or job_id) and covers main use cases. It addresses sync/async and source-specific details, making it fairly complete for a data loading tool.

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?

Schema coverage is 100%, but the description adds substantial meaning beyond the schema. It details the required keys for each config type (pandas, file, sql, url), which the schema only mentions as a generic object. This is critical for correct parameter construction.

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 loads data from various sources into a data handle for forecasting. It lists specific source types (pandas, file, sql, url) with details, distinguishing it from sibling tools like save_data or fit.

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 explicit GUIDELINES on when to specify target_column, time_column, and how to handle date columns. It also explains synchronous vs async modes. However, it does not mention when not to use this tool or suggest alternatives like list_handles for already loaded data.

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/sktime/sktime-mcp'

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