Skip to main content
Glama

Fine-tuning run cost

calculate

Run the Fine-tuning run cost calculator: GPU hours billed; Estimated run cost. 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
gpusNoNumber of GPUs in the run
rateNoRate per GPU hour
hoursNoHours the run takes

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?

No annotations are supplied, so the description carries the burden. It usefully discloses that absent inputs fall back to documented defaults and names the two output figures, which compensates for the missing output schema. It does not state that the tool is a side-effect-free calculation (no persistence, no billing actually incurred), leaving the mutation question open.

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

Conciseness3/5

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

It is short and front-loaded with the action, which is good. However, the semicolon-delimited fragments "GPU hours billed; Estimated run cost" read as a clipped keyword dump rather than structured prose, forcing the reader to work out whether they are inputs or outputs.

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

Completeness3/5

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

For a simple three-parameter, all-optional arithmetic tool with no output schema, the definition covers the essentials: what is computed, what is returned, and how blanks are handled. It stops short of describing output units or confirming the operation has no side effects, which an agent would still want before invoking it unattended.

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% and every parameter has a description with type, range, and default, so the schema already does the heavy lifting. The description only indirectly touches the parameters through the phrase "GPU hours billed," and never mentions the rate input. 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 names a specific verb and resource ("Run the Fine-tuning run cost calculator") and enumerates what it produces (GPU hours billed; estimated run cost), so its function is unambiguous. It does not differentiate itself from the sibling calculator_describe, which is the only thing keeping it from a 5.

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?

There is no explicit statement of when to call this vs. an alternative, and no prerequisites or exclusion conditions. The only usage-adjacent information is the note that missing inputs use defaults, which is a calling convention rather than guidance on tool selection. An agent must infer that this is the compute action belonging to calculator_describe.

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