Skip to main content
Glama

site

Training run cost calculator

calculate

Run the Training run cost calculator calculator: GPU-hours for one run; Cost of one run; Cost of every run you budgeted. Missing inputs fall back to their documented defaults.

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": "calculate"
  }
}

Input Schema

NameRequiredDescriptionDefault
gpusNoGPUs running at once
rateNoPrice per GPU-hour, in US dollars
runsNoRuns you will pay for, restarts included
hoursNoWall-clock hours per run

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.2/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does disclose that omitted inputs use documented defaults (a genuinely useful trait) and describes the three computed outputs, but it says nothing about units, rounding, precision, error conditions, or whether the tool is read-only/pure computation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Short, but the opening clause is wasted on a duplicated "calculator calculator" restatement of the title. A semicolon-separated list of outputs is serviceable, but the lead sentence is not front-loaded with a real purpose.

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?

A simple, pure-computation tool with 4 fully documented optional parameters and no output schema should have its return values explained. The description lists three output names but not their units or format, and there are no annotations to compensate.

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 coverage is 100% and all four parameters (gpus, rate, runs, hours) are documented with defaults, ranges, and units, so the schema does the heavy lifting. The description adds only the fallback-to-defaults rule, which is already implied by the schema defaults, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says "Run the Training run cost calculator calculator," which largely restates the title and is marred by a duplicated word ("calculator calculator"). It does list three outputs (GPU-hours for one run, cost of one run, cost of all budgeted runs), which hints at purpose, but no clear verb+resource statement distinguishes it from siblings like calculator_describe.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No when-to-use guidance, no when-not-to-use, and no alternatives are named. The only usage-adjacent sentence is "Missing inputs fall back to their documented defaults," which explains behavior rather than tool selection.

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