Skip to main content
Glama

Find an LLM

find_model
Read-onlyIdempotent

Search the LLM catalog by name (e.g. "deepseek v3", "gpt-oss", "llama 70b"). Returns model slugs to pass to cheapest_model_route / gpus_needed_for_model, most widely offered first. limit: 1-10.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows to return, 1-10; values outside the range are clamped.
queryYesPart of a model name; words can be in any order (e.g. "deepseek v3", "llama 70b").

Output Schema

NameRequiredDescriptionDefault
queryYesThe search text as given.
modelsYesMatches, exact match first, then most widely offered.
attributionYesData source credit.
total_matchesYesAll matches before the limit was applied.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Maximum rows to return, 1-10; values outside the range are clamped."
    • addedInput schema / properties / query / description
      Added value: +"Part of a model name; words can be in any order (e.g. \"deepseek v3\", \"llama 70b\")."
    • addedInput schema / properties / query / examples
      Added value: +[
      +  "deepseek v3",
      +  "gpt-oss"
      +]
    • addedOutput schema / $defs
      Added value: +{
      +  "ModelMatch": {
      +    "properties": {
      +      "model": {
      +        "description": "Model slug to pass to cheapest_model_route or gpus_needed_for_model.",
      +        "title": "Model",
      +        "type": "string"
      +      },
      +      "name": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Display name as a provider lists it.",
      +        "title": "Name"
      +      },
      +      "provider_count": {
      +        "description": "Providers serving this model.",
      +        "title": "Provider Count",
      +        "type": "integer"
      +      },
      +      "source_url": {
      +        "description": "Matching cheap-gpus.com page for this result.",
      +        "title": "Source Url",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "model",
      +      "name",
      +      "provider_count",
      +      "source_url"
      +    ],
      +    "title": "ModelMatch",
      +    "type": "object"
      +  }
      +}
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / properties
      Added value: +{
      +  "attribution": {
      +    "description": "Data source credit.",
      +    "title": "Attribution",
      +    "type": "string"
      +  },
      +  "models": {
      +    "description": "Matches, exact match first, then most widely offered.",
      +    "items": {
      +      "$ref": "#/$defs/ModelMatch"
      +    },
      +    "title": "Models",
      +    "type": "array"
      +  },
      +  "query": {
      +    "description": "The search text as given.",
      +    "title": "Query",
      +    "type": "string"
      +  },
      +  "total_matches": {
      +    "description": "All matches before the limit was applied.",
      +    "title": "Total Matches",
      +    "type": "integer"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "query",
      +  "models",
      +  "total_matches",
      +  "attribution"
      +]
    • changedOutput schema / title
      Previous value: -"find_modelDictOutput"New value: +"ModelMatches"
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: results are ordered "most widely offered first" and returned as model slugs. It says nothing about empty-result behavior or matching looseness beyond word order, so with the annotation bar already met this is a modest addition.

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 sentences, front-loaded with the action and immediately followed by the payoff and the routing target. Nothing superfluous, and the limit note sits last where it belongs as a constraint.

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 an output schema present, the description needn't explain return values, yet it still notes the ordering and slug shape, and it links the tool to its two consumers. The only gap is the unstated empty/miss result path for a search tool, which is minor given the schema.

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 both parameters are already documented, including the 1-10 range, the clamping behavior, and the word-order-insensitive matching. The description's "limit: 1-10" and re-listing of query examples restate the schema rather than adding constraints such as what happens with zero matches. Baseline 3 applies.

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 LLM catalog by name") and anchors it with concrete query examples ("deepseek v3", "gpt-oss", "llama 70b"). It also names what the tool produces (model slugs), which distinguishes it from the sibling route/pricing tools that consume those slugs.

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 tells the agent the downstream purpose: the slugs are meant to be passed to cheapest_model_route or gpus_needed_for_model, which is real when-to-use guidance. It stops short of stating when not to use it (e.g. exact-slug lookups or non-name filters), so it falls just short of the top band.

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