Skip to main content
Glama
amanharshx
by amanharshx

training_start

Destructive

Launch a cloud training job for YOLO models on one dataset, validating it upfront to prevent wasted credits. Requires cost confirmation and may overwrite training history.

Instructions

Start a cloud training job from an existing model or official YOLO base checkpoint (state-changing, may cost credits). Trains on exactly one dataset and requires epochs. The dataset is validated immediately, so an unusable dataset is rejected before any compute starts. In checkpoint mode a project model is created first, then the checkpoint's task is checked against the dataset's task server-side when training starts, by which point the model already exists — a mismatch there still leaves that model behind, unrequested, and the error names it so it can be reviewed and deleted (models_delete) if unwanted. Starting is billable immediately: the platform has no cost preview before that, so the projected cost and remaining balance are only reported after the job starts. Training an existing model that already has a recorded run (any status past pending/untrained) replaces that model's status, epoch count, and training result history the instant the new job starts, and that history cannot be recovered afterward; the previously uploaded weights survive. That path requires confirm_history_loss=true in addition to confirm_cost=true. Checkpoint mode never destroys an existing model's history since it always creates a new one, so it never needs confirm_history_loss — its own risk is the possible leftover model described above. An untrained or never-trained model needs no extra confirmation either. Use training_cancel to stop a job that is already running. Requires confirm_cost=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoRun name for callbacks.
batchNoImages per batch: -1 targets about 60% GPU memory, a value between 0 and 1 sets a memory fraction, and a positive integer fixes the image count.
imgszNoTarget input size: square batches normally, or the long-side size with rect=true.
modelYesExisting model ref, or official YOLO base checkpoint such as yolo11n.pt or yolo11n-seg.pt. Checkpoint mode auto-creates a project model.
epochsYesMaximum full passes over the training set.
datasetYesDataset ref by slug, owner/slug, or a ul://owner/datasets/slug URI.
projectYesProject ref that owns the training job and resolved model.
gpu_typeYesCloud GPU type to allocate for training.
train_argsNoAdditional YOLO training arguments passed through to the platform. epochs, imgsz, batch, and name here are silently overridden by the matching top-level input when both are set; data and model are rejected outright if present here.
confirm_costNoMust be true to allow a credit-costing training run. Starting is billable immediately; the platform has no cost preview before that, so the estimated cost and remaining balance are only reported after the job starts.
confirm_history_lossNoMust be true to restart training on an existing model that already has a recorded run. Doing so replaces that model's status, epoch count, and training result history irrecoverably; the previously uploaded weights survive. Not required for an untrained model or for checkpoint mode, which creates a new model instead. Separate from confirm_cost.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.1.15
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / confirm_history_loss / description
      Previous value: -"Must be true to restart training on an existing model that already has a recorded run. Doing so replaces that model's status, epoch count, and per-epoch metric history irrecoverably; the previously uploaded weights survive. Not required for an untrained model or for checkpoint mode, which creates a new model instead. Separate from confirm_cost."New value: +"Must be true to restart training on an existing model that already has a recorded run. Doing so replaces that model's status, epoch count, and training result history irrecoverably; the previously uploaded weights survive. Not required for an untrained model or for checkpoint mode, which creates a new model instead. Separate from confirm_cost."
    • removedInput schema / properties / dataset / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  }
      -]
    • changedInput schema / properties / dataset / description
      Previous value: -"Dataset ref by slug, owner/slug, or a ul://owner/datasets/slug URI, or a list of refs to fine-tune on sequentially."New value: +"Dataset ref by slug, owner/slug, or a ul://owner/datasets/slug URI."
    • addedInput schema / properties / dataset / type
      Added value: +"string"
    • addedInput schema / properties / epochs / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / epochs / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / epochs / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / required
      Previous value: -[
      -  "model",
      -  "project",
      -  "dataset",
      -  "gpu_type"
      -]New value: +[
      +  "model",
      +  "project",
      +  "dataset",
      +  "gpu_type",
      +  "epochs"
      +]
  2. Changed6 schema fields changedv0.1.13
    • addedInput schema / properties / batch / description
      Added value: +"Images per batch: -1 targets about 60% GPU memory, a value between 0 and 1 sets a memory fraction, and a positive integer fixes the image count."
    • changedInput schema / properties / dataset / description
      Previous value: -"Dataset ref by slug, owner/slug, or ul:// URI, or a list of refs to fine-tune on sequentially."New value: +"Dataset ref by slug, owner/slug, or a ul://owner/datasets/slug URI, or a list of refs to fine-tune on sequentially."
    • addedInput schema / properties / epochs / description
      Added value: +"Maximum full passes over the training set."
    • addedInput schema / properties / imgsz / description
      Added value: +"Target input size: square batches normally, or the long-side size with rect=true."
    • addedInput schema / properties / name / description
      Added value: +"Run name for callbacks."
    • addedInput schema / properties / train_args / description
      Added value: +"Additional YOLO training arguments passed through to the platform. epochs, imgsz, batch, and name here are silently overridden by the matching top-level input when both are set; data and model are rejected outright if present here."
  3. Changed5 schema fields changedv0.1.12
    • changedInput schema / properties / confirm_cost / description
      Previous value: -"Must be true to allow a credit-costing training run."New value: +"Must be true to allow a credit-costing training run. Starting is billable immediately; the platform has no cost preview before that, so the estimated cost and remaining balance are only reported after the job starts."
    • addedInput schema / properties / confirm_history_loss
      Added value: +{
      +  "description": "Must be true to restart training on an existing model that already has a recorded run. Doing so replaces that model's status, epoch count, and per-epoch metric history irrecoverably; the previously uploaded weights survive. Not required for an untrained model or for checkpoint mode, which creates a new model instead. Separate from confirm_cost.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / dataset / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / dataset / description
      Previous value: -"Dataset ref used as training data for the job."New value: +"Dataset ref by slug, owner/slug, or ul:// URI, or a list of refs to fine-tune on sequentially."
    • removedInput schema / properties / dataset / type
      Removed value: -"string"
  4. Changed6 schema fields changedv0.1.6
    • addedInput schema / properties / confirm_cost / description
      Added value: +"Must be true to allow a credit-costing training run."
    • addedInput schema / properties / dataset / description
      Added value: +"Dataset ref used as training data for the job."
    • addedInput schema / properties / gpu_type / description
      Added value: +"Cloud GPU type to allocate for training."
    • addedInput schema / properties / model / description
      Added value: +"Existing model ref, or official YOLO base checkpoint such as yolo11n.pt or yolo11n-seg.pt. Checkpoint mode auto-creates a project model."
    • addedInput schema / properties / project / description
      Added value: +"Project ref that owns the training job and resolved model."
    • addedInput schema / properties / train_args
      Added value: +{
      +  "additionalProperties": {},
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
  5. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and openWorldHint=true; the description goes far beyond them, disclosing that billing starts immediately with no cost preview, that dataset validation rejects unusable data before compute, that history replacement is irrecoverable while uploaded weights survive, and that checkpoint mode can leave an orphan model behind. This is exactly the destructive/auth/cost context annotations cannot express.

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?

Front-loaded with purpose and requirements, and every section carries real information about a genuinely complex destructive operation. It is dense and mildly repetitive (the cost-without-preview and history-loss points are each re-stated), which keeps it from a 5.

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

Completeness5/5

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

Complete for an 11-parameter destructive tool with no output schema: it covers billing timing, confirmation flags, the task-mismatch orphan-model risk with a recovery path (models_delete), and the sibling used to cancel. Nothing an agent needs to invoke it safely is missing.

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 description coverage is 100%, so the baseline is 3; the description still adds value by explaining the conditional requirement of confirm_history_loss (not needed for untrained models or checkpoint mode) beyond the schema's own text, though it largely restates the confirm_cost meaning already in the schema.

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+resource ("Start a cloud training job") and enumerates the two input modes (existing model vs official YOLO base checkpoint). An agent can distinguish this from training_cancel, training_monitor, and model_predict without opening any schema.

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?

Clearly routes the opposite action ("Use training_cancel to stop a job that is already running") and specifies the confirmation conditions that gate each path (confirm_cost always, confirm_history_loss only for re-training a model with a recorded run). It stops short of an explicit 'do not call this when...' exclusion list, but the context for use is unambiguous.

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