Skip to main content
Glama

get_quote

Get a fixed price and time range for a fine-tuning job from a full job spec, or an approximate quote from model and data size without an account or uploaded data.

Instructions

Get a price and time range for a fine-tuning job. With a full job spec (and an uploaded dataset) this is the fixed price the job would start at. Without a spec it is an approximate price from the model and the data size (training_tokens, or examples and avg_chars), with no account or data needed.

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

Input Schema

NameRequiredDescriptionDefault
specNoA full job spec; gives the fixed price
modelNo
epochsNo
examplesNo
algorithmNo
avg_charsNoAverage characters per example
objectiveNo
residencyNo
dataset_tokensNoTokens in one pass over the data
training_tokensNoAll training tokens, epochs included

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does useful work: it distinguishes a fixed price from an approximate one and notes the approximate path needs 'no account or data'. That is meaningful behavioral context for a cost-estimation tool. It does not cover rate limits, error conditions, or what the time range represents (queue vs training).

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

Conciseness5/5

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

Two tight sentences, purpose front-loaded, followed by the mode distinction. No filler and no repetition of schema structure.

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?

Given 10 parameters, nested objects, no output schema, and no annotations, the description conveys the essential mental model (two modes) and the return content (price and time range). Remaining gaps around parameter interplay and error behavior are notable but not blocking for a read-only estimation call.

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 only 40% across 10 params and nested objects, so the description must compensate. It does clarify the data-size alternatives ('training_tokens, or examples and avg_chars') and the role of spec ('a full job spec; gives the fixed price'). However, model, epochs, algorithm, objective, residency, and dataset_tokens are unaddressed in both description and schema, leaving real gaps.

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: 'Get a price and time range for a fine-tuning job.' That is clearly distinguishable from siblings like get_balance, get_job, or start_job. It does not explicitly name a sibling it is not, so a 4 rather than 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 Guidelines4/5

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

Explains the two calling modes well: with a full spec (and uploaded dataset) you get the fixed starting price; without a spec you get an approximate estimate from model and data size. That is effective when-to-use guidance. It stops short of stating prerequisites such as needing upload_dataset first for the exact path, or alternatives for checking a dataset beforehand.

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