Skip to main content
Glama

search_models

Search the model catalog. Returns ids, modality, tasks, pricing and links. Use before calling run_model or submit_job to pick a model id.

Input Schema

NameRequiredDescriptionDefault
qNoFree-text query over id, name, vendor and tags
taskNotext-to-image | image-to-image | text-to-video | image-to-video
modalityNoimage or video
availableNoOnly models live on the gateway

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?

No annotations are provided, so the description carries the full burden: it establishes the operation as a read-only search and, unusually, discloses the returned fields even though no output schema exists. It does not mention result caps, pagination, or how many matches are returned, which is the main residual gap 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences with no filler; the capability statement is front-loaded and the usage rule follows immediately. Every clause earns its place.

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 and no annotations, the description does the essential work: it names what comes back and where the tool fits in the workflow. Only minor operational details (result limits, whether filters intersect) are missing for a zero-required-parameter search tool.

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% with per-field descriptions and one enum, so the parameters are already well documented structurally. The description adds no extra meaning about how q/task/modality/available combine or whether filters are ANDed, leaving it at the baseline for full schema coverage.

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 and resource ("Search the model catalog") and immediately enumerates what the results contain (ids, modality, tasks, pricing, links). This makes it distinguishable from siblings like get_model_schema or get_pricing, which return detail rather than a searchable list.

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 says "Use before calling run_model or submit_job to pick a model id," giving a clear ordering/selection rule and naming the two downstream tools. It lacks an exclusion clause (e.g., "don't use this to fetch a full parameter schema — use get_model_schema"), so an agent could still confuse it with the schema/pricing siblings.

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