Skip to main content
Glama

search_models

Search OpenRouter's 300+ models by name, provider, capabilities, price, or free status to find the right model for council queries, debates, or other multi-model workflows.

Instructions

Search OpenRouter's 300+ models by name, provider, or capabilities. Use this to find specific models for council_query, debate, or other tools.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default: 10)
queryNoSearch term (model name or provider like 'sonnet', 'claude', 'llama', 'deepseek')
freeOnlyNoOnly show free models
maxPriceNoMax price per 1M tokens in dollars
providerNoFilter by provider (e.g., 'anthropic', 'openai', 'meta-llama', 'deepseek')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full disclosure burden. It implies a read-only catalog search and notes the size of the corpus, but says nothing about result ordering, whether results are paged, or what a result entry contains. For a simple lookup tool this is adequate but thin.

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

Conciseness5/5

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

Two short sentences with zero filler: purpose first, intended use second. Nothing is repeated from the schema and no sentence is wasted.

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 five-parameter, all-optional search tool with fully described schema fields and no output schema, the description covers what the tool is and where it is used. The main shortfall is the absent comparison to list_default_models, which would help an agent choose between the two listing tools.

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 coverage is 100%, so all five optional parameters are already documented with examples in the schema. The description's phrase 'by name, provider, or capabilities' loosely mirrors the parameters and adds only marginal meaning beyond them — the correct baseline when the schema does the heavy lifting.

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 gives a specific verb and resource — searching OpenRouter's model catalog by name, provider, or capabilities — and quantifies the corpus ('300+ models'). It does not explicitly distinguish itself from the sibling list_default_models, and the 'capabilities' search dimension is only loosely reflected in the schema (freeOnly/maxPrice), but the core purpose 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 Guidelines3/5

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

It states a downstream use case ('find specific models for council_query, debate, or other tools'), which tells an agent where this fits in a workflow. However, it gives no guidance on when to prefer this over list_default_models or list_providers, and no exclusions or preconditions are stated.

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