Skip to main content
Glama

Checkpoint Interval Advisor

recommend_checkpoint_interval
Read-onlyIdempotent

Recommends how often to checkpoint a training job using the Young and Daly formulas, from GPU count, blocking checkpoint write time, restart time and job MTTF (estimated from Meta's published 2024 reliability data when not given). Returns the recommended interval, expected failures per day, GPU time wasted per day at the recommended and current intervals, and the daily saving.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gpu_countYesGPUs in the training job.
job_mttf_hoursNoMeasured mean time between job-interrupting failures for a job this size, in hours. If omitted, it is estimated from Meta's published 2024 cluster reliability data.
restart_minutesNoTime from a failure to training resuming: detection, rescheduling, process start and checkpoint load, in minutes. Default 20.
gpu_hour_cost_usdNoCost per GPU-hour in USD. Default 2.75.
checkpoint_write_minutesYesTime training is blocked while a checkpoint is written, in minutes. With asynchronous checkpointing, use only the blocking part.
current_interval_minutesNoCurrent checkpoint interval in minutes, to compare against the recommendation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-open-world), so the bar is lower; the description still adds real context by disclosing the MTTF fallback to 'Meta's published 2024 reliability data' and the async-checkpointing caveat. It doesn't cover error conditions, but for a pure computation tool that is minor.

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 sentences, front-loaded with the purpose and method, followed by a compact enumeration of return values. The second sentence is dense but every listed output earns its place given there is no output schema.

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

Completeness5/5

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

With no output schema, the description carries the full burden of describing returns and does so completely: recommended interval, expected failures per day, GPU time wasted at recommended vs current intervals, and daily saving. Inputs are fully documented in the schema, so nothing needed for correct invocation is missing.

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 all six parameters are already documented with ranges and defaults; baseline is 3. The description names GPU count, checkpoint write time, restart time and MTTF as the driving inputs and restates the MTTF fallback, adding marginal but not new detail.

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 (recommends), resource (checkpoint interval for a training job) and the underlying method (Young and Daly formulas). It is unmistakably distinct from siblings like analyze_nccl_benchmark or calculate_fabric_degradation_cost without needing to open 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 Guidelines3/5

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

The description implies usage (plan checkpointing for a training job given GPU count, write time, restart time, MTTF) but never states when to prefer this tool, when not to use it, or names an alternative. The MTTF-estimation fallback is the only conditional guidance offered.

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