Skip to main content
Glama

GPU price history

gpu_price_history
Read-onlyIdempotent

Daily price history for one GPU family: each day's median across providers of each provider's cheapest offer (USD per GPU-hour). days: 1-90.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "gpu": "<gpu>"
    },
    "name": "gpu_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
gpuYesGPU family name, case-insensitive; aliases work (e.g. "H100", "rtx 5090", "5090", "b200"). Call list_gpu_families for the full list.
daysNoHow many days back, 1-90; values outside the range are clamped.
pricing_typeNo"on_demand" (fixed price, can't be interrupted) or "spot" (cheaper; the provider can reclaim the machine).on_demand

Output Schema

NameRequiredDescriptionDefault
unitYesAlways "USD per GPU-hour".
historyYesOne row per day, oldest first.
gpu_familyYesCanonical GPU family the request resolved to.
source_urlYesMatching cheap-gpus.com page for this result.
attributionYesData source credit.
pricing_typeYes"on_demand" or "spot".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / days / description
      Added value: +"How many days back, 1-90; values outside the range are clamped."
    • addedInput schema / properties / gpu / description
      Added value: +"GPU family name, case-insensitive; aliases work (e.g. \"H100\", \"rtx 5090\", \"5090\", \"b200\"). Call list_gpu_families for the full list."
    • addedInput schema / properties / gpu / examples
      Added value: +[
      +  "H100",
      +  "RTX 5090"
      +]
    • addedInput schema / properties / pricing_type / description
      Added value: +"\"on_demand\" (fixed price, can't be interrupted) or \"spot\" (cheaper; the provider can reclaim the machine)."
    • addedInput schema / properties / pricing_type / enum
      Added value: +[
      +  "on_demand",
      +  "spot"
      +]
    • addedOutput schema / $defs
      Added value: +{
      +  "GpuHistoryDay": {
      +    "properties": {
      +      "day": {
      +        "anyOf": [
      +          {
      +            "format": "date",
      +            "type": "string"
      +          },
      +          {
      +            "type": "string"
      +          }
      +        ],
      +        "description": "Calendar day (UTC).",
      +        "title": "Day"
      +      },
      +      "median_usd_per_hour": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "That day's median across providers of each provider's cheapest offer, USD per GPU-hour.",
      +        "title": "Median Usd Per Hour"
      +      },
      +      "provider_count": {
      +        "description": "Providers with a price that day.",
      +        "title": "Provider Count",
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "day",
      +      "median_usd_per_hour",
      +      "provider_count"
      +    ],
      +    "title": "GpuHistoryDay",
      +    "type": "object"
      +  }
      +}
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / properties
      Added value: +{
      +  "attribution": {
      +    "description": "Data source credit.",
      +    "title": "Attribution",
      +    "type": "string"
      +  },
      +  "gpu_family": {
      +    "description": "Canonical GPU family the request resolved to.",
      +    "title": "Gpu Family",
      +    "type": "string"
      +  },
      +  "history": {
      +    "description": "One row per day, oldest first.",
      +    "items": {
      +      "$ref": "#/$defs/GpuHistoryDay"
      +    },
      +    "title": "History",
      +    "type": "array"
      +  },
      +  "pricing_type": {
      +    "description": "\"on_demand\" or \"spot\".",
      +    "title": "Pricing Type",
      +    "type": "string"
      +  },
      +  "source_url": {
      +    "description": "Matching cheap-gpus.com page for this result.",
      +    "title": "Source Url",
      +    "type": "string"
      +  },
      +  "unit": {
      +    "description": "Always \"USD per GPU-hour\".",
      +    "title": "Unit",
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "gpu_family",
      +  "pricing_type",
      +  "unit",
      +  "history",
      +  "source_url",
      +  "attribution"
      +]
    • changedOutput schema / title
      Previous value: -"gpu_price_historyDictOutput"New value: +"GpuHistory"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still earns credit by disclosing the aggregation method (median across providers of each provider's cheapest offer) and the unit (USD per GPU-hour), which an agent cannot infer from annotations and needs to interpret results.

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 compact sentences, front-loaded with the resource and metric definition. Slight waste in repeating the 'days: 1-90' constraint that the schema already documents.

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?

An output schema exists, so return-shape explanation is unnecessary; the description correctly focuses on defining the computed metric, which is the main interpretive risk. Minor gaps remain around granularity/timezone and what a day with no offers yields, but nothing essential 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 coverage is 100% and each parameter already carries a description, enum, and default, so the baseline is 3. The description only restates the days range (1-90) and adds no new meaning for gpu or pricing_type beyond what the schema provides.

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+resource ('Daily price history for one GPU family') and defines the metric precisely as each day's median across providers of each provider's cheapest offer in USD per GPU-hour. This clearly separates it from forecasting-oriented siblings, though it never names gpu_price_forecast as the alternative for forward-looking data.

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?

Usage is only implied: the word 'history' signals retrospective lookup, but there is no explicit statement of when to use this versus gpu_price_forecast or cheapest_gpu. No prerequisites or exclusions are given.

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