Skip to main content
Glama

train_job_create

Snapshot staged sources and start an asynchronous training job

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": {
      "workspaceSlug": "<workspaceSlug>",
      "body": "<body>"
    },
    "name": "train_job_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only declare it is a non-read-only, non-destructive, closed-world mutation. The description adds two genuinely useful behavioral facts beyond that: the job runs asynchronously (so the caller must poll) and sources are snapshotted at creation time, meaning later source changes do not affect the run. It omits auth requirements and any notion of quotas or item limits.

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?

A single ten-word sentence with the action front-loaded and zero filler. Both clauses ('snapshot staged sources', 'asynchronous') carry information the caller needs.

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

Completeness2/5

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

There is no output schema, yet the description never says a job identifier is returned or how to follow the job's progress. Combined with zero parameter documentation for a nested body and an async mutation, key information an agent needs to call and then use this tool is missing.

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 description coverage is 0% and the body is a nested object with four distinct source channels (urls, files, driveFiles, targetSlug) plus an encoding enum. The description's 'staged sources' gestures at the source inputs but says nothing about targetSlug, the per-array caps (25/200/200), filename/content pairing, or encoding, so the agent must infer all parameter meaning from raw schema structure.

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+resource pair ('start an asynchronous training job') plus the side effect of snapshotting staged sources. That is enough to separate it from the get/list siblings, which read rather than create jobs, though no sibling is named explicitly.

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 phrase 'snapshot staged sources' implies the prerequisite that sources must already be staged, presumably via the upload-session tools. There is no explicit when-to-use vs when-not guidance, no note on polling via train_job_get after the async start, and no mention of what happens if sources are missing.

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.