Skip to main content
Glama

search_models

Find the best-matching models and metrics for a plain-language question when you don't know which one answers it. Returns ranked results limited to what you're allowed to see.

Instructions

Search the catalog for models (tables) and metrics relevant to a question.

Returns the best matches you are allowed to see, ranked. Start here when you do not know which metric or model answers the question.

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
limitNoMaximum hits to return.
queryYesWhat you are looking for, in plain words.

Output Schema

NameRequiredDescriptionDefault
hitsYes
catalog_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful traits: results are permission-filtered ('matches you are allowed to see') and ranked by relevance. It omits the read-only safety profile and whether results are paginated beyond the limit parameter, which keeps it below a 5.

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?

Three short sentences, front-loaded with the action and scope, then the return behavior, then the routing hint. No redundant or filler wording.

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?

An output schema exists, so return values need not be explained, and both parameters are fully covered in the schema. The description supplies the discovery-routing context an agent needs. Minor gap: it does not indicate whether the catalog spans workspaces or how to proceed after getting a hit (describe_model / query_metric).

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 both query and limit are already documented in the schema, including defaults and bounds. The description adds no syntax, format, or interpretation guidance for either parameter, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (search) and resource (catalog of models/tables and metrics), and disambiguates 'models' as tables. It does not name a sibling outright, but 'start here when you do not know which metric or model answers' implicitly separates it from query_metric. Clear enough for selection without opening the schema.

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?

Gives an explicit entry condition: use this when you do not yet know which metric or model answers the question. That is real when-to-use guidance. It stops short of stating when NOT to use it (e.g., when you already have a metric name and should call query_metric or describe_model directly).

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