Skip to main content
Glama

create_split_manifest

Save reproducible row indices and a dataset fingerprint before training. Use the returned ID with compatible training tools and keep test rows out of tuning.

Instructions

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "create_split_manifest"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDataset filename.
val_sizeNoValidation fraction (default 0); test_size + val_size < 1.
delimiterNoCSV delimiter (comma, semi, tab, pipe). Auto.
row_orderNoSplit chronologically by original row order.
task_typeNo'classification' or 'regression' (default classification).
test_sizeNoFraction of data for test holdout (default 0.2).
split_typeNorandom (default), stratified (pass stratify_column), group (requires group_column), or time (requires time_column or row_order=true). grouped and time_series are aliases.
time_columnNoColumn for time-based splitting.
group_columnNoColumn to group splits by (groups stay together).
random_stateNoRandom seed for reproducibility (default 42).
stratify_columnNoColumn to stratify splits by.
protected_holdoutNoKeep test set as protected holdout (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.4
    • changedInput schema / properties / split_type / description
      Previous value: -"Split strategy: random, stratified, grouped, time_series."New value: +"random (default), stratified (pass stratify_column), group (requires group_column), or time (requires time_column or row_order=true). grouped and time_series are aliases."
    • changedInput schema / properties / val_size / description
      Previous value: -"Fraction of data for validation (default 0.0)."New value: +"Validation fraction (default 0); test_size + val_size < 1."
  2. Changed11 schema fields changed
    • addedInput schema / properties / delimiter
      Added value: +{
      +  "description": "CSV delimiter (comma, semi, tab, pipe). Auto.",
      +  "type": "string"
      +}
    • changedInput schema / properties / group_column / description
      Previous value: -"Column to split by groups (group split)."New value: +"Column to group splits by (groups stay together)."
    • changedInput schema / properties / protected_holdout / description
      Previous value: -"Treat test set as protected holdout (default true)."New value: +"Keep test set as protected holdout (default true)."
    • changedInput schema / properties / random_state / description
      Previous value: -"Random seed (default 42)."New value: +"Random seed for reproducibility (default 42)."
    • addedInput schema / properties / row_order
      Added value: +{
      +  "description": "Split chronologically by original row order.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / split_type / description
      Previous value: -"'random', 'stratified', 'group', or 'time'."New value: +"Split strategy: random, stratified, grouped, time_series."
    • changedInput schema / properties / stratify_column / description
      Previous value: -"Column to stratify by (stratified split)."New value: +"Column to stratify splits by."
    • addedInput schema / properties / task_type
      Added value: +{
      +  "description": "'classification' or 'regression' (default classification).",
      +  "type": "string"
      +}
    • changedInput schema / properties / test_size / description
      Previous value: -"Test fraction (default 0.2)."New value: +"Fraction of data for test holdout (default 0.2)."
    • changedInput schema / properties / time_column / description
      Previous value: -"Column to order by (time split)."New value: +"Column for time-based splitting."
    • changedInput schema / properties / val_size / description
      Previous value: -"Validation fraction (default 0.0)."New value: +"Fraction of data for validation (default 0.0)."
  3. Added

TDQS

A4.4/5.0
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 meaningful behavior: the tool persists a durable artifact with a fingerprint, returns an ID for reuse elsewhere, and by implying protected test rows it signals non-destructive intent toward the dataset. It does not state what happens on a duplicate 'name', whether an existing manifest can be overwritten, or where the manifest is stored — relevant gaps for an unannotated write tool.

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?

Three tight sentences, front-loaded with what the tool produces, then the downstream handoff, then the read-only alternative. Every sentence carries distinct information and none repeats the schema or annotations.

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?

For a 12-parameter persistence tool with no annotations and no output schema, the description covers creation semantics, the key return value (the ID), and the sibling routing. It stops short of describing the manifest's contents beyond 'row indices and fingerprint' or its failure modes, which an agent would want before relying on it in a pipeline.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all twelve parameters are already documented in the schema, which sets the baseline at 3. The description adds only indirect meaning — that the resulting ID is consumed as split_manifest_id elsewhere, and that test rows must stay out of tuning, which shadows test_size and protected_holdout — but gives no extra guidance on split_type interactions or the stratify/group/time column requirements.

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?

States a specific verb and resource — 'Save reproducible row indices and a dataset fingerprint' — and adds the purpose ('before training'), so the agent knows exactly what artifact is produced. It is cleanly distinguished from the sibling validate_split_manifest, which it explicitly names as the read-only alternative.

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

Usage Guidelines5/5

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

Gives explicit sequencing ('before training'), an explicit downstream handoff ('Pass the returned ID as split_manifest_id to compatible training tools'), a usage constraint ('keep test rows out of tuning'), and names the alternative tool with the condition that selects it ('validate_split_manifest to check a saved split without rewriting it'). Nothing about when-to-use is left to inference.

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