Skip to main content
Glama

recommend_models

Recommends OpenRouter models based on live benchmarks so you can choose a cost-effective, capable model ID before running a subagent.

Instructions

[EN] Fetches the most cost-effective and capable models from OpenRouter based on live benchmarks. USE THIS TOOL BEFORE calling run_subagent if you are unsure which model ID to use or want to optimize for cost/quality. include_free=True also admits ':free' variants (non-ZDR — prompts may be logged/trained on); they require allow_non_zdr or the openrouter-free provider to actually run.

[PL] Pobiera rekomendacje modeli z OpenRouter na podstawie benchmarków. Użyj tego narzędzia ZANIM wywołasz run_subagent, jeśli nie znasz dokładnego ID modelu. include_free=True dopuszcza warianty ':free' (non-ZDR — prompty mogą być logowane/trenowane); do uruchomienia wymagają allow_non_zdr albo providera openrouter-free.

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

Input Schema

NameRequiredDescriptionDefault
tierNoauto
limitNo
recipeNo
profileNo
providerNo
task_typeNocoding
include_freeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.1.2
    • addedInput schema / properties / profile
      Added value: +{
      +  "default": "",
      +  "title": "Profile",
      +  "type": "string"
      +}
    • addedInput schema / properties / provider
      Added value: +{
      +  "default": "",
      +  "title": "Provider",
      +  "type": "string"
      +}
    • addedInput schema / properties / recipe
      Added value: +{
      +  "default": "",
      +  "title": "Recipe",
      +  "type": "string"
      +}
    • addedInput schema / properties / tier
      Added value: +{
      +  "default": "auto",
      +  "title": "Tier",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv1.0.1
    • addedInput schema / properties / include_free
      Added value: +{
      +  "default": false,
      +  "title": "Include Free",
      +  "type": "boolean"
      +}
  3. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden alone. It does valuable work disclosing that include_free admits ':free' variants which are non-ZDR (prompts may be logged/trained on) and require allow_non_zdr or the openrouter-free provider to actually run — a real behavioral constraint most definitions omit. But it says nothing about whether this is a read-only lookup, whether it requires OpenRouter credentials, latency, rate limits, or whether the call itself has cost implications.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The English text is front-loaded and dense, and the include_free caveat earns its place. The full Polish translation duplicates both sentences for no informational gain, roughly doubling length and diluting the actionable guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and the sequencing guidance relative to run_subagent is a strong addition. However, for a 7-parameter tool with zero schema coverage, the description leaves too much undefined — the semantics of tier, recipe, profile, and provider are critical to getting a useful recommendation yet are entirely absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 7 parameters, and the description only explains one of them (include_free) with its ZDR/runtime implications. tier, limit, recipe, profile, provider, and task_type — including the defaulted task_type='coding' — are never explained anywhere, leaving the agent to guess at valid values and effects.

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?

The description names a specific verb and resource ('Fetches the most cost-effective and capable models from OpenRouter based on live benchmarks') and implicitly distinguishes itself from the sibling run_subagent by positioning itself as the model-ID lookup step. It never explicitly says 'this is not a model runner', but the intent is unambiguous.

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 gives an explicit trigger: 'USE THIS TOOL BEFORE calling `run_subagent` if you are unsure which model ID to use or want to optimize for cost/quality.' That is a clear when-to-use with a named alternative. It stops short of a when-not clause (e.g. when a known model ID makes this call unnecessary), so it is not a full 5.

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