Skip to main content
Glama

train_doctor

Audits training environment: CUDA, GPU memory, framework versions, model cache, and anti-cheat baselines (git disabled, .git visibility, network whitelist). Produces structured report, inspects only.

Instructions

训练环境体检——CUDA/显存/框架版本/基座模型缓存四项 + 反作弊基线三项(git 禁用/.git 可见性/网络白名单)结构化报告(只查不装;装环境走 bash tools/train/train-env-init.sh,基座模型手动放置或推理服务拉取)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
enterprise_idYes🔴 企业标识(必填——train-env.json 清单的企业分区)
dataset_mount_pathNo数据集挂载点(可选——反作弊 .git 可见性探测;缺省该项报 fail 给指引)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It explicitly states '只查不装' (read-only, no installation), which discloses the non-destructive nature. It also indicates the tool performs anti-cheating checks (git disabled, .git visibility, network whitelist) that might involve probing. This is good transparency for a diagnostic tool, though it doesn't mention permissions or side effects in detail.

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?

The description is a single, dense sentence but well-structured with dashes and semicolons. It front-loads the purpose and includes behavioral notes. It is concise given the amount of information conveyed, though it could be broken into clearer sections.

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 a diagnostic tool with two parameters and no output schema, the description is fairly complete. It lists what it checks, states it's read-only, and gives installation alternatives. It doesn't mention the return format, but that's not critical. It covers the main aspects an agent needs to call it correctly.

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 documents both parameters with detailed descriptions (enterprise_id as required, dataset_mount_path as optional with purpose). The tool description does not add any additional parameter semantics beyond what the schema provides. Baseline 3 is appropriate.

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?

The description clearly states the tool's purpose as a training environment health check (训练环境体检) and enumerates the specific checks: CUDA, memory, framework version, base model cache, plus three anti-cheating baselines. This is specific and distinguishes it from generic tools. However, it does not explicitly differentiate from sibling tools like train_diagnose or train_status, so it doesn't fully clarify when this one is preferred over those.

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?

The description provides explicit guidance: '只查不装' (only check, don't install) and redirects installation to a specific script (bash tools/train/train-env-init.sh). It also explains the base model handling. This is clear usage guidance, though it doesn't mention alternative MCP tools, so it could be stronger on when to use this vs. train_status or train_diagnose.

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

Deploy Server

Other Tools