Skip to main content
Glama

Find models

find_models
Read-onlyIdempotent

Search and filter LLM models by capabilities, price limits, context window, provider, or name, then sort results by price or size to compare options.

Instructions

Search models by capability, price, context window, provider or name, sorted by price or size. Example: requires ["vision","tools"], max_input_price 1, currency "USD", sort_by "output_price". Prices compared are each model's main price (standard tier, default region, lowest context band) per 1M tokens, converted to currency when needed.

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

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 20.
orderNoDefault asc for prices and name, desc for sizes.
queryNoText that must appear in the model key, name or an alias.
statusNoModel statuses to include. Default active and preview.
sort_byNoDefault input_price.
currencyNoCurrency for price filters, sorting and the extra price columns. Default USD.
providerNoProvider id, e.g. "google".
requiresNoCapabilities the model must have: tools, vision, reasoning, prompt_caching.
min_max_outputNoSmallest acceptable maximum output in tokens.
max_input_priceNoHighest input price per 1M tokens, in `currency`.
max_output_priceNoHighest output price per 1M tokens, in `currency`.
min_context_windowNoSmallest acceptable context window in tokens.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish this as a safe, idempotent, open-world read, so the bar is lower. The description still adds substantive behavioral context absent from structured fields: prices compared are each model's main price (standard tier, default region, lowest context band) per 1M tokens, converted into the requested currency — a normalization rule an agent could not infer otherwise.

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 tight sentences: the capability summary is front-loaded, the example demonstrates real parameter usage, and the final sentence clarifies the one genuinely ambiguous concept (price comparison basis). No filler or restatement of the tool name.

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 covers the filter taxonomy and the trickiest semantics (price normalization and currency conversion) adequately. It does not describe the returned model objects or the extra price columns it references, which is a minor gap given no output schema exists to cover that.

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 every parameter is already documented in the schema, establishing a baseline of 3. The description does add meaning beyond the schema for the price filters by explaining which price tier/region/band is used and how currency conversion applies, but it adds nothing about limit, order, status, or the meaning of "size" in the sorting clause.

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 opens with a specific verb and resource ("Search models") and enumerates the filterable dimensions — capability, price, context window, provider, name — plus sort options, so an agent knows exactly what the tool retrieves. It stops short of naming sibling tools such as get_model_price or compare_models to delineate scope, which keeps it at a 4 rather than a 5.

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?

Usage is implied by the filter list and reinforced with a concrete example call (requires ["vision","tools"], max_input_price 1, currency "USD", sort_by "output_price"). However, there is no explicit statement of when to prefer this over compare_models or get_model_price, or when not to use it.

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