Skip to main content
Glama
human-voice-writer
by Zelto-ai

voice_train

Fine-tune a small local LLM on your own writing using MLX or local NVIDIA hardware. Set epochs, rank, and learning rate, then poll the job status to track training progress.

Instructions

LoRA fine-tune on this machine only (MLX or local NVIDIA). base_model is a catalog id (tiny, tiny-q3, small, small-alt, medium, medium-alt, large); default comes from the hardware. Refuses models that are not practical here. wait=false returns a job id (poll voice_status).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
rankNo
waitNo
epochsNo
base_modelNo
learning_rateNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/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 real behavior: local-only execution, hardware-derived default model, refusal of impractical models, and the async job-id return path. It omits what an agent most needs for a training run — required input data, expected duration/resource cost, whether an existing voice model is overwritten, and failure behavior.

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?

Four tight sentences, front-loaded with the scope constraint and followed by parameter notes and the async branch; nothing reads as filler. The inline catalog list is long but justified because the schema exposes no enum, though 'q3' and 'alt' abbreviations are left unexplained and slightly reduce clarity.

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?

An output schema exists, so return-value explanation is not required, and the description still usefully covers the job-id case. However, for a five-parameter training tool with zero schema documentation, missing prerequisites, cost/duration expectations, and three undocumented hyperparameters leave the definition only partially complete.

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

Parameters2/5

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

Schema coverage is 0% with five parameters, so the description must compensate, and it only covers two: base_model (catalog ids and hardware-derived default, valuable since the schema declares no enum) and wait (job-id return). rank, epochs, and learning_rate are left entirely undefined in both schema and description, which is a significant gap for a tuning tool where those knobs matter.

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 ('LoRA fine-tune') plus a hard scope constraint ('on this machine only (MLX or local NVIDIA)'), which separates it from any remote/hosted training path. It also names the follow-up sibling ('poll voice_status') for the async case, so an agent can place the tool in the workflow without opening the 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?

Gives clear operative guidance: default blocking behavior versus 'wait=false returns a job id (poll voice_status)', plus a precondition-style warning that impractical models are refused. It stops short of naming prerequisites such as having training pairs prepared (voice_add_pairs/voice_prepare), so the when-to-use context is clear but not exhaustive.

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