Skip to main content
Glama
sciflow-mcp
by Claybarn

import_data

Imports .npy, .npz, .mat, or .csv files into the store as stamped series or intervals, then returns an artifact ID for reproducible analysis.

Instructions

Import a .npy/.npz/.mat/.csv file into the store and return its artifact id.

Series: the array under data_key with its parametric axis at index parametric_axis, paired with stamps_key (default 'stamps' or Collate's 'timestamps'), or stamps generated from sample_rate and start. ticks_per_unit divides raw stamps (e.g. 30000 for sample numbers at 30 kHz). axes labels every axis, the first naming the parametric axis; or pass just axis (e.g. "depth") and its unit. Intervals: ons_key/offs_key, or times_key for point events, on parametric axis. stream selects one struct in a Collate-style .mat file. CSV series use stamp_column (default: first).

Input Schema

NameRequiredDescriptionDefault
axesNo
axisNo
kindNoseries
nameNo
pathYes
unitNo
startNo
unitsNo
streamNo
ons_keyNoons
data_keyNodata
offs_keyNooffs
times_keyNo
stamps_keyNo
sample_rateNo
stamp_columnNo
ticks_per_unitNo
parametric_axisNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It states that the tool imports into the store and returns an artifact id, but it does not disclose permissions, overwrite behavior, error cases, idempotency, or other side effects of a mutation-like import operation.

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 core purpose is front-loaded, then the Series and Intervals paragraphs organize the dense parameter guidance. The description is long but every sentence carries operational meaning for a complex 18-parameter import tool.

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?

The output schema exists, so return-value explanation is not required, and the description covers many parameter semantics. However, for a complex import with no annotations and 0% schema description coverage, it still omits important context such as permissions, overwrite behavior, and handling of unsupported or malformed files.

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?

Schema coverage is 0%, so the description must explain the 18 parameters, and it does so for many of them: data_key, parametric_axis, stamps_key, sample_rate, start, ticks_per_unit, axes, axis, unit, ons_key, offs_key, times_key, stream, and stamp_column. It leaves some parameters such as name and units unexplained, preventing a top score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: import a .npy/.npz/.mat/.csv file into the store and return its artifact id. It is clear what the tool does, but it does not distinguish this tool from nearby siblings such as register_dataset or export_artifact.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains how to shape series and interval imports, but it does not state when this tool should be used versus alternatives such as register_dataset. There are no explicit preconditions, exclusions, or sibling-routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.