Skip to main content
Glama

search_civitai_models

Search CivitAI for models by keyword, type, and base model. Get model and version IDs to download and use with trigger words.

Instructions

Search CivitAI by keyword for checkpoints, LoRAs, embeddings, VAEs, and ControlNets — THE tool for 'find me a LoRA on Civitai'. Read-only and network-only (public CivitAI REST API; no token or running ComfyUI required; CIVITAI_API_TOKEN unlocks gated results). Filter by types (LORA, Checkpoint, TextualInversion, VAE, Controlnet, …) and base_models (CivitAI labels: 'Flux.1 D', 'SDXL 1.0', 'SD 1.5', 'Pony', 'Illustrious', 'Wan Video') — ALWAYS pass base_models when the user's checkpoint family is known, so results actually fit their setup. Each hit returns the model_id and version_id that download_civitai_model takes directly, plus trigger words to use in the prompt after installing. Flow: search_civitai_models → pick a hit → download_civitai_model {model_version_id, target_subfolder} → wire/prompt with the trained words. Pass creator (exact username, e.g. from search_civitai_creators) to list ONE creator's models — with or without a query. SFW-only by default. For HuggingFace search use search_models.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nsfwNoInclude NSFW results (default false).
sortNoRanking (default 'Highest Rated').
limitNoMax results (default 10).
queryNoKeyword search (e.g. 'detail enhancer', 'anime style', a character name). Optional when creator is given (then it narrows that creator's models).
typesNoOnly these model types (e.g. ['LORA']).
creatorNoOnly models by this CivitAI creator (EXACT username — find it with search_civitai_creators). At least one of query/creator is required.
base_modelsNoOnly these base-model families, CivitAI labels: 'Flux.1 D', 'SDXL 1.0', 'SD 1.5', 'Pony', 'Illustrious', 'Wan Video', …
Behavior4/5

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

Discloses read-only and network-only nature, API token unlocking gated results, and SFW-only default. Describes return fields (model_id, version_id, trigger words) despite no output schema. Lacks mention of pagination or rate limits, but overall transparent for a search tool.

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?

Description is somewhat verbose but well-structured: starts with purpose, then usage guidelines, parameter details, and flow. Each sentence contributes meaning, though could be tightened slightly.

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?

Given absence of output schema, description explains return values (model_id, version_id, trigger words) and the complete search-to-wire flow. Covers all 7 parameters with actionable advice, and mentions necessary API token. Very thorough.

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

Parameters5/5

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

Even with 100% schema coverage, description adds significant value: example values for query, exact labels for base_models, enumeration of model types, clarification that creator requires exact username and can be found via sibling tool, and defaults for sort and limit. This enriches understanding beyond 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?

Description begins with 'Search CivitAI by keyword for checkpoints, LoRAs, embeddings, VAEs, and ControlNets', clearly stating the verb, resource, and scope. It explicitly distinguishes from sibling 'search_models' for HuggingFace, making the purpose unambiguous.

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?

Provides explicit when-to-use ('THE tool for find me a <base model> LoRA on Civitai'), when-not-to-use ('For HuggingFace search use search_models'), and usage tips (always pass base_models when checkpoint known, use search_civitai_creators for exact username). Gives a complete flow: search -> download -> wire.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/artokun/comfyui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server