Skip to main content
Glama

lumoz_train_image_model

Train a custom photorealistic or artistic LoRA image model (FLUX.1-dev or SDXL) on user-supplied dataset images with a unique trigger word. Can automatically ingest image URLs/base64 and start training immediately, or initialize a project.

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>",
      "trigger_word": "<trigger_word>"
    },
    "name": "lumoz_train_image_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the custom model (e.g. "Vintage Cyberpunk Style" or "Acme Running Shoes").
stepsNoNumber of training iterations (500 to 2500, default: 1000).
imagesNoArray of image URLs, Cloudflare R2 URLs, or base64 data URIs ("data:image/...;base64,...") to use as training dataset (minimum 5 images, recommended 10–20).
auto_startNoWhether to immediately launch GPU training once dataset images are ingested (default: true if images provided).
base_modelNoBase model architecture. "flux-dev" produces state-of-the-art detail and typography ($3.50), "sdxl" is fast and lightweight ($2.00).flux-dev
descriptionNoOptional descriptive summary of the model behavior and aesthetic.
trigger_wordYesUnique uppercase token or trigger word used during generation (e.g. "VNTGCYBER", "ACMESHOE", "OHWX").
training_typeNoTraining objective category: "subject" for people/characters/faces, "style" for visual aesthetics/art styles, "product" for objects/branding.subject

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose that image URLs/base64 are ingested and training auto-starts, but it omits that this is a paid, long-running GPU job, whether training is asynchronous, and how progress is tracked (presumably via lumoz_check_training_status). Costs are only visible in the schema, not the description.

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?

Two tight sentences with the core action front-loaded and the mode distinction following. Little waste, though the second sentence's 'or initialize a project' is slightly ambiguous without naming what project initialization produces.

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 an eight-parameter but fully schema-documented tool with no output schema, the description covers the essentials: what is trained, on what data, and the two modes. The main gap is what the caller gets back (a job/project handle) and that training is asynchronous and billable.

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 the schema already explains all eight parameters, including defaults, enums, and costs. The description only reinforces the trigger word and base-model choices without adding syntax or format detail beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource: training a custom LoRA image model (FLUX.1-dev or SDXL) from user-supplied images with a trigger word. It is clear what the tool does, but it does not name the overlapping siblings it must be distinguished from (lumoz_start_image_training, lumoz_add_training_images), even though its 'ingest images and start training' mode sounds like both.

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

Usage Guidelines3/5

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

The description implies two usage modes ('start training immediately' vs 'initialize a project'), which gives some sense of when to call it. However, there is no explicit guidance on when to choose this tool over lumoz_start_image_training or lumoz_add_training_images, and no stated prerequisites.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources