Skip to main content
Glama

Cheapest GPU rentals

cheapest_gpu
Read-onlyIdempotent

Cheapest current rental offers for one GPU family (e.g. "H100", "RTX 5090", "b200"), in USD per GPU-hour, cheapest first, one row per provider. pricing_type is "on_demand" (default; can't be interrupted) or "spot" (cheaper, the provider can reclaim the machine). limit: 1-10.

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

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.
limitNoMaximum rows to return, 1-10; 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".
offersYesEach provider's cheapest offer, cheapest 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".
provider_countYesProviders with a current offer of this type.
median_usd_per_hourYesMedian of each provider's cheapest offer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • 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 / limit / description
      Added value: +"Maximum rows to return, 1-10; values outside the range are clamped."
    • 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: +{
      +  "GpuOffer": {
      +    "properties": {
      +      "gpu_name": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The provider's own name for the GPU or instance.",
      +        "title": "Gpu Name"
      +      },
      +      "location": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Region or data center, when the provider reports one.",
      +        "title": "Location"
      +      },
      +      "provider": {
      +        "description": "Provider display name.",
      +        "title": "Provider",
      +        "type": "string"
      +      },
      +      "stale": {
      +        "description": "True if this provider's last sync failed and this is its last known price (up to 3 days old).",
      +        "title": "Stale",
      +        "type": "boolean"
      +      },
      +      "synced_at": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "When this price was last fetched from the provider (ISO 8601, UTC).",
      +        "title": "Synced At"
      +      },
      +      "usd_per_hour": {
      +        "description": "Price in USD per GPU-hour.",
      +        "title": "Usd Per Hour",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "provider",
      +      "usd_per_hour",
      +      "gpu_name",
      +      "location",
      +      "synced_at",
      +      "stale"
      +    ],
      +    "title": "GpuOffer",
      +    "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"
      +  },
      +  "median_usd_per_hour": {
      +    "anyOf": [
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "description": "Median of each provider's cheapest offer.",
      +    "title": "Median Usd Per Hour"
      +  },
      +  "offers": {
      +    "description": "Each provider's cheapest offer, cheapest first.",
      +    "items": {
      +      "$ref": "#/$defs/GpuOffer"
      +    },
      +    "title": "Offers",
      +    "type": "array"
      +  },
      +  "pricing_type": {
      +    "description": "\"on_demand\" or \"spot\".",
      +    "title": "Pricing Type",
      +    "type": "string"
      +  },
      +  "provider_count": {
      +    "description": "Providers with a current offer of this type.",
      +    "title": "Provider Count",
      +    "type": "integer"
      +  },
      +  "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",
      +  "provider_count",
      +  "median_usd_per_hour",
      +  "offers",
      +  "source_url",
      +  "attribution"
      +]
    • changedOutput schema / title
      Previous value: -"cheapest_gpuDictOutput"New value: +"GpuOffers"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnly/idempotent/non-destructive, and the description adds real behavior on top: cheapest-first ordering, one row per provider, USD per GPU-hour, and the spot-vs-on_demand interruption tradeoff. It does not mention caching, staleness of prices, or rate limits, which is the only missing piece.

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?

Front-loaded with the core purpose and the output shape, then qualifiers; no filler sentences. Minor duplication of schema facts (limit range, pricing_type meanings) costs it a point but the text stays compact.

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?

With an output schema present and full param coverage, the description only needs to convey purpose, units, ordering, and cardinality, and it does all four. A note on price freshness or aggregation timing would make it complete for a pricing tool.

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%, so all three parameters are already documented, including descriptions and enum for pricing_type. The description restates the pricing_type distinction and the 1-10 limit rather than adding new semantics, so the baseline 3 applies.

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 ("Cheapest current rental offers for one GPU family") plus units (USD per GPU-hour) and ordering (cheapest first). It is highly specific, but it never names the adjacent siblings (gpu_price_history, gpu_price_forecast, cheapest_model_route), so differentiation is left implicit.

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 implied rather than stated: it is clearly the point-in-time cheapest-offer lookup, and the schema points to list_gpu_families for valid names. There is no explicit "use this instead of gpu_price_forecast/history" guidance or note on when snapshot pricing is inappropriate.

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