Skip to main content
Glama

OptimToken: AI and Compute Economics

Track LLM Price Changes

track-llm-price-changes
Read-onlyIdempotent

What moved. Every other tool here quotes today's price; this one says whether it has just changed, from the price archive OptimToken keeps (its first day is provenance.trackingStart). Without models it returns the moves of the last 7 days across the catalogue: each model whose quoted price moved by 1% or more, with the price before and after and what the move does to a workload's monthly bill. With models (1-4 names) it returns each model's quoted price since tracking began, change by change. Use it for 'did any LLM price change this week', 'which models got cheaper', 'has the price of X moved since the summer', 'is this price stable enough to budget on'. Each move carries its flags: most models are sold by several hosts and one of them is quoted, so a move flagged hostSwitch is a change of the host quoted, not a repricing, and outlierHost is an outlier listing. The moves with no flag are returned apart, as priceChanges; no flag means none was established, which is not proof that the model maker repriced. There is no fallback for this data: when the archive cannot be read the tool returns an error, never an empty list that would read as 'nothing moved'.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "track-llm-price-changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoWeek's moves: max moves returned in each of the two groups, largest first. History: max changes printed per model, the most recent (structuredContent carries all). Default: 15
modelsNo1-4 model names, for each one's price history since tracking began, e.g. ['Llama 3.3 70B']. Leave out for the week's moves across the catalogue.
providerNoWeek's moves only: one provider's models, by exact name (case-insensitive), e.g. OpenAI, Anthropic, Meta. Not accepted with `models`.
directionNoWeek's moves only: the rises (up) or the falls (down). Not accepted with `models`.
volumePresetNoMonthly request volume: 10k, 100k, or 1m. Default: 100k
useCasePresetNoWorkload the monthly figures are computed for, which sets tokens per request: supportTicket (1.5k in / 500 out), knowledgeQA (2k / 800), meetingSummary (10k / 1.2k), marketingContent (2.5k / 1.8k), codingTask (3k / 2k), invoiceProcessing (1.5k / 600), callSummary (2k / 700), agentWorkflow (6k / 3k). Default: supportTicket
includeFlaggedNoWeek's moves only: false leaves out the moves flagged as a change of quoted host or an outlier listing. Default: true, returned apart in `flaggedMoves`. Not accepted with `models`.

Output Schema

NameRequiredDescriptionDefault
modeYes
errorNo
volumeYes
summaryYes
historiesYes
provenanceNo
resolutionYes
volumeLabelYes
flaggedMovesYes
priceChangesYes
useCaseLabelYes
matchingCountYes
catalogueProvenanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / direction / description
      Previous value: -"Week's moves only: keep the rises (up) or the falls (down). Not accepted with `models`."New value: +"Week's moves only: the rises (up) or the falls (down). Not accepted with `models`."
    • changedInput schema / properties / provider / description
      Previous value: -"Week's moves only: keep one provider's models, by exact name (case-insensitive), e.g. OpenAI, Anthropic, Meta. Not accepted with `models`."New value: +"Week's moves only: one provider's models, by exact name (case-insensitive), e.g. OpenAI, Anthropic, Meta. Not accepted with `models`."
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/open-world, and the description still adds substantive behavior: the data source and its first tracked day, the 1% move threshold, the `hostSwitch` and `outlierHost` flag semantics, the separation of unflagged moves into `priceChanges`, and the explicit no-fallback error policy. The caveat that an unflagged move is not proof of repricing is exactly the kind of judgment an agent needs. Slightly dense, but well beyond the annotation baseline.

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-loads the core differentiator ('What moved') before the detail, and nearly every clause carries operational weight (thresholds, flags, error policy). It is on the long side and the flag explanation is a dense run-on, but there is no filler or repetition.

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?

For a 7-parameter, read-only analytics tool with an output schema, the description covers everything an agent needs to choose a mode, interpret flags, and reason about failure. Return formatting is left to the output schema, which is the right division of labor.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds mode-switching meaning: `models` present switches to full history since tracking began, absent gives the last 7 days across the catalogue, and moves are limited to a 1% threshold. It does not add anything for `limit`, `direction`, `volumePreset` or `useCasePreset` beyond what the schema already spells out, so it stops short of a 5.

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?

Opens with a concrete verb+resource framing ('says whether [the price] has just changed') and explicitly contrasts itself with the rest of the catalogue ('every other tool here quotes today's price'). The two operating modes (catalogue week's moves vs per-model history) are stated precisely, so an agent can tell it apart from compare/estimate siblings 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 Guidelines5/5

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

Names the exact conditions that select each mode ('Without `models`... With `models` (1-4 names)...') and supplies four representative user questions that map onto those modes. It also sets a hard exclusion rule in the parameter docs (provider/direction/includeFlagged not accepted with `models`), leaving little to inference.

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.