Skip to main content
Glama

cheapest_for_workload

Read-only

The cheapest offers for a whole monthly workload, ranked by monthly cost in USD: give a preset (a typical job; see list_workload_presets) and/or your own tokens a month. Best offer of each model; free promos and batch/flex/priority/regional prices left out unless asked. Each row: monthly_cost_usd, prices, context, checked_at, card_url and a ready cite line.

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

Input Schema

NameRequiredDescriptionDefault
limitNorows, 10 by default
queryNoonly models or providers matching these words, e.g. claude
toolsNothe model must support tool/function calling
presetNochatbot | coding_agent | rag | summarization | long_context | vision | embedding_index | trial - fills tokens, min_context, category; your own values win
categoryNomodel type, llm by default
min_contextNocontext window needed, tokens, e.g. 128000
include_freeNoalso free / promo offers (default false)
input_tokensNoinput tokens a month, e.g. 10000000
one_per_modelNoonly the best offer of each model (default true)
output_tokensNooutput tokens a month, e.g. 2000000
input_modalityNothe model must accept this input, e.g. image
include_specialNoalso batch, flex, priority, regional prices (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / category / enum
      Previous value: -[
      -  "llm",
      -  "embedding",
      -  "rerank",
      -  "moderation",
      -  "ocr",
      -  "search",
      -  "image_generation",
      -  "image_editing",
      -  "video_generation",
      -  "text_to_speech",
      -  "speech_to_text",
      -  "speech_to_speech",
      -  "audio_generation",
      -  "3d_generation"
      -]New value: +[
      +  "llm",
      +  "embedding",
      +  "rerank",
      +  "moderation",
      +  "decision",
      +  "ocr",
      +  "search",
      +  "image_generation",
      +  "image_editing",
      +  "video_generation",
      +  "text_to_speech",
      +  "speech_to_text",
      +  "speech_to_speech",
      +  "audio_generation",
      +  "3d_generation"
      +]
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries most of the burden and does well: it discloses ranking order, the default exclusion of free promos and special price types, the one-best-offer-per-model default, and the exact row fields returned. It stops short of noting whether results are cached or how 'checked_at' freshness is determined.

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?

Three dense sentences, front-loaded with the core purpose and ranking, then defaults, then return shape. Parentheticals are used efficiently, though the middle sentence packs several defaults together and 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 12 optional parameters and no output schema, the description compensates by enumerating the returned row fields and the default filtering behavior, which is what an agent needs to interpret results. Minor gaps remain around limit/query semantics, but those are covered by the schema itself.

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 description coverage is 100%, so most parameter meaning is already documented. The description adds value by explaining that a preset is 'a typical job' and pointing to list_workload_presets, and by tying include_free/include_special to the exclusion defaults, but it does not clarify how preset-supplied values interact with user-supplied tokens beyond the schema's own note.

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 offers for a whole monthly workload, ranked by monthly cost in USD'), which is meaningfully different from the per-unit orientation implied by siblings like cheapest_offers or get_model_prices. The monthly-workload framing is the distinguishing idea, though the description never names the closest sibling to contrast with explicitly.

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?

Gives clear input guidance ('give a preset ... and/or your own tokens a month') and cross-references list_workload_presets for preset discovery. It also tells the agent when free promos and batch/flex/priority/regional prices are excluded and that they can be requested. What's missing is an explicit statement of when to prefer estimate_cost or cheapest_offers instead.

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