Skip to main content
Glama

View GPU price history

get_price_history
Read-only

Show how one GPU model's price changed month by month per provider: on-demand and spot USD per whole node hour for up to 12 UTC months. Pages default to 20 rows, maximum 100; each page costs one data unit. Reuse the same filters and page limit with nextCursor.

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_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
gpuYesGPU model name, case-insensitive, e.g. "H100", "RTX 4090". See list_gpus.
pageNoPagination. Omit for the first page.
countNoGPUs per node. Prices are for the whole node. Defaults to 1.
monthsNoUTC months of history per provider, 1-12. Defaults to 12.
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.
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. Changed6 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."
    • addedInput schema / properties / months / description
      Added value: +"UTC months of history per provider, 1-12. Defaults to 12."
    • addedInput schema / properties / page / description
      Added value: +"Pagination. Omit for the first page."
    • addedInput schema / properties / page / properties / cursor / description
      Added value: +"nextCursor from the previous page. Reuse the same filters and limit."
    • addedInput schema / properties / page / properties / limit / description
      Added value: +"Rows per page, 1-100. Defaults to 20."
  3. 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 safety (readOnly, non-destructive, closed-world), so the description earns credit for adding what they don't: each page costs one data unit, defaults of 20 rows, a 100-row cap, and the requirement to reuse the same filters and limit when following nextCursor. It still says nothing about quota exhaustion, rate limits, or the significance of idempotentHint=false on a query tool.

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 sentences, no filler, with the core scope front-loaded and pagination cost/constraints packed into the second. The cost of that density is a slightly clipped telegraphic style and a small redundancy restating the schema's page defaults.

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 no output schema, the description carries the return-shape burden and does so adequately: per-provider, per-month, on-demand and spot, USD per node hour. Given seven parameters including a nested page object, an agent has enough to call it correctly; what's missing is row ordering, provider coverage, and behavior when a provider has no history in the window.

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 the baseline is 3. The description does add some meaning the schema lacks — prices are per whole node hour (tying to the count parameter) and the 12-month UTC window — but it repeats the 20/100 paging defaults that the schema already states verbatim rather than clarifying cursor semantics beyond what's documented.

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 states a specific verb and resource — showing how one GPU model's price changed month by month per provider — plus the units (on-demand and spot USD per whole node hour) and the horizon (up to 12 UTC months). The history/time-series framing implicitly separates it from get_prices and get_market_snapshot, but it never names a sibling explicitly.

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: an agent can infer this is for historical trends rather than a current snapshot, but there is no explicit 'use this instead of get_prices when…' statement and no stated exclusions or prerequisites. For a sibling set with three overlapping price tools, leaving that routing to inference is a real gap.

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.