Skip to main content
Glama

Search models

models_search
Read-onlyIdempotent

Find AIMLAPI models whose id, aliases, name, description or tags contain a keyword (case-insensitive substring), optionally narrowed by the same filters as models_list. Use it when you know part of a name or a keyword, e.g. "flux", "whisper" or "claude"; to browse without a keyword use models_list, and for a need described in plain words ("a cheap model that reads invoices") use jev_model_search. Free. Returns the same fields and pagination as models_list.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum models to return (default 50, max 200).
queryYesText to find in the model id, aliases, name, description or tags (case-insensitive). The whole query is matched as one substring, so use one keyword, e.g. "flux" or "whisper".
cursorNoPagination cursor from a previous response's `next_cursor`.
modalityNoOnly models of this kind: text (LLMs), image, video, audio, embedding, ocr or other (derived from the model tags).
max_priceNoMaximum comparable USD price for the model's headline unit, normalized to 1,000,000 units (per 1M tokens for LLMs, per 1M seconds for video, etc.). A model priced per request option (resolution, duration, audio) matches when its cheapest option does. Most meaningful paired with a `modality` filter; models priced on request are excluded.
min_contextNoMinimum context window, in tokens.
capabilitiesNoRequired capabilities — ALL must be present. Curated vocabulary, e.g. `tools`, `streaming`, `vision`, `reasoning`, `structured_output`, `web_search`, `audio`, `file_input`, `image_to_video`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's main added value is "Free" and "Returns the same fields and pagination as models_list", which is useful since no output schema exists. It stops short of describing result ordering or relevance ranking, which would matter for a substring search.

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?

One dense, front-loaded paragraph with no filler; purpose, examples, alternatives and return parity each earn their place. The middle clause is long enough that splitting filter inheritance into its own short sentence would improve scanability.

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 seven parameters at full schema coverage and no output schema, the definition covers what an agent needs to call it correctly, including free-tier cost and pagination parity. The return-shape claim is delegated to models_list rather than restated, which is acceptable but leaves a small dependency.

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 the schema already documents every parameter, including the whole-query-as-one-substring constraint and the max_price normalization. The description only adds a cross-reference that filters behave like models_list, which is helpful navigation but not new per-parameter meaning.

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 opens with a specific verb and resource: find AIMLAPI models matching a keyword across id, aliases, name, description or tags, with the matching rule (case-insensitive substring) stated inline. It distinguishes itself from models_list and jev_model_search by name and by the condition that selects each.

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?

Explicit use case is given ("when you know part of a name or a keyword") with concrete examples (flux, whisper, claude), plus the two exclusion paths: browse without keyword -> models_list, plain-language need -> jev_model_search. Nothing is left to inference.

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