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 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.

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. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only safety, but the description adds real behavioral context beyond them: results are the single best offer per model, non-standard price types and free promos are filtered out by default, and rows carry specific fields. It does not discuss pagination or result ordering ties, but the filtering defaults are the material behavior here.

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 resource and ranking basis, then the input modes, then the filtering rules, then the row shape — a sensible order with no filler. The middle sentence is densely packed with several qualifiers, which is efficient but slightly harder to parse than a split would be.

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?

For a 12-parameter tool with no output schema, the description compensates by enumerating return fields (monthly_cost_usd, prices, context, checked_at, card_url, cite line) and explaining default filtering. The main residual gap is that it never says how ranking ties or empty results behave, but nothing essential for calling it correctly is missing.

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; the description adds value by explaining that a preset "fills tokens, min_context, category" while "your own values win" — a precedence rule the schema does not encode. It also clarifies the default exclusion behavior behind include_free and include_special, though most other parameters are left to the schema.

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 opens with a specific resource and scope: "The cheapest offers for a whole monthly workload, ranked by monthly cost in USD." The "whole monthly workload" framing distinguishes it from per-call/per-token pricing siblings such as cheapest_models or get_model_prices, so an agent can pick it 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 states the two input modes ("give a preset ... and/or your own tokens a month") and routes the agent to workload_presets for preset definitions. It also explains that free promos and batch/flex/priority/regional prices are excluded "unless asked," tying the flags to a use case. It stops short of explicitly naming when to prefer cheapest_models or estimate_cost 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