Skip to main content
Glama

Price History

price_history
Read-onlyIdempotent

Track one AI model's price and retirement changes across hosts since 2023, see the days behind each shift, and gauge how likely a price move or removal is in the next 90 days.

Instructions

Show one model's price history: every price and retirement date change since 2023 on every host, each with the LiteLLM change behind it, the chance of a price change, retirement or removal in the next 90 days and year, and with date, the prices on that day. Use when the question is about one model over time, a past price, or how likely a price is to move. Not for today's cheapest price of several models (find_models or estimate_cost).

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": {
      "model": "<model>"
    },
    "name": "price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoA day as YYYY-MM-DD: each listing's prices that day and the change that set them
modelYesA model name, for example claude-opus-5.5, or one listing such as bedrock/anthropic.claude-opus-5-5

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.7

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered and the description instead spends its words on payload content — the historical change records, the sourcing ('LiteLLM change behind it'), and probabilistic 90-day/year forecasts. It omits result size/pagination and how ambiguity between a bare model name and a host-qualified listing is resolved, which keeps it short of a 5.

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?

The key scoping and exclusion information is front-loaded and there is no filler; the exclusion clause doubles as routing. The first sentence is a long multi-clause run-on that could be split for faster scanning.

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, return-shape explanation is optional, and the description still summarizes the payload well; usage and alternatives are fully covered. The only residual gap for a 2-param read tool is no note on model-name resolution or empty/missing-history behavior.

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 both parameters already carry descriptions, so the schema does the heavy lifting. The description's 'with `date`, the prices on that day' restates what the schema field description already says, adding no new syntax, format, or edge-case guidance.

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?

Names a specific verb and resource ('Show one model's price history') and enumerates exactly what is returned: price/retirement changes since 2023, the LiteLLM change, and forward-looking risk over 90 days and a year. It explicitly contrasts itself with find_models and estimate_cost, so an agent can route without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives the positive trigger ('one model over time, a past price, or how likely a price is to move') and the exclusion ('Not for today's cheapest price of several models'), naming the two sibling tools that should be used instead. Both sides of the routing decision are covered.

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