Skip to main content
Glama

Inference Hub

Search models

search_models
Read-onlyIdempotent

Find AI models by name, creator or family (e.g. 'deepseek v3', 'qwen coder', 'flux', 'veo'). Returns each match with its type, context window, number of providers and cheapest live price. Use it first when you're not sure of a model's exact name.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoOnly this model type
limitNoMax results, default 10
queryYesModel name or words from it, e.g. 'llama 3.3 70b'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds real value beyond that by disclosing the return payload shape — type, context window, provider count, cheapest live price — and the 'live price' wording signals data freshness, which is not in any structured field.

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 sentences, no filler. The capability statement comes first and the usage rule second, so an agent can act on the opening clause alone.

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 no output schema, the description usefully summarizes what a match contains and gives example queries that set expectations about matching behavior. Missing only ranking/ordering behavior and whether a miss returns empty vs error, which are minor for a read-only search.

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 all three params including the type enum and limit bounds are documented upstream. The description only clarifies that query accepts partial/word-level matches ('name or words from it'), a small but genuine addition; the type filter and limit are left entirely 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?

States a specific verb+resource ('Find AI models') and enumerates what can be searched on — name, creator, family — with concrete example queries ('deepseek v3', 'qwen coder', 'flux', 'veo'). It also distinguishes itself from price/compare siblings by framing itself as the name-agnostic discovery entry point.

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?

Explicitly gives a when-to-use rule: 'Use it first when you're not sure of a model's exact name.' That establishes it as the lookup-first tool, but it names no alternative (e.g. get_model_prices or get_provider) for the case where the model name is already known.

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