Skip to main content
Glama

Find the cheapest available GPU

get_market_snapshot
Read-only

Check a GPU configuration once or in a client-scheduled availability watch: cheapest listed and freshly observed in-stock offers for one GPU model and exact GPU count, with whole-node/per-GPU hourly USD price, observation time, provider and region. Optional provider and exact provider-reported region filters run before regional aggregation and are echoed in filters. Compare snapshots in client-owned state; ignore timestamp-only changes. The server does not schedule checks or send notifications. One data unit per call; get_usage is free. Stock is not a launch guarantee.

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>",
      "context": "<context>"
    },
    "name": "get_market_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
gpuYesGPU model name, case-insensitive, e.g. "H100", "RTX 4090". See list_gpus.
countNoGPUs per node. Prices are for the whole node. Defaults to 1.
regionNoExact provider-reported region, case-insensitive (e.g. Japan or eu-north1). Obtain labels from get_prices. Not a broad Europe/Asia filter or a placement guarantee.
contextYesA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
providerNoProvider name or slug, e.g. "runpod", "lambda". See list_providers.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as \"a customer\". Do not quote the user or include names, emails, or other personal details.",
      +  "type": "string"
      +}
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "The model identifier you are running as, for example \"claude-opus-4-8\" or \"gpt-5.2\". Pass \"unknown\" if you are not certain. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "gpu"
      -]New value: +[
      +  "gpu",
      +  "context"
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / provider
      Added value: +{
      +  "description": "Provider name or slug, e.g. \"runpod\", \"lambda\". See list_providers.",
      +  "maxLength": 100,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / region
      Added value: +{
      +  "description": "Exact provider-reported region, case-insensitive (e.g. Japan or eu-north1). Obtain labels from get_prices. Not a broad Europe/Asia filter or a placement guarantee.",
      +  "maxLength": 100,
      +  "minLength": 1,
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / count / description
      Added value: +"GPUs per node. Prices are for the whole node. Defaults to 1."
    • addedInput schema / properties / gpu / description
      Added value: +"GPU model name, case-insensitive, e.g. \"H100\", \"RTX 4090\". See list_gpus."
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, non-destructive, non-idempotent, closed-world), the description discloses cost/billing behavior ('One data unit per call; get_usage is free'), the absence of server-side scheduling or notifications, filter evaluation order (filters run before regional aggregation and are echoed in filters), and the caveat that stock is not a launch guarantee. These are exactly the behavioral traits annotations cannot convey.

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?

It is front-loaded with the core operation and result shape, then caveats, with essentially no filler sentences. The single dense paragraph packs several distinct ideas (filters, aggregation order, billing, no notifications) that could be structured as short clauses for faster scanning, which keeps it just under top marks.

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

Completeness5/5

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

There is no output schema, and the description compensates by enumerating what comes back (cheapest listed and in-stock offers, whole-node/per-GPU hourly USD price, observation time, provider, region, echoed filters). Given the tool's read-only, single-configuration scope, an agent has everything needed to call it correctly and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage the baseline is 3, and the description adds genuine meaning on top: provider and region are applied before regional aggregation and echoed back, price is whole-node hourly USD with count being GPUs per node, and the designated 'exact provider-reported region' is not a broad continent filter. It does not explain the analytics-only parameters, but the schema already does so thoroughly.

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

Purpose5/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 — checking a single GPU model/count configuration for the cheapest in-stock offer — and pins the scope with 'one GPU model and exact GPU count' plus the returned fields (whole-node/per-GPU hourly USD price, observation time, provider, region). It also implicitly separates itself from the sibling price/availability tools by distinguishing 'cheapest listed' from 'freshly observed in-stock' offers, so an agent can tell what this returns without opening the schema.

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?

It gives real usage context: call once or in a client-scheduled watch loop, compare snapshots in client-owned state, ignore timestamp-only changes, and note that the server itself never schedules checks or sends notifications. What is missing is an explicit routing statement such as when to prefer get_availability or get_prices over this snapshot, though the 'cheapest listed vs freshly observed' distinction and 'get_usage is free' aside partly cover that.

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.