Skip to main content
Glama

Search models

search_models
Read-onlyIdempotent

Find a checkpoint in Mage's model library by name, for the models whose model_id takes any library checkpoint rather than a fixed list (the SDXL and Stable Diffusion v1.5 families): community checkpoints such as DucHaiten or Pony, and the ones the user imported. Use it when the user names a model list_models does not have. Names match loosely ("DuchaitenXL" finds "DucHaitenAIartSDXL"), best first; when several fit, show the user the names and let them choose. Each result has its model_id, the architectures that run it, and, when its creator set one up, recommended: the architecture it was made for and the settings, prompt style (prompt_template), and negative prompt it depends on. Generate with its model_id on that architecture and send the user's own prompt: Mage applies the recommended setup to whatever the config leaves out, so set only what the user asks to change.

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
limitNoHow many to list, best first. Default 10.
queryYesThe model's name, or part of it, as the user wrote it.
architectureNoOnly checkpoints this model runs, for example `stable_diffusion_xl`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial behavior beyond them: loose name matching with a worked example ('DuchaitenXL' → 'DucHaitenAIartSDXL'), best-first ranking, and a disambiguation rule for multiple hits. It also documents the result shape and the non-obvious mechanism that Mage applies recommended settings to anything the config omits.

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?

Purpose and scope are front-loaded, and each sentence carries information. It is dense and drifts into downstream generation instructions ('send the user's own prompt... set only what the user asks to change'), which is useful but sits at the edge of this tool's remit.

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

Completeness5/5

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

There is no output schema, and the description compensates by enumerating the returned fields (`model_id`, `architectures`, `recommended` with `prompt_template` and negative prompt) and their intended use. Combined with the scope restriction and match semantics, an agent has everything needed to call and act on the result.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description still adds meaning: `query` matching is loose and case-tolerant, and `limit` results come back 'best first' with ties surfaced for user selection. The `architecture` filter's role is implied only via the result's `architectures` field rather than stated directly, so it stops short of a 5.

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?

Opens with a specific verb and resource ('Find a checkpoint in Mage's model library by name') and immediately scopes it to the families whose `model_id` accepts arbitrary library checkpoints (SDXL, SD v1.5), naming community examples (DucHaiten, Pony) and user imports. It explicitly distinguishes itself from `list_models` rather than leaving the agent to infer the split.

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?

Gives a concrete trigger — 'Use it when the user names a model list_models does not have' — which names the alternative and the condition that selects this tool. It also prescribes the multi-match workflow ('show the user the names and let them choose') and the downstream follow-up (generate with the returned `model_id` on its architecture).

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