Skip to main content
Glama

recommend_models

Recommend the best-value AI models for given constraints, ranked with receipts.

The core answer endpoint: give it constraints and it returns the top models
ranked by Cost/IQ (quality-adjusted price, lower is better), each with a
plain-English 'why', a hot-swap endpoint_config (provider base_url + native
model id, ready to call), as-of timestamps, and runner-ups.

Args:
    budget_max_usd_per_m: Max blended price $/M (optional).
    context_min: Minimum context window in tokens (optional).
    modality: 'text' (default), 'vision', or 'any'.
    zdr: Require zero-data-retention providers (optional).
    eu_sovereign: Require EU-sovereign providers (optional).
    reasoning: Filter reasoning models (null = any, true/false).
    limit: Max recommendations (1-20, default 5).
Returns: ranked recommendations with endpoint_config and ranking evidence.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zdrNo
limitNo
modalityNotext
reasoningNo
context_minNo
eu_sovereignNo
budget_max_usd_per_mNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the transparency burden. It reveals a distinct ranking methodology ('ranked by Cost/IQ'), output specifics ('plain-English why', 'hot-swap endpoint_config', 'as-of timestamps', 'runner-ups'), and filter semantics (e.g., reasoning filter, modality default). It falls short of full transparency by not describing limits/pagination, error behavior, or edge cases like no-matches.

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 description is compact, front-loads the core answer role, and then packs the remaining behavior into a tight list. The phrase 'ranked with receipts' is colorful but not wasteful. It earns its length because it conveys ranking logic and output fields that are not otherwise available.

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?

The tool has 7 optional parameters and no annotations, and this description explains their meaning and covers the output shape ('returns ranked recommendations with endpoint_config and ranking evidence'). It doesn't fully document ranking-definition for Cost/IQ or the exact endpoint_config structure, but the output schema plus this description make the tool sufficiently clear for an agent to invoke and interpret results correctly.

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 description coverage is 0%, so the description must compensate. It explains the meaning of budget_max_usd_per_m ('Max blended price $/M'), context_min ('Minimum context window in tokens'), modality enum ('text' default, 'vision', or 'any'), zdr ('Require zero-data-retention providers'), eu_sovereign ('Require EU-sovereign providers'), reasoning ('Filter reasoning models (null = any, true/false)'), and limit ('Max recommendations (1-20, default 5)'). That is nearly full semantic coverage; it could also mention lower-is-better for Cost/IQ in the params, but overall strong.

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 states a specific verb ('Recommend'), a clear resource ('best-value AI models for given constraints'), and a distinctive ranking criterion ('Cost/IQ (quality-adjusted price, lower is better)'). It clearly distinguishes itself from siblings like search_models and explain_model by describing the ranked recommendation output with receipts.

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?

The description explicitly frames this as 'the core answer endpoint' and says to 'give it constraints' to get ranked recommendations. It indicates option defaults like modality 'text' and reasoning filter null, and describes output elements that imply when to use it versus searching/catalog tools. It doesn't name alternatives explicitly but gives enough usage context.

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.

TDQS

A4.4/5.0
Disambiguation4/5

Each tool targets a distinct resource/action, but get_model and compare_providers both surface pricing for a single model, and search_models could overlap with get_model for direct lookups. The descriptions are clear enough to resolve the ambiguity in practice.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern: get_* for details and history, list_* for enumeration, search_* for filtering, and compare_* for cross-provider comparison. No mixed naming conventions or vague verbs.

Tool Count5/5

8 tools is well-scoped for an inference pricing/index analytics server: model detail, model history, provider listing, provider detail, cross-provider comparison, and composite index current/history. Each tool has a clear role and none feel redundant.

Completeness4/5

The read-oriented domain is well covered: models have search/detail/history, providers have list/detail/comparison, and the composite index has current and historical views. Minor gaps such as provider-level price history or direct multi-model side-by-side comparison are not essential and can be worked around with existing tools.