Skip to main content
Glama

agent_train_job_create

Snapshot staged sources and start an asynchronous agent 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>",
      "agentSlug": "<agentSlug>",
      "body": "<body>"
    },
    "name": "agent_train_job_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
agentSlugYes
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the write/non-destructive profile is covered. The description adds genuinely new context by noting the job is asynchronous and that sources are snapshotted, but it omits what is returned (presumably a job identifier needed for polling), whether the snapshot is idempotent, and any auth or rate-limit constraints.

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?

A single front-loaded sentence with no filler, and the action plus async nature come first. It is efficient, though its brevity is part of why parameter and follow-up detail are missing.

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?

This is a complex tool - three required parameters, a nested body with four fields, array size limits, and no output schema - yet the description covers none of that. An agent could not determine from this text what to put in body or how to retrieve the resulting job.

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 nested body object carries four undocumented fields (urls, files, driveFiles, targetSlug) with caps and encodings the agent cannot discover from prose. The description only vaguely gestures at 'staged sources' without mapping it to files/urls/driveFiles or explaining workspaceSlug/agentSlug, so it fails to compensate for the coverage gap.

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: it snapshots staged sources and starts an asynchronous agent training job. That is clear on its own, but it never distinguishes itself from the near-identically named sibling train_job_create or from agent_train_job_get/list, which are the natural follow-ups.

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 'staged sources' implicitly signals a prerequisite (sources must be staged before calling), but this is left for the agent to infer. There is no explicit when-to-use vs. alternative guidance, and nothing tells the agent which sibling to call afterward to track the job.

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